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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b50e8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x47daf9
inc eax
mov dword [esi + 0x10], eax
jmp 0x47dc0c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x47db0d
mov eax, 0xffffffc7
jmp 0x47dc0e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x47db1e
cmp dword [esi + 8], eax
jne 0x47db0d
cmp dword [esi + 8], eax
jne 0x47db37
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x47db37
mov eax, 0xffffffc7
jmp 0x47dc0e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x47db4b
push eax
mov ecx, ebx
call fcn.0047d2f0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00445a20
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x47db7c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00445a40
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0047ca60
test eax, eax
mov dword [esp + 0x38], eax
je 0x47dbaf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x515348
call fcn.00445c20
mov eax, dword [esp + 0x38]
jmp 0x47dc0e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0047d920
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x47dbf3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0047d940
mov esi, eax
test esi, esi
jne 0x47dc23
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0047d920
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x47dbc5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x515348
call fcn.00445c20
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x515348
call fcn.00445c20
mov eax, esi
jmp 0x47dc0e

Function at 0x480d30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x480d90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x480d90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x480d90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x480d90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x480dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x486f30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004adab3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004868d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004ad9e1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a9f41
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a9f41
push 1
push 0
push 0
mov ecx, esi
call fcn.004a9ee9
push 1
push 0
push 1
mov ecx, esi
call fcn.004a9ee9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004adb25
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4870b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5738
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.004adab3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004868d0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004ad9e1
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x487174
cmp dword [esp + 0x40], 1
jne 0x487172
cmp ecx, eax
jge 0x487174
mov eax, ecx
cmp eax, 0xc8
jge 0x487180
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00486f30
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004adb25
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4878f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b57a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004a835d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004add5b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004af2ba
test eax, eax
je 0x487a0c
mov ecx, dword [esp + 0x3c]
call fcn.004add88
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4879d0
push edi
mov ecx, esi
call fcn.004ab08c
mov ecx, esi
call fcn.00487b70
cmp dword [esp + 0x38], 1
jne 0x487a05
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004ab1c7
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x48a440
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x48a473
push esi
call fcn.0048d530
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x48a46c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x48a4f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x48a4e2
mov eax, dword [esi + 8]
test eax, eax
je 0x48a497
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x48a4de
cmp eax, 2
je 0x48a4e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x48a48a
cmp eax, 3
je 0x48a4bd
cmp eax, 1
jne 0x48a48a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x48a48a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x48a48a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0048a520
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x48a508
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0048a520
add esp, 4
pop esi
ret

Function at 0x4a9152
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a918a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a7209
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a71e1
jmp 0x4a9196
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4aa849
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4aa88b
call fcn.004b06aa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4aa88b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4aa882
xor eax, eax
jmp 0x4aa893
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004aa899
pop edi
pop esi
pop ebx
ret 4

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x38b8691d
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0xacd5d8d
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1000d77d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000d78c
pop dword [ebp - 0x1c]
mov eax, 0x6bded213
add eax, 0xa4220579
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push HWND_UserMarshal
push 0
mov eax, 0x8132046f
sub eax, 0x712f1313
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xe5f176ad
add ecx, 0x1a0ecb1b
mov edi, eax
mov esi, 0x4aedc54
add esi, 0xb55cfac
add esi, dword [ebp - 0x1c]
mov ebx, 0x448c66a5
sub ebx, 0xfd3a948a
mov dword [ebp - 0x18], 0x2250109c
mov edx, dword [esi]
add dword [ebp - 0x14], 0xf037e7
add edx, ebx
xor dword [ebp - 0x14], 0xba3181d6
mov dword [edi], edx
sub dword [ebp - 0xc], 0x63986544
add edi, 0x52d0903
sub edi, 0x52d08ff
add esi, 0x75ba60d0
sub esi, 0x75ba60cc
loop 0x1000d7eb
add eax, 0x805a47de
sub eax, 0x80594deb
mov ebx, eax
add eax, 0xcd448af9
sub eax, 0xcd448af4
mov ecx, 0x5de35e24
add ecx, 0xb21ca1dc
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4e34d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53df10
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5511c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], vtable.MinimumIDispatchImpl.0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
test eax, eax
je 0x4e356a
push 0
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x20]
push eax
mov dword [esi + 0x20], 0
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esi + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4e356a
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], 0
push 0xc
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call fcn.004f3c82
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x38], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e6720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x5511c0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x552af4]
push edi
push 0xf0
push eax
push esi
mov dword [ebp - 0x210], ecx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4e68c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4e68c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4e68c2
mov edx, 0x1234
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4e6898
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x214], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x4e6810
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.004e68f0
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x210]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x108]
cmovne ecx, edi
mov edi, ecx
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x4e6885
push eax
call fcn.005003a1
add esp, 4
jmp 0x4e6885
cmp dx, ax
jne 0x4e688a
push 3
lea eax, [ebp - 0x208]
mov dword [ebp - 0x238], 1
push esi
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x234], 0xffffffff
mov dword [ebp - 0x20c], eax
call fcn.004e68f0
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x230], eax
cmp eax, ecx
je 0x4e6862
push eax
call fcn.005003a1
add esp, 4
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp - 0x210]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x4e68ad
mov edx, 0x1234
add esi, dword [ebp - 0x214]
test edi, edi
jne 0x4e6786
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f3cc0
mov esp, ebp
pop ebp
ret 4
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f3cc0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004f3cc0
mov esp, ebp
pop ebp
ret 4
Function at 0x4e6dc0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e0d5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5511c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
lea edi, [eax + 4]
push 0
mov ecx, edi
call fcn.004e6370
mov esi, dword [0x552af4]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
call ebx
push eax
push 0xb
call ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x80
push esi
call ebx
push eax
push 1
push 0x80
push dword [edi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
mov esi, dword [0x552af4]
push 0
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x80
push esi
call ebx
mov esi, dword [ebp - 0x18]
push eax
push 0
push 0x80
push dword [esi + 4]
call edi
push 0x3e8
lea ecx, [esi + 0x20]
call fcn.004e4530
mov esi, eax
test esi, esi
je 0x4e6f16
mov ecx, dword [esi + 0x84]
mov byte [esi + 0x1a], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x4e6eac
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x540704
push ecx
call dword [eax]
test eax, eax
jns 0x4e6eac
mov dword [ebp - 0x14], 0
mov ecx, dword [esi + 0x84]
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x4e6ede
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push str.bIl
push ecx
call dword [eax]
test eax, eax
jns 0x4e6edb
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4e6ede
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x4e6ef4
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x4e6f02
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4e6f16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x540724
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.dgdsfsdfsdf
push str.sdfdsfds
call dword [sym.imp.ADVAPI32.dll_OpenBackupEventLogA]
test eax, eax
jne 0x4e6fc3
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, 0x1a6e
push str.dffghdfhdfgfdnhdfgnfgghdfnjdfghdgfnjhdrhtrfjhtjmnfhgfngfd
call edi
sub esi, 1
jne 0x4e6f44
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, 0x1cf2
mov esi, dword [ebp - 0x18]
nop
push 0
push 0
push str.gnjgfjmgfnjfgj.fll
call ebx
push 0
push 0
push 0
push 0xffffffffffffffc2
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
mov ecx, 0x480207
cmovne ecx, esi
mov esi, ecx
sub edi, 1
jne 0x4e6f60
push edi
push 1
push edi
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
or esi, 0xffffffff
nop
push 0x993
call edi
sub esi, 1
jne 0x4e6fa0
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0xb
call fcn.00500919
int3
Function at 0x4ed8f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5511c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x218], ebx
push 0x81
mov eax, dword [edi + 4]
mov dword [edi + 0x30], eax
mov eax, dword [edi]
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jns 0x4ed94f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
movzx eax, si
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f3cc0
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [0x552af4]
push 0xf0
push 0x81
push esi
mov dword [ebp - 0x210], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4edab5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4edab5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4edab5
mov edx, 0x1234
nop
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4edaaf
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x214], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x4eda28
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.004e68f0
push dword [ebp - 0x108]
push 0
push 0x143
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x108]
cmovne ecx, dword [ebp - 0x210]
mov dword [ebp - 0x210], ecx
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x4eda97
push eax
call fcn.005003a1
add esp, 4
jmp 0x4eda97
cmp dx, ax
jne 0x4eda9c
push 3
lea eax, [ebp - 0x208]
mov dword [ebp - 0x23c], 1
push esi
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x20c], eax
call fcn.004e68f0
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x234], eax
cmp eax, ecx
je 0x4eda7a
push eax
call fcn.005003a1
add esp, 4
lea eax, [ebp - 0x23c]
push eax
push 0
push 0x40b
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x4edaaf
mov edx, 0x1234
add esi, dword [ebp - 0x214]
cmp dword [ebp - 0x210], 0
jne 0x4ed9a0
mov ebx, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
mov dword [ebx], 0
xor ecx, ebp
pop ebx
call fcn.004f3cc0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ef2b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5511c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x210]
test esi, esi
jne 0x4ef411
xor esi, esi
test eax, eax
je 0x4ef33c
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], edi
test esi, esi
jne 0x4ef411
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], pe_nt_image_headers32
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x4ef3d7
nop dword [eax]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x210]
call fcn.004ef2b0
mov esi, eax
test esi, esi
jne 0x4ef40b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x214], pe_nt_image_headers32
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x210]
call edi
test eax, eax
je 0x4ef390
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4ef3ee
push eax
call ebx
mov dword [ebp - 0x210], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x20c], 0
call fcn.004ebae0
mov esi, eax
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4ef418
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3cc0
mov esp, ebp
pop ebp
ret 4