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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
call fcn.0047efb0
mov esi, dword [ebp + 8]
test esi, esi
je 0x47ec98
cmp word [esi], 0
je 0x47ec98
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47ec98
mov eax, dword [0x4f6eb4]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push esi
call fcn.00443300
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47eb9b
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x4f6100]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x47ebf4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47ebf4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
push eax
call fcn.004d9644
add esp, 4
mov eax, ebx
jmp 0x47ec9a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 8]
lea edi, [eax + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
test esi, esi
jne 0x47ebfb
mov edx, dword [0x4f6100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x47ebf4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47ebf4
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d9644
add esp, 4
mov eax, ebx
jmp 0x47ec9a
test eax, eax
mov dword [ebp + 8], eax
jne 0x47ec06
xor edi, edi
jmp 0x47ec38
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004d9670
mov eax, dword [ebp + 8]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push esi
call fcn.004707c0
push 1
push 8
push str.SWITCH_
push eax
push esi
push esi
call fcn.00415ef0
push esi
push 0x5ebc28
call fcn.00481e50
push esi
call fcn.004d9644
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4f6100]
add esp, 0x2c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x47ec91
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47ec91
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d9644
add esp, 4
mov eax, 1
jmp 0x47ec9a
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x480360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4de8d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ebx
mov dword [ebx], 0x4e6f70
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
lea esi, [ebx + 0x24]
push ecx
push eax
push eax
mov dword [esp + 0x34], 4
call fcn.0048e240
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.00465fd0
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
lea edi, [ebx + 0x34]
push ecx
push eax
push eax
call fcn.0048e240
add esp, 0xc
mov ebp, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebp
call fcn.00465fd0
lea ecx, [ebx + 0x44]
mov dword [edi + 8], ebp
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.00449070
mov ecx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x5c]
lea ebp, [ebx + 0x54]
push ecx
push eax
push eax
call fcn.0048e240
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x14], eax
push ecx
push eax
mov ecx, ebp
call fcn.00465fd0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [ebp + 8], eax
lea eax, [ebx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x48045a
mov edx, dword [eax + 8]
sub edx, ecx
mov ecx, dword [esp + 0x14]
sar edx, 2
cmp ecx, edx
jae 0x48045a
mov edx, dword [ebx + 8]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x480454
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
mov eax, dword [esp + 0x10]
inc dword [esp + 0x14]
jmp 0x480428
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push ecx
call fcn.0048e240
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov ebx, eax
mov eax, dword [ecx + 8]
push eax
push ebx
call fcn.00465fd0
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], ebx
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x18], eax
call fcn.004d9644
xor ebx, ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x20], eax
call fcn.004d9644
add esp, 8
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.00465fd0
mov eax, dword [edi + 4]
push eax
call fcn.004d9644
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.00465fd0
mov eax, dword [esi + 4]
push eax
call fcn.004d9644
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x28], 0xffffffff
call fcn.00406050
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x482170
Capabilities:
Move file
Read file on windows

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov esi, dword [esp + 0x224]
xor ebp, ebp
push edi
push ebp
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call fcn.00432970
add esp, 8
test eax, eax
jne 0x4821f2
mov ecx, 0x81
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bp
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._s.tmp
lea eax, [esp + 0x20]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x28]
push ebp
push ecx
call fcn.00432970
add esp, 0x18
test eax, eax
je 0x4821f2
lea edx, [esp + 0x18]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [esp + 0x22c]
cmp ebx, 2
jne 0x4821f9
mov ebx, 1
jmp 0x4821f9
mov ebx, dword [esp + 0x22c]
push 0x214
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x10], edi
jne 0x482221
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret
mov ecx, 0x85
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
mov dword [eax + 0x208], ebx
call edi
add esp, 4
cmp eax, 0x103
jbe 0x48224e
mov eax, 0x103
jmp 0x482254
push esi
call edi
add esp, 4
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [edx + 0x208], 2
jne 0x482294
push 0x5043a4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x22c]
add esp, 8
mov dword [eax], ecx
jmp 0x482352
push 0x504384
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x4822b3
mov dword [esp + 0x14], 1
jmp 0x482329
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebx
mov ebp, eax
call esi
add esp, 0x1c
test ebp, ebp
jle 0x482343
lea edi, [ebp + 2]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x482327
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
push ebp
push esi
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.00481e50
mov edi, eax
push esi
mov dword [esp + 0x30], edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x1c
test edi, edi
je 0x482343
xor ebp, ebp
cmp dword [esp + 0x10], ebp
je 0x482352
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.00482370
add esp, 8
mov dword [esp + 0x10], ebp
jmp 0x482352
mov edx, dword [esp + 0x224]
mov eax, dword [esp + 0x10]
xor ebp, ebp
mov dword [edx], eax
cmp ebx, ebp
je 0x482360
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
Function at 0x482ac0
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
test esi, esi
jne 0x482ae0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
mov dword [esp + 0xc], ebx
je 0x482afe
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x224]
push esi
test eax, eax
je 0x482b3a
push str._s.tmp
lea eax, [esp + 0x1c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x482b5e
push 0x4f6170
lea ecx, [esp + 0x1c]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x14]
push 0x5043a4
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x482b81
pop edi
pop esi
pop ebx
add esp, 0x210
ret
push ebp
push edi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
mov dword [esp + 0x24], 0xfeff
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ebp, dword [esi + 0x20c]
add esp, 0x10
test ebp, ebp
je 0x482bea
mov ebx, dword [sym.imp.MSVCRT.dll_fwprintf]
mov ecx, dword [ebp]
push ecx
push str._r_n_s_r_n
push edi
call ebx
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x482bd8
mov edx, dword [esi]
push edx
push 0x504614
push edi
call ebx
mov esi, dword [esi + 4]
add esp, 0xc
test esi, esi
jne 0x482bc3
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x482bad
mov esi, dword [esp + 0x224]
mov ebx, dword [esp + 0x10]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x22c]
add esp, 4
test eax, eax
pop ebp
je 0x482c21
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea eax, [esp + 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret
Function at 0x483500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4de9e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi], 0x4e7014
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x24]
push eax
mov dword [esp + 0x30], 1
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0044ca00
mov eax, dword [esi + 4]
push eax
call fcn.004d9644
mov ebp, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
xor ebx, ebx
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x10]
xor esi, esi
call ebp
mov eax, dword [0x5e9ae0]
dec eax
mov dword [0x5e9ae0], eax
jne 0x483581
mov esi, dword [0x5e9adc]
mov dword [0x5e9adc], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x483598
push esi
call fcn.004d9644
add esp, 4
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x14]
push eax
mov byte [esp + 0x30], bl
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0044cda0
mov eax, dword [esi + 4]
push eax
call fcn.004d9644
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x10]
xor esi, esi
call ebp
mov eax, dword [0x5e9ad8]
dec eax
mov dword [0x5e9ad8], eax
jne 0x4835e5
mov esi, dword [0x5e9ad4]
mov dword [0x5e9ad4], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x4835fc
push esi
call fcn.004d9644
add esp, 4
mov ecx, dword [edi + 0x10]
lea esi, [edi + 4]
cmp ecx, ebx
mov dword [esp + 0x2c], 0xffffffff
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
je 0x483650
mov ecx, eax
cmp eax, ecx
jne 0x483650
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.0044dd60
mov eax, dword [esi + 4]
mov ecx, dword [0x5e9adc]
lea edx, [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebx
push edx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [eax + 8], eax
call fcn.0044d590
jmp 0x483678
cmp eax, edi
je 0x483678
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.0044c540
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0044d8d0
cmp dword [esp + 0x10], edi
jne 0x483654
mov eax, dword [esi + 4]
push eax
call fcn.004d9644
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x14]
xor esi, esi
call ebp
mov eax, dword [0x5e9ae0]
dec eax
mov dword [0x5e9ae0], eax
jne 0x4836ab
mov esi, dword [0x5e9adc]
mov dword [0x5e9adc], ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x4836c2
push esi
call fcn.004d9644
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x484310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
and ecx, 0xffff
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x484362
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x484362
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x484356
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
pop ebp
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x484370
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.00484310
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x484395
pop edi
ret
mov ecx, dword [esp + 0xc]
push esi
push 0x5043a4
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x4843c8
mov edx, dword [esp + 0x18]
push esi
push 1
push edx
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop esi
mov eax, 1
pop edi
ret

Function at 0x484770
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
cmp eax, 0x104
push esi
ja 0x48487a
je 0x4847cd
sub eax, 0x100
je 0x4847cd
sub eax, 2
jne case.0x4847e7.12
mov eax, dword [esp + 0x18]
cmp eax, 0xd
jne 0x4847b1
mov eax, dword [esp + 0x20]
pop esi
mov dword [eax], 1
xor eax, eax
add esp, 8
ret 0x14
cmp eax, 9
jne case.0x4847e7.12
mov ecx, dword [esp + 0x20]
xor eax, eax
pop esi
mov dword [ecx], 1
add esp, 8
ret 0x14
mov esi, dword [esp + 0x18]
lea eax, [esi - 9]
cmp eax, 0xb2
ja case.0x4847e7.12
xor edx, edx
mov dl, byte [eax + 0x4848cc]
jmp dword [edx*4 + 0x4848bc]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x4847e7.12
mov eax, dword [esp + 0x20]
pop esi
mov dword [eax], 1
xor eax, eax
add esp, 8
ret 0x14
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x4847e7.12
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00484980
mov edx, dword [esp + 0x24]
add esp, 4
xor eax, eax
mov dword [edx], 1
pop esi
add esp, 8
ret 0x14
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne case.0x4847e7.12
mov eax, dword [esp + 0x10]
push eax
push esi
push 0x4401
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
add esp, 8
ret 0x14
cmp eax, 0x205
jne case.0x4847e7.12
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je case.0x4847e7.12
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 0x437
push ecx
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
add esp, 8
ret 0x14
Function at 0x484e00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dea43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d7b60
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.004ccba0
push ebp
lea ecx, [esi + 0x1108]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x28], 0x4e1b80
call fcn.004b70a0
mov eax, 3
mov dword [edi], 0x4e703c
mov dword [esi + 0xb4], eax
mov dword [esi + 0x94], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x4e7028
mov dword [esi + 0x28], 0x4e7018
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x80], ebp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], 0xa8a8a8
mov dword [esi + 0x84], ebp
mov dword [esi + 0xac], 5
mov dword [esi + 0xb0], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x74], 0x12
mov dword [esi + 0x1100], ebp
mov dword [esi + 0x1104], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x78], 1
mov dword [esi + 0x60], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0xb8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4dea43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d7b60
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.004ccba0
push ebp
lea ecx, [esi + 0x1108]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x28], 0x4e1b80
call fcn.004b70a0
mov eax, 3
mov dword [edi], 0x4e703c
mov dword [esi + 0xb4], eax
mov dword [esi + 0x94], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x4e7028
mov dword [esi + 0x28], 0x4e7018
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x80], ebp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], 0xa8a8a8
mov dword [esi + 0x84], ebp
mov dword [esi + 0xac], 5
mov dword [esi + 0xb0], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x74], 0x12
mov dword [esi + 0x1100], ebp
mov dword [esi + 0x1104], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x78], 1
mov dword [esi + 0x60], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0xb8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4858e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x218
push esi
mov esi, ecx
cmp word [esi + 0x30], 0
je 0x485969
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x485969
mov edx, dword [esi + 0x6c]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x103
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x18], 0
pop edi
push 1
jne 0x48594a
mov eax, dword [esi + 4]
push 0
push eax
call fcn.004d7ff0
add esp, 0xc
pop esi
add esp, 0x218
ret
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00484fc0
mov eax, dword [esi + 4]
lea edx, [esp + 4]
push 1
push edx
push eax
call fcn.004d7ff0
add esp, 0xc
pop esi
add esp, 0x218
ret
Function at 0x485b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x26c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x1104]
xor esi, esi
cmp eax, esi
push edi
je 0x485b70
push eax
mov ecx, 0x5f2060
call fcn.004bcc80
mov eax, dword [ebx + 0x1104]
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [ebx + 0x1100]
cmp eax, esi
je 0x485b87
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [ebx + 0x1100], esi
push esi
push esi
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebx + 0x1100], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 1
mov dword [ebx + 0x1104], eax
call fcn.00486ab0
mov ecx, eax
call fcn.00487190
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
cmp eax, esi
mov dword [esp + 0x10], eax
jle 0x485c6a
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x76]
mov word [esp + 0x74], 0
rep stosd dword es:[edi], eax
push 1
lea ecx, [esp + 0x78]
push 0x103
push ecx
push esi
stosw word es:[edi], ax
call fcn.00486ab0
mov ecx, eax
call fcn.00487120
test eax, eax
je 0x485c6a
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x44]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
lea edi, [esi + 1]
push eax
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x4c], 0x42
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], edx
call ebp
add esp, 4
mov ecx, ebx
mov dword [esp + 0x6c], eax
push esi
call fcn.00485da0
mov edx, dword [ebx + 0x1104]
push 0
push 0
push esi
lea ecx, [esp + 0x50]
push 0
push ecx
push 1
push esi
push edx
mov ecx, 0x5f2060
call fcn.004bce00
mov eax, dword [esp + 0x10]
mov esi, edi
cmp esi, eax
jl 0x485bc7
xor eax, eax
mov ecx, 0xc
push eax
lea edi, [esp + 0x18]
push eax
push esi
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x1104]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x30
push eax
push 1
push esi
push ecx
mov ecx, 0x5f2060
mov dword [esp + 0x38], 0x100
mov dword [esp + 0x3c], 0x800
call fcn.004bce00
push 0x98
call fcn.004843d0
mov edx, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x43
mov dword [esp + 0x2c], 0x1001
mov dword [esp + 0x40], edx
call ebp
mov edx, dword [0x614530]
add esp, 8
neg edx
sbb edx, edx
push 0
mov dword [esp + 0x40], eax
push 0
and edx, 8
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push 0
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0x1104]
push eax
lea ecx, [esi + 1]
push 1
push ecx
push edx
mov ecx, 0x5f2060
call fcn.004bce00
push 0x8c
call fcn.004843d0
mov edx, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x42
mov dword [esp + 0x2c], 0x1000
mov dword [esp + 0x40], edx
call ebp
add esp, 8
mov ecx, dword [ebx + 0x1104]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x14]
push 0
push 0
push 0xffffffffffffffff
push 0
push eax
add esi, 2
push 1
push esi
push ecx
mov ecx, 0x5f2060
call fcn.004bce00
mov ecx, ebx
call fcn.004859e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x26c
ret
Function at 0x486170
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push esi
push edi
mov esi, ecx
push eax
call fcn.00486ab0
mov ecx, eax
call fcn.00486ce0
mov edx, dword [esi + 0x6c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x103
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 8], 0
mov ecx, esi
je 0x4861d2
call fcn.00485270
pop edi
pop esi
add esp, 0x208
ret 4
call fcn.004859a0
pop edi
pop esi
add esp, 0x208
ret 4