joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f7178
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x58a620]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4f71bb
cmp word [esi], dx
jne 0x4f71bb
or byte [edi + eax + 0x28], 4
jmp 0x4f71c0
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4f7313
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4f72f3
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4f7202
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4f7238
cmp eax, edx
jae 0x4f7244
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4f71da
jmp 0x4f7313
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f72ef
cmp dword [ebp - 0x14], 0
je 0x4f72ef
mov eax, dword [ebx*4 + 0x58a620]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4f72c7
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4f7290
mov word [esi], cx
jmp 0x4f72c3
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x58a620]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x58a620]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x58a620]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4f7313
pop ebx
cmp word [ebp - 4], bx
jne 0x4f72d8
cmp esi, dword [ebp + 0xc]
jne 0x4f72d8
mov word [esi], bx
jmp 0x4f7310
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00456ba4
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4f7313
push 0xd
jmp 0x4f730c
mov ecx, dword [ebx*4 + 0x58a620]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4f730a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4f7313
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4fa1b4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x585dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4fa1ff
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004fa676
test al, al
jne 0x4fa1f9
sub edx, 2
cmp edx, edi
jne 0x4fa1df
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4fa221
lea eax, [edi + 2]
cmp edx, eax
je 0x4fa221
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004f9dad
add esp, 0x10
jmp 0x4fa31b
push esi
lea ecx, [ebp - 0x255]
call fcn.004fa676
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fa264
push dword [ebp - 0x25c]
jmp 0x4fa211
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4fa2a1
cmp word [ebp - 0x226], 0
je 0x4fa2c2
cmp word [ebp - 0x226], ax
jne 0x4fa2a1
cmp word [ebp - 0x224], 0
je 0x4fa2c2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004f9dad
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4fa30e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4fa27b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4fa2f6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4fa31b
push 0x4f9795
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0045b64f
add esp, 0x10
jmp 0x4fa2eb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045880f
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3a571de9
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x4304d8
nop
mov ecx, 0x71d827c1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4441a0]
xor eax, ebp
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], 0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp dword [ebp - 0xc], eax
je 0x40137a
mov eax, dword [ebp - 0x10]
jmp 0x4014a5
lea ecx, [ebp - 0x20]
call fcn.004112b0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
call fcn.004017b0
cmp eax, dword [ebp - 4]
jl 0x4013b1
lea ecx, [ebp - 0x20]
call fcn.00401790
cmp eax, dword [ebp - 8]
jl 0x4013b1
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x4014a2
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4013e3
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x34], eax
jmp 0x4013c8
cmp dword [ebp - 0xc], 0
je 0x4014a2
xor ecx, ecx
mov word [ebp - 0x240], cx
push 0x104
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40142f
push str.Program_Manager
lea ecx, [ebp - 0x240]
push ecx
call fcn.004130c5
add esp, 8
test eax, eax
jne 0x40142f
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x4014a2
lea edx, [ebp - 0x250]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x244]
cmp ecx, dword [ebp - 8]
jne 0x40145c
mov edx, dword [ebp - 0x248]
cmp edx, dword [ebp - 4]
je 0x401463
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x4014a2
push 0x104
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4014a2
push str.workerw
lea edx, [ebp - 0x240]
push edx
call fcn.004130c5
add esp, 8
test eax, eax
jne 0x4014a2
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.00412dbc
mov esp, ebp
pop ebp
ret
Function at 0x401e20
Capabilities:
Enumerate processes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438786
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4441a0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
call fcn.00401fb0
mov dword [ebp - 0x24c], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x401f6c
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x250]
call fcn.00402950
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.00401c20
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x250]
call fcn.004029d0
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x250]
call fcn.00402bd0
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x250]
call fcn.00402dc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.00401e00
mov ecx, dword [ebp + 8]
call fcn.0040f250
push eax
lea ecx, [ebp - 0x250]
call fcn.004024a0
test eax, eax
jne 0x401f40
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00401e00
jmp 0x401f6a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00401e00
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401e8b
jmp 0x401f77
push 0x43cb1c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x10], 0
je 0x401f87
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00412dbc
mov esp, ebp
pop ebp
ret

Function at 0x401fb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402033
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x14]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x401ff4
xor eax, eax
jmp 0x402036
mov dword [ebp - 0xc], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x402019
xor eax, eax
jmp 0x402036
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4066b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4381d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4441a0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x4066f0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x4066fc
mov al, 1
jmp 0x40689f
mov dword [ebp - 0x10], 8
call fcn.00407f00
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00407f00
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00407eb0
add esp, 8
movzx eax, al
test eax, eax
je 0x40673f
xor al, al
jmp 0x40689f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00406af0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00408e30
mov ecx, eax
call fcn.00406bd0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0040a6f0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408e30
mov ecx, eax
call fcn.00406bd0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00406680
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4067ba
cmp dword [ebp - 0x6c], 1
je 0x4067c1
cmp dword [ebp - 0x6c], 3
je 0x40685b
jmp 0x406873
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00408e30
mov ecx, eax
call fcn.00406bd0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x406824
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408e30
mov ecx, eax
call fcn.00406bd0
push eax
call fcn.00414f49
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x406824
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040b050
mov al, byte [ebp - 0x61]
jmp 0x40689f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x406847
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040b050
mov al, byte [ebp - 0x62]
jmp 0x40689f
cmp dword [ebp - 0x38], 0
jne 0x406859
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00406c60
jmp 0x40688b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040b050
mov al, byte [ebp - 0x63]
jmp 0x40689f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040b050
mov al, byte [ebp - 0x64]
jmp 0x40689f
jmp 0x406752
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00412dbc
mov esp, ebp
pop ebp
ret
Function at 0x409960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0040f250
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040f250
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0040f250
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esp, ebp
pop ebp
ret 8

Function at 0x4099a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4441a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x220]
call fcn.0040f250
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0040f250
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 4
call fcn.0040f250
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx ecx, word [ebp - 0x218]
test ecx, ecx
jne 0x409a26
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402a60
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
jmp 0x409a47
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402950
mov edx, dword [ebp - 0x21c]
or edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00412dbc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x409c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00409c90
test eax, eax
je 0x409c37
jmp 0x409c85
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x409c57
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x409bc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 8]
call fcn.00409c00
mov esp, ebp
pop ebp
ret

Function at 0x40bbf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x40bbf9
xor ecx, ecx
jne 0x40bbf9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x40bc1a
mov eax, 0xd
jmp 0x40bc75
xor eax, eax
jne 0x40bc01
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x40bc2b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x40bc80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4441a0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0040b8b0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040baf0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40bceb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0040b8e0
mov eax, dword [ebp - 0x224]
jmp 0x40bd7c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40bd51
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040bc80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40bd48
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0040b8e0
mov eax, dword [ebp - 0x228]
jmp 0x40bd7c
mov dword [ebp - 4], 0x100
jmp 0x40bcf2
lea ecx, [ebp - 0x14]
call fcn.0040ba20
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0040b960
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0040b8e0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00412dbc
mov esp, ebp
pop ebp
ret 4
Function at 0x40fe20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438860
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4441a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x2c]
call fcn.00401d60
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.0040fc50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0x18], 0
je 0x40fe8a
lea ecx, [ebp - 0x24]
push ecx
call fcn.004107d0
add esp, 4
jmp 0x40fea6
lea edx, [ebp - 0x24]
push edx
call fcn.00410270
add esp, 4
test eax, eax
jne 0x40fea6
lea eax, [ebp - 0x24]
push eax
call fcn.004107d0
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x40fecf
mov ecx, dword [ebp - 0x8c]
add ecx, 0x14
call fcn.0040f250
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004108a0
add esp, 8
mov dword [ebp - 0x28], eax
jmp 0x40ff65
mov dword [ebp - 0x84], 0
xor edx, edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], 0
push 0x40
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.004135e0
add esp, 0xc
mov dword [ebp - 0x74], 0x44
mov ecx, dword [ebp - 0x8c]
add ecx, 0x14
call fcn.0040f250
push eax
push 0x43d2cc
lea ecx, [ebp - 0x1c]
call fcn.00410c00
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push str._s__s
lea eax, [ebp - 0x2c]
push eax
call fcn.00401690
add esp, 0x10
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x74]
push edx
push 0
push 0
push 0x600
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.0040f250
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40ffd9
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402dc0
lea ecx, [ebp - 0x2c]
call fcn.00411ab0
push 0
push str.iexplore.exe
lea ecx, [ebp - 0x2c]
call fcn.004023c0
test eax, eax
jle 0x40ffa6
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x88], 0
jne 0x40ffd9
lea ecx, [ebp - 0x24]
push ecx
call fcn.004107d0
add esp, 4
mov ecx, dword [ebp - 0x8c]
add ecx, 0x14
call fcn.0040f250
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.004108a0
add esp, 8
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00410b80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4