joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f0710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x623298
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
call fcn.004f0350
mov eax, dword [esi + 0x20]
lea ebx, [esi + 0x20]
push str.TEXTFILE
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f0753
push eax
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
jmp 0x4f0774
mov ecx, dword [esi + 0x24]
push str.OFFICE2007BLUE_INI
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4f0778
push str.OFFICE2007BLUE_INI
mov ecx, ebx
call fcn.005f7b05
test edi, edi
jne 0x4f078e
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4f078e
mov eax, dword [esi + 0x24]
mov ecx, esi
push eax
call fcn.004f0870
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4f07c5
mov ecx, dword [esi + 0x24]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4f07c5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x24]
push edi
push edx
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esi + 0x28]
mov ebx, 1
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x4f07dc
push 0
push 0
push 0
push 0x294f
call fcn.0051e180
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PremultiplyImages
call fcn.005f79ea
push ecx
mov dword [esp + 0x28], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Global
call fcn.005f79ea
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.004f0cc0
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x4c], eax
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x4f0a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x623310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x30], 1
call fcn.005f76f1
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x34], 2
call fcn.005f76f1
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x34], 1
call fcn.004f0e60
mov eax, dword [esp + 8]
xor ebx, ebx
cmp dword [eax - 8], ebx
jne 0x4f0ada
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.005f797c
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.005f797c
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.005f797c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x24
ret 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push edx
push ecx
push str._i__i__i
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.0048248f
mov eax, dword [esp + 0x28]
xor edx, edx
mov dh, byte [esp + 0x20]
and eax, 0xff
mov dl, byte [esp + 0x24]
add esp, 0x14
shl edx, 8
or edx, eax
lea ecx, [esp + 8]
mov esi, edx
mov byte [esp + 0x28], 1
call fcn.005f797c
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.005f797c
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.005f797c
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0xc

Function at 0x4f1860
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x4f1890
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov ax, word [esp]
pop ecx
ret
Function at 0x4f21b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov dword [esp + 8], ecx
push esi
mov ecx, dword [esp + 0x1c]
push edi
call fcn.005f7907
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, edi
push 6
shr eax, 4
inc eax
and eax, 0xffff
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x4f21ed
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4f2201
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4f2216
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4f2235
cmp esi, eax
jae 0x4f2239
xor ecx, ecx
dec edi
mov cx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4f2225
cmp esi, eax
jb 0x4f2243
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
xor ebx, ebx
mov bx, word [esi]
test ebx, ebx
jne 0x4f2256
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4f2266
mov ebp, dword [eax + 4]
jmp 0x4f2268
xor ebp, ebp
push 0
push 0
push 0
lea edi, [esi + 2]
push 0
push ebx
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x20]
mov esi, eax
push esi
call fcn.005f7e23
push 0
push 0
push esi
push eax
push ebx
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x20]
push esi
call fcn.005f7dfb
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x4f31f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x623747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], al
mov byte [esi + 0x11], al
mov byte [esi + 0x12], al
mov byte [esi + 0x13], al
mov byte [esi + 0x14], al
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], al
mov edx, dword [0x86a874]
mov dword [esp + 4], esi
mov dword [esi + 0x18], edx
mov edx, dword [0x86a874]
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], edx
mov edx, dword [0x86a874]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], 0x66b904
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xa
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 3
call fcn.00499fb0
mov ecx, esi
mov byte [esp + 0x10], 4
mov dword [esi], 0x66b8a4
call fcn.004f33d0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f5fa0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
mov dword [esi + 4], 0
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x4f5f20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xc], eax
je 0x4f5fed
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x4f5ff0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
je 0x4f6076
mov eax, dword [esi + 0x14]
push ebp
push edi
push eax
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push edx
call edi
test eax, eax
je 0x4f6063
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x10], 0x103
jne 0x4f6063
inc ebx
cmp ebx, 0xa
ja 0x4f6057
mov eax, dword [esi + 0xc]
push 0x64
push eax
call ebp
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
test eax, eax
jne 0x4f602e
jmp 0x4f6063
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 0xc], 0
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x4fa0b6
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x623b4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
xor eax, eax
mov dword [esi + 8], 0x66c284
mov dword [esp + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], 0x66c278
push 1
mov byte [esp + 0x14], 2
mov dword [esi], 0x66c274
mov dword [esi + 0x1c], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x40], eax
call fcn.004fa800
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4fb070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x623c37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x86a874]
push ebx
push esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov esi, dword [esp + 0x34]
mov ebx, 1
mov dword [esp + 0x28], ebx
fld qword [esi]
call fcn.00480e14
test eax, eax
jne 0x4fb0e0
lea ecx, [esp + 0x34]
push str._H:_M:_S
push ecx
mov ecx, esi
call fcn.004784ea
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call fcn.005f7ab5
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
jmp 0x4fb161
mov edx, dword [esi]
mov eax, dword [esi + 4]
fld qword [esi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.00480e14
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
fild qword [esp + 0x10]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x40
je 0x4fb139
lea ecx, [esp + 0x34]
push str._Y__d__m
push ecx
mov ecx, esi
call fcn.004784ea
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.005f7ab5
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
jmp 0x4fb161
lea edx, [esp + 0x34]
push str._Y__d__mT_H:_M:_S
push edx
mov ecx, esi
call fcn.004784ea
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call fcn.005f7ab5
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
call fcn.005f797c
mov esi, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.005f76f1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005f797c
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4fdc90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x623ed3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x66c4e4
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], 1
test eax, eax
jne 0x4fdcda
mov eax, dword [esi + 0x44]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4fdcda
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4fdcda
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x44]
call fcn.005f797c
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0
call fcn.005f797c
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004fb3e0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4fe850
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0x60]
test esi, esi
push edi
mov dword [esp + 8], ecx
je 0x4fe8ff
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x34]
shr eax, 8
cmp al, 2
jne 0x4fe8ff
test edi, edi
je 0x4fe8ff
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebx
lea ecx, [esi + 4]
push ebp
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4fe8ab
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4fe8ab
mov eax, dword [edi + 0x2c]
jmp 0x4fe8d0
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x58]
test ecx, ecx
mov ecx, ebx
jne 0x4fe8b9
mov ecx, ebp
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x4fe8ce
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x4fe8d0
mov eax, ecx
mov esi, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004fe780
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, 0x202
pop ebx
je 0x4fe8f6
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4fe8ff
push 0
mov ecx, esi
call fcn.004fe700
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x50a850
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
cmp ebx, 0x112
push edi
mov esi, ecx
ja 0x50a99f
cmp ebx, 0x112
je 0x50a8fb
mov eax, ebx
sub eax, 2
je 0x50a8c4
sub eax, 3
je 0x50a887
sub eax, 0x42
jne 0x50a8a5
cmp ebp, dword [esi + 0x124]
jne 0x50a8a5
mov eax, dword [esi - 0x20]
push 0
push 0x2fbf
push 0x113
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push ebx
push ebp
mov ecx, esi
call fcn.004b05a0
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov eax, dword [esi + 0x128]
test eax, eax
je 0x50a8a5
lea ecx, [esi - 0x3c]
call fcn.004b12c0
test eax, eax
je 0x50a8dd
mov eax, dword [eax + 0x1c]
cmp ebp, eax
jne 0x50a8a5
mov ecx, dword [esi + 0x128]
push ecx
push ebp
call dword [sym.imp.USER32.dll_SetMenu]
mov dword [esi + 0x128], 0
jmp 0x50a8a5
lea edi, [esi - 0x3c]
mov ecx, edi
call fcn.004a4630
test eax, eax
je 0x50a8a5
push 0x499ee0
mov ecx, 0x8c2ec4
call fcn.006105c0
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x50a8a5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x50a8a5
mov ecx, edi
call fcn.004b13e0
test eax, eax
jne 0x50a8a5
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
and eax, 0xfff0
cmp eax, 0xf100
jne 0x50a8a5
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 0
jne 0x50a8a5
mov edx, dword [edi]
push 0x12
mov ecx, edi
call dword [edx + 0x174]
test eax, eax
je 0x50a97e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x14
mov ecx, edi
call fcn.004b13b0
test eax, eax
je 0x50a993
push 0
push edi
mov ecx, eax
call fcn.004a2370
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x14
cmp ebx, 0x220
jb 0x50a8a5
cmp ebx, 0x222
jbe 0x50a88f
cmp ebx, 0x230
jne 0x50a8a5
mov eax, dword [esi - 0x3c]
lea edi, [esi - 0x3c]
mov ecx, edi
call dword [eax + 0xdc]
test eax, eax
mov ecx, edi
je 0x50aa63
call fcn.004b13e0
test eax, eax
je 0x50aa0d
mov ecx, edi
call fcn.004b12c0
mov ecx, dword [eax + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [edx], 0
mov eax, 1
pop ebx
ret 0x14
mov eax, dword [esi + 0x58]
mov ebx, dword [esp + 0x1c]
test ah, 4
jne 0x50aa37
mov eax, dword [ebx]
test eax, eax
jne 0x50aa2f
mov ecx, dword [esi + 0x128]
test ecx, ecx
je 0x50aa37
test eax, eax
jne 0x50aa2f
mov eax, ecx
push eax
mov ecx, edi
call fcn.0050a7f0
mov ecx, edi
call fcn.004b12c0
mov eax, dword [eax + 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, edi
call fcn.00509940
pop edi
pop esi
mov dword [ebx], 0
pop ebp
mov eax, 1
pop ebx
ret 0x14
call fcn.004b12c0
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.005f8a84
test eax, eax
jne 0x50a8a5
mov edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov eax, 1
pop ebx
ret 0x14
Function at 0x50b310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6245db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 0x20], 0x664b60
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esp + 0x14], edi
call fcn.004f1580
mov edx, dword [eax]
push 0x2393
mov ecx, eax
call dword [edx + 0x18]
mov dword [esi + 0x38], eax
call fcn.004f1580
mov edx, dword [eax]
push 0x2392
mov ecx, eax
call dword [edx + 0x18]
mov dword [esi + 0x3c], eax
call fcn.004f1580
mov edx, dword [eax]
push 0x2391
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], edi
mov dword [esi + 0x34], eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x50bc20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x624680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x86a874]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x24], esi
call fcn.004f1580
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push 0x23cb
push ecx
mov ecx, eax
call dword [edx + 8]
mov edx, dword [0x86a874]
mov ebp, 1
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
push ebp
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x30], 1
call fcn.005efc10
mov edx, dword [edi + 0x68]
add esp, 0xc
mov eax, dword [edx + 0x80]
cmp eax, esi
mov dword [esp + 0x18], eax
jle 0x50bcf8
push ebx
mov ecx, dword [edi + 0x68]
push esi
call fcn.004a0fc0
test eax, eax
je 0x50bcf0
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0049f930
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0048168f
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.005f797c
test bl, bl
je 0x50bcf0
mov eax, ebp
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
inc ebp
call fcn.005efc10
add esp, 0xc
xor esi, esi
jmp 0x50bcf1
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x50bc9b
pop ebx
lea edx, [esp + 0xc]
lea ecx, [edi + 0x60]
push edx
call fcn.005f7ab5
push 0
mov ecx, edi
call fcn.005f62d2
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.005f797c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.005f797c
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x50c250
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
mov eax, dword [esi + 4]
je 0x50c288
test eax, eax
jne 0x50c29a
push edi
call fcn.0060e02b
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x50c590
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 4], eax
pop edi
pop esi
ret 4
test eax, eax
je 0x50c29a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 4], 0
pop esi
ret 4

Function at 0x50d750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x624768
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [ebp + 8], 0
call fcn.005fc5c8
mov esi, dword [esp + 0x48]
test esi, esi
je 0x50d7f7
push edi
mov edi, dword [esp + 0x48]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
pop edi
je 0x50d7f7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x50d7f7
cmp ebx, 0xa
jb 0x50d7f7
push 0
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.006043de
lea eax, [esp + 0xc]
mov ecx, ebp
push eax
mov dword [esp + 0x40], 0
call fcn.0050d810
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.00604457
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x51ddd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62562e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.005f71db
xor edi, edi
mov dword [esi + 0x1c], 0x66ec20
mov dword [esp + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], 0x66ec14
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 2
call fcn.0051dd60
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x44], edi
mov dword [esi], method.COleControlContainer.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x51ee10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6257d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.005f71db
mov eax, dword [0x86a874]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], eax
mov ecx, dword [0x86a874]
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 2
call fcn.0051f590
mov ecx, esi
mov byte [esp + 0x14], 3
mov dword [esi], 0x66ec60
call fcn.00613724
lea edx, [esi + 0x40]
or eax, 0xffffffff
push edx
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x64], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5281e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x625d68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005fc37d
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
add eax, 0x10c
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004deaf0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 4]
push ecx
push 1
push 0x64f6c4
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 8]
add eax, 3
cmp eax, 0x12
jge 0x52572d
mov eax, 0x12
lea ecx, [esp + 0xc]
mov dword [esi + 0x18], eax
call fcn.004deb50
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005fc3ef
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
jmp 0x5256c0