joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49aa14
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5eabd8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x49aa49
xor eax, eax
jmp 0x49aa9c
lea eax, [ebp - 0x210]
push eax
call fcn.004afd58
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x49aa7a
push 0x5a52b4
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004b563f
add esp, 0xc
test eax, eax
jne 0x49aa45
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004b563f
add esp, 0xc
test eax, eax
jne 0x49aa45
lea eax, [ebp - 0x210]
push eax
call fcn.0049a986
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004adaab
leave
ret

Function at 0x4a6306
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4a634e
call fcn.00485f40
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4a634e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4a6391
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4a637a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4a637a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4a638e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4adaab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5eabd8]
jne 0x4adab5
repz ret
jmp fcn.004b6ddc

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4ae4ab
call fcn.004b16b8
mov dword [eax], esi
call fcn.004b16a5
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004adca2
add esp, 0x14
push 0x16
pop eax
jmp 0x4ae500
test dword [ebp + 0xc], 0xfffffff9
jne 0x4ae487
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4ae4d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004b16cb
pop ecx
call fcn.004b16a5
mov eax, dword [eax]
jmp 0x4ae500
test al, 0x10
jne 0x4ae4fe
test al, 1
je 0x4ae4fe
test byte [ebp + 0xc], 2
je 0x4ae4fe
call fcn.004b16b8
mov dword [eax], 5
call fcn.004b16a5
mov dword [eax], 0xd
jmp 0x4ae4cf
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4c4390
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004b6718
and dword [ebp - 4], 0
cmp dword [0x6e8b48], 0
mov ebx, eax
jne 0x4c4441
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4c44f2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5a8bc4
push edi
call esi
test eax, eax
je 0x4c44f2
push eax
call fcn.004b66a6
mov dword [esp], 0x5a8bb4
push edi
mov dword [0x6e8b48], eax
call esi
push eax
call fcn.004b66a6
mov dword [esp], 0x5a8ba0
push edi
mov dword [0x6e8b4c], eax
call esi
push eax
call fcn.004b66a6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6e8b50], eax
call esi
push eax
call fcn.004b66a6
pop ecx
mov dword [0x6e8b58], eax
test eax, eax
je 0x4c4441
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004b66a6
pop ecx
mov dword [0x6e8b54], eax
mov eax, dword [0x6e8b54]
cmp eax, ebx
je 0x4c4499
cmp dword [0x6e8b58], ebx
je 0x4c4499
push eax
call fcn.004b6721
push dword [0x6e8b58]
mov esi, eax
call fcn.004b6721
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4c4499
test edi, edi
je 0x4c4499
call esi
test eax, eax
je 0x4c4490
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4c4490
test byte [ebp - 0xc], 1
jne 0x4c4499
or dword [ebp + 0x10], 0x200000
jmp 0x4c44d2
mov eax, dword [0x6e8b4c]
cmp eax, ebx
je 0x4c44d2
push eax
call fcn.004b6721
pop ecx
test eax, eax
je 0x4c44d2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4c44d2
mov eax, dword [0x6e8b50]
cmp eax, ebx
je 0x4c44d2
push eax
call fcn.004b6721
pop ecx
test eax, eax
je 0x4c44d2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6e8b48]
call fcn.004b6721
pop ecx
test eax, eax
je 0x4c44f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4c44f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4cd7d0
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4cd7dc
pop esi
ret
mov ecx, dword [esi + 8]
push ecx
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor edx, edx
test eax, eax
setne dl
mov dword [esi + 0x24], eax
pop esi
mov eax, edx
ret

Function at 0x4cd8a0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push 0x4cd820
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x4cee90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57e208
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x10]
call fcn.0047fe17
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.0047fd0a
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push 0xf00021
push edx
mov edx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
mov ecx, esi
call fcn.0047fd0a
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], vtable.CBrush.0
call fcn.0041e040
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4d1610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebx
mov ebx, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
xor edi, edi
push edi
lea eax, [esp + 0x40]
push eax
push ebx
mov esi, ecx
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x68], 2
call fcn.0047da9e
push 2
lea ecx, [esp + 0x50]
push ecx
push ebx
mov ecx, esi
call fcn.0047da9e
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x3c]
mov edx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 2
push 0x1002
push edx
mov dword [esp + 0x20], eax
call ebx
push eax
call fcn.0047e82a
mov dword [esp + 0x18], eax
test eax, eax
je 0x4d16d2
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x20]
push 0xf000
push eax
push 0x102c
push ecx
call ebx
test eax, 0xf000
jne 0x4d16d2
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x1c]
push ecx
push edi
push eax
call fcn.00485f40
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00484221
mov eax, dword [esp + 0x34]
sub dword [esp + 0x10], eax
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
push 0
push 0
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x50]
push 0x101d
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
call ebx
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x98], edi
jne 0x4d1721
cmp dword [esi + 0x78], edi
jne 0x4d1721
mov edx, dword [esp + 0x10]
add dword [esp + 0x1c], edx
cmp dword [esp + 0x94], edi
je 0x4d1796
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
je 0x4d178d
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x5c]
push eax
inc edi
push edi
push 0x1019
push ecx
call ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x4d1782
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
push 0
push edi
push 0x101d
push eax
mov dword [esp + 0x2c], edx
call ebx
add dword [esp + 0x24], eax
cmp dword [esp + 0x98], 0
jne 0x4d1782
cmp dword [esi + 0x78], edi
jne 0x4d1782
mov ecx, dword [esp + 0x10]
add dword [esp + 0x1c], ecx
cmp edi, dword [esp + 0x94]
jne 0x4d1730
jmp 0x4d1796
cmp edi, dword [esp + 0x94]
jne 0x4d17b2
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [ebp], edx
mov edx, dword [esp + 0x28]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x78
ret 0x10
Function at 0x4d5370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57e664
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.COXParser.0
mov dword [esp + 0x14], 2
call fcn.004d5280
lea ecx, [esi + 0x84]
call fcn.004d3e00
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.004d52c0
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], 0xffffffff
call fcn.00507af0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x57e7a4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ebp, [esi + 0x18]
mov ecx, ebp
mov dword [esi], vtable.COXParser.0
call fcn.00507c70
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x20], ebx
call fcn.004d5c60
lea ecx, [esi + 0x84]
call fcn.004d3df0
mov eax, 1
mov byte [esi + 4], 0x3c
mov byte [esi + 5], 0x3e
mov byte [esi + 6], 0x2f
mov byte [esi + 8], 0x3f
mov byte [esi + 7], 0x21
mov byte [esi + 9], 0x2d
mov byte [esi + 0xa], 0xd
mov byte [esi + 0xb], 0xa
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], 0x26
mov dword [esi + 0x10], 0x5ab8e4
mov dword [esi + 0x14], 0x50
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov ecx, dword [0x5ec1a8]
xor edi, edi
mov byte [esp + 0x20], 2
cmp ecx, ebx
je 0x4d5e41
xor eax, eax
nop
mov eax, dword [eax + 0x5ec1ac]
push eax
push ecx
mov ecx, ebp
call fcn.00507b80
inc edi
lea eax, [edi*8]
mov ecx, dword [eax + 0x5ec1a8]
cmp ecx, ebx
jne 0x4d5e20
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4d7fc2
Capabilities:
Create http request
Read data from internet
Receive data
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 8], 0x6e55f4
push 0
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleHandleA
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5c]
Function at 0x4d7fe0
Capabilities:
Create http request
Read data from internet
Receive data
Terminate process

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
push 0x104
add dword [eax], eax
add byte [ebx + 0x6a50ec45], cl
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleFileNameW
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
je 0x4d8102
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp eax, edx
je 0x4d80a8
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]

Function at 0x4d8030
Capabilities:
Create http request
Read data from internet
Receive data
Terminate process

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
push 0x104
add dword [eax], eax
add byte [ebx + 0x6a50ec45], cl
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleFileNameW
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
je 0x4d8102
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp eax, edx
je 0x4d80a8
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
Function at 0x4d8060
Capabilities:
Create http request
Read data from internet
Receive data
Terminate process

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
push 0x104
add dword [eax], eax
add byte [ebx + 0x6a50ec45], cl
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleFileNameW
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
je 0x4d8102
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp eax, edx
je 0x4d80a8
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
Function at 0x4d80c0
Capabilities:
Create http request
Read data from internet
Receive data
Terminate process

Disassembly:
add byte [ebx - 0x3e], ch
add byte [ebx + 0x558bf44d], cl
sar byte [ebx], 1
adc al, 1
Function at 0x4e7cc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0xc]
push eax
xor esi, esi
push 0x20019
push esi
push str.Software
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
call edi
test eax, eax
jne 0x4e7d45
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x20019
push esi
push eax
push ecx
call edi
test eax, eax
jne 0x4e7d45
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x20019
push esi
push eax
push ecx
call edi
test eax, eax
jne 0x4e7d45
mov eax, dword [esp + 0x14]
lea edx, [esp + 8]
push edx
push 0x20019
push esi
push str.HistoryCombo
push eax
call edi
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x4e7d56
push eax
call edi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4e7d61
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4e7d6c
push eax
call edi
mov eax, dword [esp + 8]
cmp eax, esi
jne 0x4e7d88
mov ecx, dword [esp + 0x34]
call fcn.00415050
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebp
mov ebp, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push ecx
push esi
lea edx, [esp + 0x2c]
push edx
push esi
push ebp
push eax
call ebx
mov edi, eax
cmp edi, esi
mov esi, dword [esp + 0x3c]
jne 0x4e7e10
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
sub edx, eax
or ecx, edx
jge 0x4e7dd0
push eax
mov ecx, esi
call fcn.00415100
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push 0
push ebp
push eax
call ebx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4e7e00
push ecx
push eax
call fcn.004ae637
add esp, 8
test eax, eax
jl 0x4e7e33
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4e7e33
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4e7e26
mov ecx, esi
call fcn.00415050
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret
push 0x80070057
call fcn.00414da0
int3
Function at 0x4e7e40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x57f538
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5eabd8]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
push edi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov esi, ecx
push 0x5aba3c
lea ecx, [esi + 4]
mov dword [esp + 0x10], esi
mov dword [esi], 1
call fcn.00414a70
push 0x5a4f70
lea ecx, [esi + 8]
mov dword [esp + 0x128], 0
call fcn.00414a70
push str.All_Files__.__._
lea ecx, [esi + 0x10]
mov byte [esp + 0x128], 1
mov dword [esi + 0xc], 6
call fcn.00414a70
mov byte [esp + 0x124], 2
mov dword [esi + 0x14], 0
lea edi, [esi + 0x18]
call fcn.0047cfdc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4e7ef2
push 0x80004005
call fcn.00414da0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0x104
mov byte [esp + 0x12c], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e7f20
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00414fa0
mov eax, esi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004adaab
add esp, 0x11c
ret
Function at 0x4f3fa0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [sym.imp.GDI32.dll_GetStockObject]
test ax, ax
jge 0x4f4057
push 7
call edi
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x4f3fe5
mov ecx, dword [esi + 4]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0047f5fb
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0047f05d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.0047f05d
push 6
call edi
test eax, eax
je 0x4f402c
push eax
mov eax, dword [esi + 4]
push eax
call ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.0047f05d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0047f05d
pop edi
pop esi
pop ebx
add esp, 8
ret 0x18
push 6
call edi
mov esi, dword [esp + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x4f4070
mov edx, dword [esi + 4]
push eax
push edx
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0047f5fb
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0047f05d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.0047f05d
push 7
call edi
test eax, eax
je 0x4f40b7
mov ecx, dword [esi + 4]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.0047f05d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0047f05d
pop edi
pop esi
pop ebx
add esp, 8
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x57fc53
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.COXMenuSkinXP.0
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.004f28c0
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.004f2910
mov dword [esi], vtable.COXMenuSkin.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret