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

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0045d660
lea eax, [esp + 0xc]
push eax
push esi
call fcn.0045e690
mov eax, dword [esp + 0x14]
add esp, 8
cmp eax, 9
jne 0x4b10a8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [esi + 0xf8]
jl 0x4b105d
test eax, eax
je 0x4b1021
mov eax, dword [eax + 0x14]
inc eax
jmp 0x4b1023
xor eax, eax
mov edx, dword [esi + 0xd8]
mov ecx, dword [esi + 0x104]
cmp eax, edx
jl 0x4b104a
mov eax, ecx
sub eax, edx
neg eax
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.004b0f60
pop edi
pop esi
ret 0xc
cmp eax, ecx
jne 0x4b1050
xor eax, eax
push eax
mov ecx, esi
call fcn.004b0f60
pop edi
pop esi
ret 0xc
test eax, eax
je 0x4b1066
mov eax, dword [eax + 0x14]
jmp 0x4b106c
mov eax, dword [esi + 0xd8]
dec eax
test eax, eax
jge 0x4b1089
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4b1094
dec eax
mov ecx, esi
push eax
call fcn.004b0f60
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x104]
dec ecx
cmp eax, ecx
jne 0x4b109b
mov eax, dword [esi + 0xd8]
dec eax
push eax
mov ecx, esi
call fcn.004b0f60
pop edi
pop esi
ret 0xc
cmp eax, 0x25
jne 0x4b10fd
mov edi, dword [esi + 0xec]
cmp edi, 1
jle 0x4b11c1
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4b11c1
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
test ecx, ecx
lea eax, [ecx - 1]
jg 0x4b10da
lea eax, [edi - 1]
mov ecx, dword [esi + 0xe8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, edx
cmp ecx, eax
jg 0x4b10f0
mov eax, ecx
push eax
mov ecx, esi
call fcn.004b0f60
pop edi
pop esi
ret 0xc
cmp eax, 0x27
jne 0x4b1154
mov edi, dword [esi + 0xec]
cmp edi, 1
jle 0x4b11c1
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4b11c1
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
dec edi
cmp ecx, edi
jge 0x4b112f
lea eax, [ecx + 1]
jmp 0x4b1131
xor eax, eax
mov ecx, dword [esi + 0xe8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, edx
cmp ecx, eax
jg 0x4b1147
mov eax, ecx
push eax
mov ecx, esi
call fcn.004b0f60
pop edi
pop esi
ret 0xc
cmp eax, 0x28
jne 0x4b1188
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4b1169
mov eax, dword [eax + 0x14]
inc eax
jmp 0x4b116b
xor eax, eax
mov ecx, dword [esi + 0xd8]
xor edx, edx
cmp eax, ecx
mov ecx, esi
setge dl
dec edx
and edx, eax
push edx
call fcn.004b0f60
pop edi
pop esi
ret 0xc
cmp eax, 0x26
jne 0x4b11b3
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4b119f
mov eax, dword [eax + 0x14]
dec eax
test eax, eax
jge 0x4b11a6
mov eax, dword [esi + 0xd8]
dec eax
push eax
mov ecx, esi
call fcn.004b0f60
pop edi
pop esi
ret 0xc
cmp eax, 0x10
je 0x4b11c1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x74]
pop edi
pop esi
ret 0xc
Function at 0x4b3520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x599900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, vtable.CRgn.0
push esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov esi, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x30], 1
call esi
push eax
lea ecx, [esp + 0x10]
call fcn.00579297
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
push 0xfffffffffffffffc
lea edx, [esp + 0x18]
push 0xfffffffffffffffc
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [esp + 0x14]
push eax
call esi
push eax
lea ecx, [esp + 8]
call fcn.00579297
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.00579297
mov ecx, dword [esp + 8]
lea eax, [esp + 4]
neg eax
mov edx, dword [esp + 0x10]
push 3
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x10]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
mov esi, vtable.CGdiObject.0
mov dword [esp + 4], esi
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 2
call fcn.005792ee
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 3
call fcn.005792ee
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14
Function at 0x4b8ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x599cfe
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.00571eba
xor edi, edi
mov eax, 0xa
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], 0x5b7730
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 0x5ae00c
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x1c]
lea edx, [esi + 0x5c]
xor ecx, ecx
mov dword [esi + 0x80], eax
mov dword [esi], method.COleControlContainer.virtual_0
mov dword [esi + 0x7c], 1
mov dword [edx], ecx
xor eax, eax
push esi
push 4
mov dword [edx + 4], ecx
mov byte [esp + 0x1c], 2
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea ecx, [esi + 0x6c]
mov dword [esi + 0x6c], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx]
call dword [edx + 0xc0]
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x20], eax
push esi
push 2
mov eax, dword [ecx]
call dword [eax + 0xc0]
cmp eax, edi
je 0x4b8fab
lea ecx, [eax - 0x1c]
jmp 0x4b8fad
xor ecx, ecx
mov edx, dword [esi + 0x80]
mov dword [esi + 0x1c], ecx
mov eax, dword [edx + 0x7c]
mov edx, dword [esi + 0x20]
push eax
push 1
push edx
call fcn.004c5230
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4baf20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x599ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov ebx, 0x5ae00c
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0xa
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
push edi
mov eax, dword [ecx]
mov dword [esp + 0x3c], edi
call dword [eax + 0xc]
cmp dword [esp + 0x1c], edi
jne 0x4bafa1
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 1
cmp eax, edi
je 0x4bb0a4
mov eax, dword [eax]
cmp eax, edi
jne 0x4baf96
jmp 0x4bb0a4
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
cmp eax, edi
je 0x4bafb1
add eax, 0xffffffe4
jmp 0x4bafb3
xor eax, eax
push eax
mov ecx, ebp
call fcn.004bada0
cmp eax, edi
mov dword [esp + 0x40], eax
je 0x4bb08a
cmp dword [eax + 8], edi
je 0x4bb08a
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx + 0x78]
cmp esi, edi
je 0x4bb021
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
cmp eax, edi
je 0x4bafeb
lea ebx, [eax - 0x3c]
jmp 0x4bafed
xor ebx, ebx
lea ecx, [ebx + 0x3c]
call fcn.00511c20
cmp eax, edi
je 0x4bb018
add eax, 0xffffffe4
cmp eax, edi
je 0x4bb018
push eax
mov ecx, ebp
call fcn.004bada0
cmp eax, edi
je 0x4bb018
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x40]
cmp edx, dword [eax + 8]
je 0x4bb03d
cmp esi, edi
jne 0x4bafdb
mov ebx, 0x5ae00c
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 4
cmp eax, edi
je 0x4bb0a4
mov eax, dword [eax]
cmp eax, edi
jne 0x4bb035
jmp 0x4bb0a4
lea ecx, [esp + 0x10]
push 2
push ecx
push ebx
mov ecx, ebp
call fcn.004baeb0
mov dword [esp + 0x10], 0x5ae00c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
cmp eax, edi
je 0x4bb06a
mov eax, dword [eax]
cmp eax, edi
jne 0x4bb064
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
call fcn.0056d044
mov eax, 1
jmp 0x4bb0bf
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 2
cmp eax, edi
je 0x4bb0a4
mov eax, dword [eax]
cmp eax, edi
jne 0x4bb09e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
call fcn.0056d044
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4bcda0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4bce27
lea edi, [esi + 0xcc]
push 0x11
mov ecx, edi
call fcn.00511c60
test eax, eax
jne 0x4bce27
mov ecx, edi
call fcn.004c1270
mov edi, dword [eax + 0xe8]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, esi
call fcn.004bbfa0
test eax, eax
je 0x4bcdf3
add eax, 0x3c
jmp 0x4bcdf5
xor eax, eax
mov ecx, dword [esp + 8]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push ecx
push eax
mov ecx, edi
call fcn.004b3090
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4c9fda
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x59a8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x38]
push edi
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edx, dword [esi + 0xdc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
test ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
je 0x4ca020
mov eax, ebp
sub eax, edi
jmp 0x4ca022
sub eax, ebx
sub eax, edx
mov edx, dword [esi + 0x210]
dec eax
test ecx, ecx
je 0x4ca037
push 0
push eax
push 0
push edx
jmp 0x4ca03d
push eax
push 0
push edx
push 0
lea ecx, [esp + 0x28]
call fcn.00582611
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4ca063
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], 1
mov eax, dword [ecx + 0x144]
test eax, eax
jne 0x4ca06b
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ca090
mov eax, dword [esp + 0x4c]
push 0xf
sub eax, ebx
mov ecx, esi
mov ebp, eax
call fcn.004c7610
mov edx, dword [esp + 0x20]
push eax
add edx, 2
push ebp
push edx
jmp 0x4ca0a5
push 0xf
mov ecx, esi
sub ebp, edi
call fcn.004c7610
push eax
mov eax, dword [esp + 0x28]
add eax, 2
push eax
push ebp
push ebx
push edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.005823f3
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4ca0bf
lea ebx, [ecx + 0x3c]
jmp 0x4ca0c1
xor ebx, ebx
lea edx, [esp + 0x3c]
push edx
call fcn.004c25b0
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x3c], 0
sub esp, 0x10
mov eax, esp
push ebx
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x90]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0057265c
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x18
Function at 0x4cec20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59ae02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004a05b0
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov dword [esi + 0x20], eax
push str.WM_SKINFRAMEWORK_UPDATESTATE
mov dword [esp + 0x20], ebx
mov dword [esi], 0x5b9484
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], ecx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 8], ebx
call edi
push str.WM_SKINFRAMEWORK_QUERYSTATE
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [0x603e3c]
cmp eax, ebx
jne 0x4cecb6
push str.WM_GETFRAMEHOOK
call edi
mov dword [0x603e3c], eax
push 0x40
mov dword [esi + 0x48], ebx
call fcn.0056dbe7
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x4cecd9
mov ecx, eax
call fcn.004700b0
jmp 0x4cecdb
xor eax, eax
push 0x14
push 0xf060
mov ecx, esi
mov byte [esp + 0x24], bl
mov dword [esi + 0x2c], eax
call fcn.004ce9f0
push 9
push 0xf030
mov ecx, esi
call fcn.004ce9f0
push 9
push 0xf120
mov ecx, esi
call fcn.004ce9f0
push 8
push 0xf020
mov ecx, esi
call fcn.004ce9f0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4d0cc0
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 0x4d0d6f
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x34]
shr eax, 8
cmp al, 2
jne 0x4d0d6f
test edi, edi
je 0x4d0d6f
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 0x4d0d1b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4d0d1b
mov eax, dword [edi + 0x2c]
jmp 0x4d0d40
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x58]
test ecx, ecx
mov ecx, ebx
jne 0x4d0d29
mov ecx, ebp
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x4d0d3e
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x4d0d40
mov eax, ecx
mov esi, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004d0bf0
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, 0x202
pop ebx
je 0x4d0d66
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4d0d6f
push 0
mov ecx, esi
call fcn.004d0b70
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x4d3690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59afcd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00571eba
xor edi, edi
mov dword [esi + 0x20], 0x5af614
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0x11
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], 0xa
mov eax, dword [0x5eb854]
mov dword [esi + 0x48], eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call fcn.00494360
mov dword [esi + 0x64], 0x5b99e8
mov dword [esi + 0x68], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
push 0xa
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 4
call fcn.0056d776
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x18], 5
cmp ebx, edi
mov dword [esi], method.COleControlContainer.virtual_0
mov dword [esi + 0x40], ebx
je 0x4d3735
lea ecx, [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [ebx + 0x34]
push str.GLOBALS
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x1c], 1
call fcn.004d3a30
push str.WINDOW
mov dword [esi + 0x78], eax
call fcn.004d3a30
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x24]
add esp, 8
cmp eax, edi
je 0x4d3772
push eax
call fcn.0056dc10
add esp, 4
mov dword [esi + 0x24], edi
push 0x170
mov dword [esi + 0x28], 0xc7
call fcn.0056dbe7
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x18], 6
je 0x4d37a0
push esi
mov ecx, eax
call fcn.0044e660
mov dword [esi + 0x44], eax
jmp 0x4d37a3
mov dword [esi + 0x44], edi
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4e00a0
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
mov edx, dword [esp + 0x38]
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x38]
push esi
push edi
mov edi, dword [esp + 0x38]
mov dword [ebx + 4], eax
mov dword [ebx + 0x40], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 8], 0
mov dword [ebx + 0x44], edx
mov dword [ebx], 0x5b9bb0
lea edx, [ebx + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebx + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x603f44]
test eax, eax
jne 0x4e0125
call fcn.0056ebf7
mov dword [0x603f44], eax
mov ecx, dword [0x603f40]
test ecx, ecx
jne 0x4e0144
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
mov dword [0x603f40], ecx
mov eax, dword [ebx + 0x40]
cmp eax, ecx
jbe 0x4e0156
cmp byte [eax], 0x68
jne 0x4e0156
mov edx, dword [eax + 1]
mov dword [ebx + 0x40], edx
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x24
ret 0x14

Function at 0x4e2d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x59b8af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push str.TEXTFILE
push str.THEMES_INI
mov eax, dword [esi + 0x24]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4e2def
mov esi, dword [esp + 0x1c]
push 0x600970
mov ecx, esi
call fcn.005726ca
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov ecx, dword [esi + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4e2e19
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push str._File.
push eax
call fcn.0055b6f8
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e2e3d
mov esi, dword [esp + 0x1c]
push 0x600970
mov ecx, esi
call fcn.005726ca
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push 0x5d
push esi
call fcn.0055b967
sub eax, esi
add esi, 0xc
sar eax, 1
sub eax, 6
lea edx, [esp + 0xc]
push eax
push esi
push edx
call fcn.004e2eb0
add esp, 0x14
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push str._ini
push eax
push esi
mov dword [esp + 0x20], 1
call fcn.005728f1
lea ecx, [esp + 4]
mov dword [esp + 8], 1
mov byte [esp + 0x14], 0
call fcn.0057265c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4e7390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59bc1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x30]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x28], ebx
call fcn.005723d1
push ecx
mov byte [esp + 0x28], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Images
call fcn.005726ca
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
push ecx
mov ecx, esi
call fcn.004e7d20
mov edx, dword [esp + 8]
mov byte [esp + 0x20], 3
mov eax, dword [edx - 8]
test eax, eax
je 0x4e7412
lea eax, [esp + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.00572795
push 0x5f
push 0x2e
lea ecx, [esp + 0x34]
call fcn.0056ac6d
push 0x5f
push 0x5c
lea ecx, [esp + 0x34]
call fcn.0056ac6d
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.005723d1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call fcn.0057265c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.0057265c
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8

Function at 0x4e7570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59bc68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
lea eax, [edi + 0x30]
push eax
call fcn.00494380
mov eax, dword [edi + 0x20]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x4e75d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004943a0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x4e75ff
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004943a0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
lea ecx, [esp + 0x10]
lea ebx, [edi + 0x68]
push ecx
push esi
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.0056d931
test eax, eax
jne 0x4e766a
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call fcn.005726ca
mov ecx, edi
call fcn.004e7470
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4e765e
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004943a0
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
push esi
mov ecx, ebx
mov edi, eax
call fcn.0056d975
mov dword [eax], edi
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004943a0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x4e7790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x59bca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x4e77c1
cmp dword [esi + 0x2c], edi
je 0x4e77c1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ebp
call fcn.005726ca
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
cmp dword [eax - 8], edi
jne 0x4e77ea
push str.OFFICE2007BLUE_INI
lea ecx, [esp + 0x14]
call fcn.005727e5
push 0x5f
push 0x2e
lea ecx, [esp + 0x18]
call fcn.0056ac6d
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x2c], ecx
mov ecx, esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
call fcn.004e72f0
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
push str.TEXTFILE
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e783a
test ebp, ebp
jne 0x4e783a
push ebx
mov ecx, esi
call fcn.004e76e0
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4e7871
mov ecx, dword [esi + 0x20]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4e7871
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x20]
push edi
push edx
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esi + 0x24]
mov ebx, 1
add eax, ecx
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x4e7888
push 0
push 0
push 0
push 0x294f
call fcn.00523c30
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0057265c
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc