joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dcfd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [esp + 0x30]
lea eax, [esp]
push eax
push 0
push ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x47c79f
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp]
test eax, eax
je 0x47c8c9
push ebx
push ebp
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
test ebx, ebx
je 0x47c8bd
mov ecx, dword [esp + 8]
push esi
lea eax, [ebx + 4]
push edi
push eax
push ecx
mov dword [ebx], 0x4e4e7c
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0047c680
mov esi, dword [esp + 0x40]
mov ebp, dword [0x4f4e90]
add esp, 8
mov dword [esp + 0x40], ebp
test esi, esi
je 0x47c84c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x47c84c
lea ecx, [edi + edi + 0xe]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x47c84c
lea ecx, [edi + edi]
mov dword [eax], 1
mov word [eax + edi*2 + 0xc], 0
lea ebp, [eax + 0xc]
mov edx, ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x40], ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
push ebp
mov dword [esp + 0x34], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
cmp esi, edi
je 0x47c887
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x18]
push edi
push eax
push esi
push ecx
call sub.gdiplus.dll_GdipSaveImageToFile
cmp eax, edi
je 0x47c878
mov dword [ebx + 8], eax
mov edi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x47c887
mov dword [esp + 0x14], edi
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov ecx, dword [0x4f40f0]
lea eax, [ebp - 0xc]
pop edi
cmp eax, ecx
mov dword [esp + 0x2c], 0xffffffff
pop esi
je 0x47c8bd
add ebp, 0xfffffff4
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47c8bd
push ebp
call fcn.004d7f79
add esp, 4
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x18]
sete al
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x47e260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dd0d7
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], 0x4e4f08
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.0047ed40
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.00464960
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.0047ed40
add esp, 0xc
mov ebp, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebp
call fcn.00464960
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.00447de0
mov ecx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x5c]
lea ebp, [ebx + 0x54]
push ecx
push eax
push eax
call fcn.0047ed40
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x14], eax
push ecx
push eax
mov ecx, ebp
call fcn.00464960
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 0x47e35a
mov edx, dword [eax + 8]
sub edx, ecx
mov ecx, dword [esp + 0x14]
sar edx, 2
cmp ecx, edx
jae 0x47e35a
mov edx, dword [ebx + 8]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x47e354
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
mov eax, dword [esp + 0x10]
inc dword [esp + 0x14]
jmp 0x47e328
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push ecx
call fcn.0047ed40
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov ebx, eax
mov eax, dword [ecx + 8]
push eax
push ebx
call fcn.00464960
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], ebx
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x18], eax
call fcn.004d7f79
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.004d7f79
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.00464960
mov eax, dword [edi + 4]
push eax
call fcn.004d7f79
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.00464960
mov eax, dword [esi + 4]
push eax
call fcn.004d7f79
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.0047fbf0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x47ffe0
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.00434a60
add esp, 8
test eax, eax
jne 0x480062
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.00434a60
add esp, 0x18
test eax, eax
je 0x480062
lea edx, [esp + 0x18]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [esp + 0x22c]
cmp ebx, 2
jne 0x480069
mov ebx, 1
jmp 0x480069
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 0x480091
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 0x4800be
mov eax, 0x103
jmp 0x4800c4
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 0x480104
push 0x5021c4
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 0x4801c2
push 0x5021a4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x480123
mov dword [esp + 0x14], 1
jmp 0x480199
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 0x4801b3
lea edi, [ebp + 2]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x480197
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.0047fcc0
mov edi, eax
push esi
mov dword [esp + 0x30], edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x1c
test edi, edi
je 0x4801b3
xor ebp, ebp
cmp dword [esp + 0x10], ebp
je 0x4801c2
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.004801e0
add esp, 8
mov dword [esp + 0x10], ebp
jmp 0x4801c2
mov edx, dword [esp + 0x224]
mov eax, dword [esp + 0x10]
xor ebp, ebp
mov dword [edx], eax
cmp ebx, ebp
je 0x4801d0
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 0x480950
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 0x480970
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 0x48098e
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 0x4809ca
push str._s.tmp
lea eax, [esp + 0x1c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x4809ee
push 0x4f5254
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 0x5021c4
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x480a11
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 0x480a7a
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 0x480a68
mov edx, dword [esi]
push edx
push 0x502410
push edi
call ebx
mov esi, dword [esi + 4]
add esp, 0xc
test esi, esi
jne 0x480a53
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x480a3d
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 0x480ab1
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 0x481390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dd1e6
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], 0x4e4fac
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.0044b780
mov eax, dword [esi + 4]
push eax
call fcn.004d7f79
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 [0x5e5254]
dec eax
mov dword [0x5e5254], eax
jne 0x481411
mov esi, dword [0x5117f8]
mov dword [0x5117f8], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x481428
push esi
call fcn.004d7f79
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.0044bb20
mov eax, dword [esi + 4]
push eax
call fcn.004d7f79
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 [0x5e5250]
dec eax
mov dword [0x5e5250], eax
jne 0x481475
mov esi, dword [0x5e524c]
mov dword [0x5e524c], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x48148c
push esi
call fcn.004d7f79
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 0x4814e0
mov ecx, eax
cmp eax, ecx
jne 0x4814e0
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.0044cae0
mov eax, dword [esi + 4]
mov ecx, dword [0x5117f8]
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.0044c310
jmp 0x481508
cmp eax, edi
je 0x481508
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.0044b2c0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0044c650
cmp dword [esp + 0x10], edi
jne 0x4814e4
mov eax, dword [esi + 4]
push eax
call fcn.004d7f79
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 [0x5e5254]
dec eax
mov dword [0x5e5254], eax
jne 0x48153b
mov esi, dword [0x5117f8]
mov dword [0x5117f8], ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x481552
push esi
call fcn.004d7f79
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 0x482f70
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 0x482fc2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x482fc2
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x482fb6
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 0x482fd0
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.00482f70
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x482ff5
pop edi
ret
mov ecx, dword [esp + 0xc]
push esi
push 0x5021c4
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x483028
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 0x4833d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
cmp eax, 0x104
push esi
ja 0x4834da
je 0x48342d
sub eax, 0x100
je 0x48342d
sub eax, 2
jne case.0x483447.12
mov eax, dword [esp + 0x18]
cmp eax, 0xd
jne 0x483411
mov eax, dword [esp + 0x20]
pop esi
mov dword [eax], 1
xor eax, eax
add esp, 8
ret 0x14
cmp eax, 9
jne case.0x483447.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.0x483447.12
xor edx, edx
mov dl, byte [eax + 0x48352c]
jmp dword [edx*4 + 0x48351c]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x483447.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.0x483447.12
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004835e0
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.0x483447.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.0x483447.12
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je case.0x483447.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 0x483a60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dd2a3
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.004d6450
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.004cbad0
push ebp
lea ecx, [esi + 0x1108]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x28], 0x4dfb90
call fcn.004b4e50
mov eax, 3
mov dword [edi], 0x4e4fd4
mov dword [esi + 0xb4], eax
mov dword [esi + 0x94], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x4e4fc0
mov dword [esi + 0x28], 0x4e4fb0
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 0x483a77
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dd2a3
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.004d6450
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.004cbad0
push ebp
lea ecx, [esi + 0x1108]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x28], 0x4dfb90
call fcn.004b4e50
mov eax, 3
mov dword [edi], 0x4e4fd4
mov dword [esi + 0xb4], eax
mov dword [esi + 0x94], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x4e4fc0
mov dword [esi + 0x28], 0x4e4fb0
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 0x484590
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x218
push esi
mov esi, ecx
cmp word [esi + 0x30], 0
je 0x484619
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484619
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 0x4845fa
mov eax, dword [esi + 4]
push 0
push eax
call fcn.004d6900
add esp, 0xc
pop esi
add esp, 0x218
ret
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00483c20
mov eax, dword [esi + 4]
lea edx, [esp + 4]
push 1
push edx
push eax
call fcn.004d6900
add esp, 0xc
pop esi
add esp, 0x218
ret
Function at 0x4847f0
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 0x484820
push eax
mov ecx, 0x5ed770
call fcn.004bbe20
mov eax, dword [ebx + 0x1104]
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [ebx + 0x1100]
cmp eax, esi
je 0x484837
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.004856f0
mov ecx, eax
call fcn.00485dd0
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
cmp eax, esi
mov dword [esp + 0x10], eax
jle 0x48491a
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.004856f0
mov ecx, eax
call fcn.00485d60
test eax, eax
je 0x48491a
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.00484a50
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, 0x5ed770
call fcn.004bbfa0
mov eax, dword [esp + 0x10]
mov esi, edi
cmp esi, eax
jl 0x484877
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, 0x5ed770
mov dword [esp + 0x38], 0x100
mov dword [esp + 0x3c], 0x800
call fcn.004bbfa0
push 0x98
call fcn.00483030
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 [0x610530]
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, 0x5ed770
call fcn.004bbfa0
push 0x8c
call fcn.00483030
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, 0x5ed770
call fcn.004bbfa0
mov ecx, ebx
call fcn.00484690
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x26c
ret
Function at 0x484e20
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.004856f0
mov ecx, eax
call fcn.00485920
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 0x484e82
call fcn.00483ee0
pop edi
pop esi
add esp, 0x208
ret 4
call fcn.00484650
pop edi
pop esi
add esp, 0x208
ret 4