joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4746b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x561fdb
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5c4954]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x29c]
mov ecx, dword [esp + 0x2a8]
mov ebx, dword [esp + 0x2a0]
mov esi, dword [esp + 0x2ac]
mov ebp, dword [esp + 0x2b0]
push 0xffffffffffffffff
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2a8]
push edi
mov dword [esp + 0x20], ecx
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], dx
call fcn.0040dd12
mov eax, dword [esp + 0x30]
mov dword [esp + 0x294], edi
cmp eax, edi
je 0x4747c3
lea edi, [eax - 1]
cmp edi, eax
jbe 0x47475e
call fcn.0052ae71
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], 8
mov ecx, dword [esp + 0x20]
jae 0x47476d
lea ecx, [esp + 0x20]
cmp word [ecx + edi*2], 0x5c
je 0x4747bc
lea edi, [eax - 1]
cmp edi, eax
jbe 0x474784
call fcn.0052ae71
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x34], 8
mov ecx, dword [esp + 0x20]
jae 0x474793
lea ecx, [esp + 0x20]
cmp word [ecx + edi*2], 0x2f
je 0x4747bc
lea edi, [eax - 1]
cmp edi, eax
jbe 0x4747a6
call fcn.0052ae71
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x4747b5
lea eax, [esp + 0x20]
cmp word [eax + edi*2], 0x3a
jne 0x4747c3
mov edx, 0x578c6c
jmp 0x4747c8
mov edx, 0x578c64
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4747d0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00472d00
mov eax, dword [esp + 0x20]
mov edi, 8
cmp dword [esp + 0x34], edi
jae 0x4747fd
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x47485b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], 0
call edi
cmp eax, 2
je 0x474830
call edi
cmp eax, 0x12
je 0x474830
call edi
mov esi, eax
jmp 0x474832
xor esi, esi
call fcn.0048fb70
cmp dword [esp + 0x34], 8
mov edi, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
jb 0x474854
mov edx, dword [esp + 0x20]
push edx
call fcn.00529442
add esp, 4
mov eax, edi
jmp 0x4748e1
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474862
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040fd5c
mov eax, dword [esp + 0x38]
test eax, 0x400
je 0x47489a
mov dword [esi], 0
mov dword [ebp], 0
jmp 0x4748ba
test al, 0x10
je 0x4748ad
mov dword [esi], 3
mov dword [ebp], 3
jmp 0x4748ba
mov dword [esi], 2
mov dword [ebp], 2
mov esi, dword [esp + 0x14]
mov dword [esi], 0
call fcn.0048fb70
mov dword [esi + 4], eax
cmp dword [esp + 0x34], edi
jb 0x4748df
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00529442
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.0052b318
add esp, 0x284
ret
Function at 0x475220
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x562150
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x475278
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x475264
mov dword [esi], 0
call fcn.0048fb70
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x44
ret
cmp eax, 3
je 0x4752f3
cmp eax, 0xb
je 0x4752f3
push str.boost::filesystem::remove
lea ecx, [esp + 0x2c]
call fcn.004022a6
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x58]
push ecx
push eax
push eax
mov dword [esp + 0x5c], 1
call fcn.004740f0
add esp, 4
test al, al
sete dl
movzx eax, dl
push eax
call fcn.00475090
add esp, 0x10
cmp dword [esp + 0x40], 0x10
mov bl, al
jb 0x4752d7
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00529442
add esp, 4
test bl, bl
je 0x475372
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x44
ret
push 0x19
xor esi, esi
push str.boost::filesystem::remove
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], esi
mov byte [esp + 0x18], 0
call fcn.00402c81
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x54]
cmp dword [esi + 0x18], 8
jb 0x475329
mov eax, dword [esi + 4]
jmp 0x47532c
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x5c]
test eax, eax
setne al
lea edx, [esp + 0xc]
push edx
test al, al
sete dl
push ecx
movzx eax, dl
push esi
push eax
call fcn.00475090
add esp, 0x10
cmp dword [esp + 0x24], 0x10
mov bl, al
jb 0x47536a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00529442
add esp, 4
test bl, bl
jne 0x475264
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x44
ret

Function at 0x4754b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x18], 8
push edi
jb 0x4754c1
mov eax, dword [ebx + 4]
jmp 0x4754c4
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4754ea
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.00475390
mov eax, dword [eax]
add esp, 0xc
pop edi
pop ebx
ret
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x475501
mov dword [esi], 0
call fcn.0048fb70
mov dword [esi + 4], eax
pop esi
test edi, 0x400
je 0x475534
push ebx
call fcn.00474120
add esp, 4
test al, al
je 0x47552c
mov edx, edi
and dl, 0x10
movzx eax, dl
neg eax
sbb eax, eax
and eax, 7
pop edi
add eax, 4
pop ebx
ret
pop edi
mov eax, 9
pop ebx
ret
mov eax, edi
and eax, 0x10
or eax, 0x20
pop edi
shr eax, 4
pop ebx
ret
Function at 0x475550
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5621a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x1c
push str.boost::filesystem::copy_file
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00402c81
mov edx, dword [esp + 0x3c]
mov ecx, 8
mov dword [esp + 0x30], 0
cmp dword [edx + 0x18], ecx
jb 0x4755b5
mov esi, dword [edx + 4]
jmp 0x4755b8
lea esi, [edx + 4]
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x18], ecx
jb 0x4755c6
mov ecx, dword [eax + 4]
jmp 0x4755c9
lea ecx, [eax + 4]
lea edi, [esp + 0xc]
push edi
mov edi, dword [esp + 0x48]
push edi
push edx
push eax
xor eax, eax
cmp dword [esp + 0x50], eax
sete al
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
sete cl
movzx edx, cl
push edx
call fcn.00475110
add esp, 0x14
cmp dword [esp + 0x24], 0x10
jb 0x47560c
mov eax, dword [esp + 0x10]
push eax
call fcn.00529442
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4758a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x562240
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x4758d7
mov eax, dword [esi]
jmp 0x4758d9
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47590f
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
push eax
push edi
push esi
call fcn.00475390
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
test ebx, 0x400
je 0x475a0e
cmp dword [edi + 0x18], 8
jb 0x475929
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
jmp 0x47592d
mov dword [esp + 0x40], esi
push 0
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
call fcn.004738f0
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 0
jae 0x475954
lea eax, [esp + 0x14]
push 0
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x40], esi
cmp dword [esp + 0x28], 8
mov byte [esp + 0x34], 2
jb 0x475989
mov eax, dword [esp + 0x14]
push eax
call fcn.00529442
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
cmp esi, 0xffffffff
jne 0x4759cd
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
push edx
push edi
push esi
call fcn.00475390
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
push edi
call fcn.00474120
add esp, 4
mov dword [esp + 0x34], 0xffffffff
push esi
test al, al
jne 0x475a08
mov edi, dword [esp + 0x40]
mov dword [edi], 9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x475a24
mov dword [esi], 0
call fcn.0048fb70
mov dword [esi + 4], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 3
test bl, 0x10
jne 0x475a3d
mov dword [esp + 0x40], 2
mov ecx, dword [eax]
mov eax, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x475a60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x18], 8
jb 0x475a72
mov eax, dword [edi + 4]
jmp 0x475a75
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x475a9c
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push eax
push edi
push esi
call fcn.00475390
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov esi, dword [esp + 0x18]
test esi, esi
je 0x475ab2
mov dword [esi], 0
call fcn.0048fb70
mov dword [esi + 4], eax
test ebx, 0x400
je 0x475ae7
push edi
call fcn.00474120
add esp, 4
test al, al
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
jne 0x475adb
mov dword [esp + 0x14], 9
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
ret
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 3
test bl, 0x10
jne 0x475b00
mov dword [esp + 0x14], 2
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], edx
pop ebx
ret

Function at 0x475e90
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5622c8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x9c]
cmp dword [esi + 0x18], 8
jb 0x475ecb
mov eax, dword [esi + 4]
jmp 0x475ece
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x475efb
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x475ef4
mov dword [esi], 0
call fcn.0048fb70
mov dword [esi + 4], eax
mov al, 1
jmp 0x475f94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.0048fb70
cmp ebx, 0xb7
jne 0x475f43
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.004758a0
add esp, 0xc
cmp dword [eax], 3
jne 0x475f43
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x475f92
mov dword [esi], 0
call fcn.0048fb70
mov dword [esi + 4], eax
jmp 0x475f92
mov edi, dword [esp + 0xa0]
test edi, edi
jne 0x475f88
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x20]
call fcn.004022a6
mov dword [esp + 0x94], edi
call fcn.0048fb70
push eax
push ebx
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x48]
call fcn.00474e30
push 0x5ac6a4
lea eax, [esp + 0x3c]
push eax
call fcn.0052aee6
call fcn.0048fb70
mov dword [edi], ebx
mov dword [edi + 4], eax
xor al, al
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x88
ret
Function at 0x476760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x562408
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c4954]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x4c]
mov esi, ecx
xor ecx, ecx
mov word [esp + 0x10], cx
mov ecx, dword [esp + 0x50]
push edx
push ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call fcn.00474280
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.0043a858
cmp dword [esp + 0x24], 8
jb 0x4767fc
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00529442
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0052b318
add esp, 0x30
ret 0x1c

Function at 0x477520
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
xor eax, eax
cmp ecx, edx
je 0x47754f
push esi
push edi
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [ecx]
lea esi, [esi + edi - 0x61c88647]
inc ecx
xor eax, esi
cmp ecx, edx
jne 0x477530
pop edi
pop esi
ret

Function at 0x47c190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x562678
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040125f
mov dword [esp + 0x18], 0
test edi, edi
je 0x47c1d4
add edi, 0x28
jmp 0x47c1d6
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x47c1ee
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x47cae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x562118
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040120a
mov dword [esp + 0x18], 0
test edi, edi
je 0x47cb24
add edi, 0x28
jmp 0x47cb26
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x47cb3e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x47e250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x562998
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040125f
mov dword [esi], vtable.std::invalid_argument.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x47e29a
add edi, 0x28
jmp 0x47e29c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x47e2b4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], 0x578ee8
mov dword [esi + 0x28], 0x578ee4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x484940
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x562fa3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0049f070
xor ebx, ebx
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0049f070
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 1
call fcn.0049f070
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x48e1e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x563838
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040120a
mov dword [esi], 0x579bc4
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 0
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x48e245
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov dword [esi], 0x579bb0
mov dword [esi + 0x30], 0x579bac
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x48e2e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x563873
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0048e1e0
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esi + 0x44], vtable.boost::exception_detail::clone_base.0
lea eax, [esi + 0x30]
mov byte [esp + 0x18], 1
mov dword [esi], 0x579bbc
mov dword [eax], 0x579bb8
mov dword [esi + 0x44], 0x579bcc
cmp edi, ecx
je 0x48e342
lea ecx, [edi + 0x30]
push ecx
push eax
call fcn.0047a460
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x48f720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x591838
mov dword [esp], eax
mov dword [esp + 4], 0x574d58
mov dword [esp + 8], 0x574d68
mov dword [esp + 0xc], 0x57a018
mov dword [esp + 0x10], 0x57a014
mov dword [esp + 0x14], 0x5741b0
mov dword [esp + 0x18], 0x574030
mov dword [esp + 0x1c], 0x57a010
mov dword [esp + 0x20], 0x5776f0
mov dword [esp + 0x24], str.___:
mov dword [esp + 0x28], 0x591d50
mov dword [esp + 0x2c], 0x571f10
mov dword [esp + 0x30], 0x5720f4
mov dword [esp + 0x34], 0x57a00c
mov dword [esp + 0x38], 0x573e1c
mov dword [esp + 0x3c], 0x591d54
mov dword [esp + 0x40], 0x591d60
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x579d14
mov dword [esp + 0x4c], str.BDMS
mov dword [esp + 0x50], 0x579ffc
mov dword [esp + 0x54], 0x579ff8
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x579ff4
mov dword [esp + 0x64], 0x579ff0
mov dword [esp + 0x68], 0x591acc
mov dword [esp + 0x6c], 0x591d4c
mov dword [esp + 0x70], 0x579d18
mov dword [esp + 0x74], 0x577708
mov dword [esp + 0x78], 0x5741a8
mov dword [esp + 0x7c], 0x573410
mov dword [esp + 0x80], 0x579ce8
mov dword [esp + 0x84], 0x579ce0
mov dword [esp + 0x88], 0x579cd8
mov dword [esp + 0x8c], 0x576204
mov dword [esp + 0x90], 0x591d5c
mov dword [esp + 0x94], 0x5737c8
mov dword [esp + 0x98], 0x591d8c
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x591d88
mov dword [esp + 0xc0], 0x579d9c
mov dword [esp + 0xc4], 0x579d84
mov dword [esp + 0xc8], 0x578198
mov dword [esp + 0xcc], str.ZYXWVUTRQPOLKJIHGFA
mov dword [esp + 0xd0], 0x579dbc
mov dword [esp + 0xd4], 0x579fec
mov dword [esp + 0xd8], 0x579cf0
mov dword [esp + 0xdc], 0x579da0
mov dword [esp + 0xe0], 0x5741ac
mov dword [esp + 0xe4], 0x579fe8
mov dword [esp + 0xe8], 0x579dac
mov dword [esp + 0xec], 0x579d98
cmp cl, 0x3c
jae 0x48f93d
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret
Function at 0x4929b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret

Function at 0x4929f0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, eax
mov dword [edx], 0x12345678
mov dword [edx + 4], 0x23456789
mov dword [edx + 8], 0x34567890
mov cl, byte [esi]
test cl, cl
je 0x492a54
lea ecx, [ecx]
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
mov ecx, dword [edi + ecx*4]
shr eax, 8
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [edi + eax*4]
inc esi
mov dword [edx + 8], ecx
mov cl, byte [esi]
test cl, cl
jne 0x492a10
pop esi
ret