joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58d350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor eax, eax
push edi
mov esi, ecx
cmp dword [ebp + 8], eax
jne 0x58d4a4
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0xc0]
mov edx, dword [eax + 0x20]
lea ecx, [ebp - 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov ebx, dword [esi + 0x80]
mov edi, dword [esi + 0x15c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x160]
push 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x58d405
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x58d3e5
sub eax, ebx
cdq
idiv dword [esi + 0x14c]
mov edi, dword [esi + 0x13c]
inc eax
cmp edi, eax
jl 0x58d3e5
mov edi, eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jl 0x58d405
sub eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x140]
cdq
idiv dword [esi + 0x150]
inc eax
cmp ecx, eax
jl 0x58d408
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0x160]
cmp edi, dword [esi + 0x15c]
jne 0x58d41a
cmp ecx, edx
je 0x58d489
mov edx, dword [esi + 0x144]
mov dword [esi + 0x160], ecx
mov ecx, dword [esi + 0x148]
push 1
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x15c], edi
call fcn.0058c8d0
mov ecx, dword [esi + 0xc0]
mov dword [esi + 0x164], 1
mov eax, dword [ecx]
mov edx, dword [eax + 0x1a0]
call edx
mov ecx, dword [ebp - 4]
mov eax, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [eax + 0x104]
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x164], 0
call eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0055af50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
sub esp, 8
mov eax, esp
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.0058c8d0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0055af50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x58eaa0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x58ead9
cmp dword [esi + 4], 0
jne 0x58eaee
push edi
call fcn.004155c9
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x58e9c0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 4]
test eax, eax
je 0x58eaee
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 4], 0
pop esi
pop ebp
ret 4

Function at 0x5913c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.00590f20
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
test eax, eax
je 0x5913e7
push 5
push edi
lea eax, [ebp - 4]
push eax
call fcn.005911b0
test eax, eax
jne 0x591408
call fcn.004155c9
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
test eax, eax
je 0x59141b
push 5
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call fcn.005911b0
test eax, eax
je 0x59141b
mov edx, dword [ebp - 4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5917b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x5917bf
xor eax, eax
pop ebp
ret 8
push ebx
push esi
push edi
call fcn.00590f20
movzx ebx, word [ebp + 0xc]
push 0x17
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x5917f9
call fcn.004155c9
mov edi, dword [eax + 0xc]
test edi, edi
je 0x591831
push 0x17
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x591831
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x591831
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x591831
mov ecx, dword [ebp + 8]
lea ebx, [edi + 1]
push ebx
call fcn.00401980
mov esi, eax
test esi, esi
jne 0x59183a
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
push ebx
push 0
push esi
call fcn.005036f0
mov eax, dword [ebp + 0xc]
push edi
push eax
push esi
call fcn.005061a0
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
add esp, 0x18
test eax, eax
je 0x59186b
push ecx
push eax
call fcn.0050325c
add esp, 8
test eax, eax
js 0x591889
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x591889
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
xor eax, eax
test edi, edi
pop edi
pop esi
setg al
pop ebx
pop ebp
ret 8
push 0x80070057
call fcn.00401b10
int3
Function at 0x591a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
push edi
call fcn.004017f0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, ebx
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x591a6c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x591a61
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x591a61
mov edx, dword [ebp + 8]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and ebx, 0xf
jbe 0x591aa5
cmp esi, eax
jae 0x591a61
dec ebx
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x591a97
cmp esi, eax
jae 0x591a61
movzx eax, word [esi]
mov dword [ebp + 8], eax
test eax, eax
je 0x591a61
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x591ac2
mov ebx, dword [ecx + 4]
jmp 0x591ac4
xor ebx, ebx
push 0
push 0
push 0
push 0
push eax
lea edi, [esi + 2]
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp + 0x10]
mov esi, eax
push esi
call fcn.0040a3c7
push 0
push 0
push esi
push eax
mov eax, dword [ebp + 8]
push eax
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0040a398
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5928d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
cmp dword [edi + 8], 0
jne 0x5928e8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0x26
je 0x592900
cmp ebx, 0x28
je 0x592900
cmp ebx, 0x22
je 0x592900
cmp ebx, 0x21
jne 0x59290d
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x592917
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
push 1
push eax
call esi
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 8]
push edx
push eax
mov dword [ebp - 0x18], pe_nt_image_headers32
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
neg eax
pop esi
sbb eax, eax
pop ebx
neg eax
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x5929b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 8]
test eax, eax
je 0x5929c0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x593b70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x23c]
push edi
call edx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x144], 0
mov dword [ebp - 4], eax
je 0x593bd2
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x593bc7
mov eax, dword [ebp + 0xc]
cmp eax, 0x26
je 0x593bb8
cmp eax, 0x28
je 0x593bb8
cmp eax, 0x21
je 0x593bb8
cmp eax, 0x22
jne 0x593bc7
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push pe_nt_image_headers32
jmp 0x593c4c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0xc]
cmp edi, 0x73
jne 0x593be9
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x593bc7
jmp 0x593c00
cmp edi, 0x26
je 0x593bf3
cmp edi, 0x28
jne 0x593c00
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x593bc7
mov eax, dword [esi + 0x20]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 0x1c], pe_nt_image_headers32
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov edx, dword [esi + 0x20]
push 1
push 0x102
push 0x102
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x593c53
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push edx
push 0x102
mov ecx, esi
call fcn.0040abe4
mov eax, dword [esi]
mov edx, dword [eax + 0x23c]
mov ecx, esi
call edx
cmp dword [ebp - 4], eax
je 0x593ca4
mov eax, dword [ebx]
mov edx, dword [eax + 0x16c]
mov ecx, ebx
call edx
mov esi, dword [ebx + 0x144]
test esi, esi
je 0x593ca4
cmp dword [esi + 0x20], 0
je 0x593ca4
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5966c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
call edx
test eax, eax
jne 0x5966d6
pop esi
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0x2e
je 0x5966e8
cmp ebx, 8
je 0x5966e8
xor eax, eax
jmp 0x5966ed
mov eax, 1
mov dword [esi + 0x170], eax
mov eax, dword [esi + 0x144]
test eax, eax
je 0x59670e
cmp dword [eax + 0x74], 0
je 0x59670e
pop ebx
mov eax, 2
pop esi
pop ebp
ret 8
cmp ebx, 9
jne 0x59672d
cmp dword [esi + 0x194], 0
je 0x596725
test byte [esi + 0x174], 8
jne 0x596786
pop ebx
xor eax, eax
pop esi
pop ebp
ret 8
cmp ebx, 0xd
je 0x596725
cmp ebx, 0x1b
jne 0x596786
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1a4]
call edx
mov eax, dword [esi + 0x150]
push eax
mov ecx, esi
call fcn.00592bf0
lea ecx, [esi + 0x154]
push ecx
mov ecx, esi
call fcn.00596340
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
push 0
mov ecx, esi
call eax
mov ecx, dword [esi + 0xc0]
xor eax, eax
cmp dword [ecx + 0xd4], 2
pop ebx
sete al
pop esi
pop ebp
ret 8
push edi
test eax, eax
je 0x5967d3
cmp dword [eax + 0x20], 0
je 0x5967d3
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jns 0x5967d9
push 0x11
call edi
test ax, ax
js 0x5967d9
mov ecx, dword [esi + 0xc0]
call fcn.0057bf60
test eax, eax
je 0x5967d9
movsx edx, bl
push edx
mov ecx, eax
call fcn.00521250
test eax, eax
je 0x5967d9
pop edi
pop ebx
mov eax, 1
pop esi
pop ebp
ret 8
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp ebx, 0x73
jne 0x596853
push 0x12
call edi
test ax, ax
jns 0x596866
mov ecx, dword [esi + 0x194]
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x5967ff
push edi
push ebx
call fcn.005928d0
test eax, eax
jne 0x596847
cmp dword [esi + 0x144], 0
je 0x596829
cmp ebx, 0x26
je 0x59681c
cmp ebx, 0x28
je 0x59681c
cmp ebx, 0x22
je 0x59681c
cmp ebx, 0x21
jne 0x596885
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x596885
mov ecx, esi
call fcn.005936f0
test eax, eax
je 0x596885
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
mov eax, dword [edx + 0x254]
push edi
push ebx
push esi
call eax
pop edi
pop ebx
mov eax, 1
pop esi
pop ebp
ret 8
cmp ebx, 0x26
je 0x59685d
cmp ebx, 0x28
jne 0x5967e7
push 0x12
call edi
test ax, ax
jns 0x5967e7
mov edx, dword [esi]
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov eax, dword [edx + 0xd4]
push ecx
mov ecx, esi
call eax
pop edi
pop ebx
mov eax, 1
pop esi
pop ebp
ret 8
mov ecx, dword [esi + 0x144]
test ecx, ecx
je 0x5968a5
cmp dword [ecx + 0x20], 0
je 0x5968a5
push edi
push ebx
call fcn.00522ed0
test eax, eax
mov eax, 1
jne 0x5968aa
mov eax, 2
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x5a2ec0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
call edx
test eax, eax
je case.0x5a2f43.10
cmp dword [esi + 0x1bc], 0xffffffff
jne 0x5a2f1a
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
test eax, eax
je 0x5a2f1a
mov eax, dword [ebp + 8]
cmp eax, 0xd
je 0x5a2eff
cmp eax, 0x20
jne case.0x5a2f43.10
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0xc0]
push 0
push eax
call fcn.0057d400
mov eax, 1
pop esi
pop ebp
ret 8
mov edx, dword [esi + 0xc0]
lea ecx, [ebp + 8]
push ecx
push edx
call fcn.0053e210
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
add esp, 8
cmp eax, 0x1f
ja case.0x5a2f43.10
movzx eax, byte [eax + 0x5a312c]
jmp dword [eax*4 + 0x5a3100]
push 1
push 0xffffffffffffffff
mov ecx, esi
call fcn.005a1110
push eax
mov ecx, esi
call fcn.005a2a80
mov eax, 1
pop esi
pop ebp
ret 8
push 0xffffffffffffffff
jmp 0x5a2f4c
mov ecx, dword [esi + 0x1bc]
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.005a25e0
push eax
mov ecx, esi
call fcn.005a2a80
mov eax, 1
pop esi
pop ebp
ret 8
mov edx, dword [esi + 0x1bc]
push 1
push edx
mov ecx, esi
call fcn.005a25e0
push eax
mov ecx, esi
call fcn.005a2a80
mov eax, 1
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x1bc]
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.005a2950
cmp eax, 0xffffffff
jne 0x5a2f55
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0xb8]
push 1
push 0
push 1
push eax
push edx
call fcn.005567d0
cmp eax, dword [esi + 0x40]
jne case.0x5a2f43.10
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, esi
call fcn.005a1110
cmp eax, 0xffffffff
je case.0x5a2f43.10
push eax
mov ecx, esi
call fcn.005a2a80
mov eax, 1
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x1bc]
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.005a27c0
push eax
mov ecx, esi
call fcn.005a2a80
mov eax, 1
pop esi
pop ebp
ret 8
mov ecx, dword [esi + 0x1bc]
push 1
push ecx
mov ecx, esi
call fcn.005a27c0
push eax
mov ecx, esi
call fcn.005a2a80
mov eax, 1
pop esi
pop ebp
ret 8
mov edx, dword [esi + 0x1bc]
push 1
push edx
mov ecx, esi
call fcn.005a2950
cmp eax, 0xffffffff
jne 0x5a2f55
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0xb8]
push 1
push 0
push 1
push 1
push eax
call fcn.005567d0
cmp eax, dword [esi + 0x40]
jne case.0x5a2f43.10
push 1
jmp 0x5a2fe5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x5a30c0
mov ecx, dword [esi + 0x1bc]
push 1
push ecx
mov ecx, esi
call fcn.005a1110
cmp eax, dword [esi + 0x1bc]
jle case.0x5a2f43.10
push eax
mov ecx, esi
call fcn.005a2a80
mov eax, 1
pop esi
pop ebp
ret 8
mov edx, dword [esi + 0x1bc]
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.005a1110
cmp eax, dword [esi + 0x1bc]
jge case.0x5a2f43.10
push eax
mov ecx, esi
call fcn.005a2a80
mov eax, 1
pop esi
pop ebp
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, esi
call edx
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x5a3ce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67bbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x71d5e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x1c]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x38
mov ecx, edi
mov dword [ebp - 0x28], eax
call fcn.005264f0
push eax
lea ecx, [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.0042179b
mov ebx, dword [ebp + 0x18]
sub ebx, dword [ebp + 0x10]
push 0x34
mov ecx, edi
call fcn.005264f0
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x10]
push 1
push ebx
dec edx
push edx
push eax
mov ecx, esi
call fcn.004219f2
lea ecx, [edi + 0x114]
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.0053d760
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp + 0x1c]
push 0xfffffffffffffff6
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ebx, dword [esi]
push 0x2c
mov ecx, edi
call fcn.005264f0
mov edx, dword [ebx + 0x30]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
call fcn.0058d7c0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0x8024
lea edi, [ebp - 0x20]
push edi
push ecx
push eax
mov eax, dword [edx + 0x68]
mov ecx, esi
mov byte [ebp - 4], 1
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5a3deb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.0053d7e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005000ee
mov esp, ebp
pop ebp
ret 0x18
Function at 0x5a6bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67bd20
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x71d5e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ebx, ecx
mov dword [ebp - 0x20], 0xaa0055
mov dword [ebp - 0x1c], 0xaa0055
mov dword [ebp - 0x18], 0xaa0055
mov dword [ebp - 0x14], 0xaa0055
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], vtable.CBitmap.0
lea edx, [ebp - 0x20]
push edx
push 1
push 1
push 8
push 8
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [ebp - 0x34]
call fcn.00414556
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], vtable.CBrush.0
mov eax, dword [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00414556
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00414643
mov edx, dword [esi]
push 0xf
mov ecx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], edx
call fcn.005264f0
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
push 0x14
mov ecx, ebx
mov dword [ebp - 0x24], eax
call fcn.005264f0
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 8]
push 0xf00021
sub eax, ecx
push eax
sub edi, edx
push edi
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, esi
call fcn.00414643
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x2c]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
mov ecx, esi
call edx
lea ecx, [ebp - 0x2c]
call fcn.004145b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.CBrush.0
call fcn.004071f0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], vtable.CBitmap.0
call fcn.004071f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005000ee
mov esp, ebp
pop ebp
ret 8
Function at 0x5ce480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.005ccf40
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
push str.TEXTFILE
je 0x5ce4a7
push eax
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
jmp 0x5ce4cb
mov ecx, dword [esi + 0x28]
push str.OFFICE2007BLUE_INI
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x5ce4cf
push 0x12
push str.OFFICE2007BLUE_INI
lea ecx, [esi + 0x24]
call fcn.004019f0
test edi, edi
jne 0x5ce4e5
mov edx, dword [esi + 0x24]
cmp dword [edx - 0xc], 0
jne 0x5ce4e5
mov eax, dword [esi + 0x28]
push eax
mov ecx, esi
call fcn.005cd8f0
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x5ce51a
mov ecx, dword [esi + 0x28]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5ce51a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x28]
push edi
push edx
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, dword [esi + 0x2c]
mov ebx, 1
mov dword [esi + 0x30], eax
mov ecx, esi
call fcn.005cd9a0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x5ce538
push 0
push 0
push 0
push 0x294f
call fcn.005e93f0
push 0
push str.PremultiplyImages
push str.Global
mov ecx, esi
call fcn.005ce130
pop edi
mov dword [esi + 0x50], eax
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x5ce5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67db72
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x71d5e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.0041231e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CXTPResourceImages.0
call fcn.004089b9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x5ce637
push 0x80004005
call fcn.00401b10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 1
call fcn.004089b9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x5ce664
push 0x80004005
call fcn.00401b10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 2
call fcn.00413b77
mov dword [esi + 0x54], vtable.CXTPResourceImages::CBitmapDC.0
mov dword [esi + 0x64], ebx
lea ecx, [esi + 0x74]
push 0xa
call fcn.005ccec0
lea ecx, [esi + 0x90]
push 0xa
mov byte [ebp - 4], 4
call fcn.00466977
push ebx
push 0xc7
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 5
call fcn.00466913
push ebx
push 0x65
lea ecx, [esi + 0x74]
call fcn.0052f500
mov dword [esi + 0x34], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x50], ebx
call fcn.004155c9
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.005ce560
lea eax, [esi + 0x6c]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call fcn.0055d2e0
add esp, 0x10
push ebx
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x54]
call fcn.00414282
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea edx, [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret