joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ce80
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100133fe
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10023330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
call ebx
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push esi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push str.cx___d__cy___d
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0x10
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1000cf15
lea ecx, [ebp - 0x20]
push ecx
push eax
call ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov esi, dword [ebx + 0xac]
mov ebx, dword [ebx + 0xa8]
push 0x40
push esi
mov dword [ebp - 0x30], eax
call edi
add esp, 4
add eax, 2
push eax
push ebx
call edi
add esp, 4
push eax
push esi
call edi
mov ecx, dword [ebp - 0x2c]
add esp, 4
sub ecx, dword [ebp - 0x30]
sub ecx, eax
push ecx
push ebx
call edi
mov ecx, dword [ebp - 0x34]
add esp, 4
sub ecx, eax
mov eax, dword [ebp - 0x24]
push ecx
push dword [eax + 0x94]
mov ecx, eax
call sub.mfc140.dll_Ordinal_14048
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f28b
mov esp, ebp
pop ebp
ret

Function at 0xd61084
Capabilities:
Encode data using xor

Disassembly:
jmp 0xd6108e
pushal
call 0xd61094
pop ebp
sub ebp, 0x10
sub ebp, 0x961084
jmp 0xd610aa
mov eax, 0x961084
add eax, ebp
add eax, 0x4c
mov ecx, 0x609
mov edx, 0xaf11297f
xor byte [eax], dl
inc eax
dec ecx
jne 0xd610c1
jmp 0xd610d4
hlt
Function at 0x40db6e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, ecx
test esi, esi
jns 0x40db9c
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
and eax, 0xfffffffe
and esi, 0x7fffffff
push eax
add esi, edx
push esi
call fcn.0040dc1d
add esp, 0xc
jmp 0x40dc19
push ebx
mov ecx, 0x7fffffff
and esi, ecx
add esi, edx
lea eax, [ebp + 8]
mov ebx, dword [esi]
and dword [ebp + 8], 0
push eax
push 4
push dword [esi + 4]
and ebx, ecx
add ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40dc18
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
mov ecx, dword [eax + 0x1c]
push 0
sub ecx, edi
test byte [ebp + 0xc], 0x40
pop eax
setne al
lea eax, [eax*2 - 1]
push eax
mov eax, dword [0x4f8d84]
imul eax, dword [esi]
push eax
mov eax, dword [0x4f8d8c]
imul eax, dword [esi]
push eax
mov eax, dword [0x4f8d80]
mov edx, dword [esi + 4]
xor eax, ecx
push eax
mov ecx, ebx
call fcn.0040e19c
add esp, 0x14
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x40e14c
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [ecx + 0x3c]
add ebx, ecx
push ebp
movzx eax, word [ebx + 0x14]
lea ebp, [ebx + 0x18]
add ebp, eax
push esi
xor eax, eax
xor esi, esi
push edi
mov dword [esp + 0x10], edx
cmp ax, word [ebx + 6]
jae 0x40e18c
mov edi, ebp
push edi
push edx
call fcn.0041ddc6
pop ecx
pop ecx
test eax, eax
je 0x40e194
movzx eax, word [ebx + 6]
mov edx, dword [esp + 0x10]
inc esi
add edi, 0x28
cmp esi, eax
jb 0x40e16f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
imul esi, esi, 0x28
lea eax, [esi + ebp]
jmp 0x40e18e
Function at 0x40e22d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4298fd
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
push edi
mov ebx, edx
test esi, esi
je 0x40e2f5
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi + 0x7c], 0
je 0x40e2f5
mov eax, dword [edi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
add ecx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x24]
add ecx, esi
add edx, esi
cmp byte [ebx], 0xff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
je 0x40e2b0
push ebx
call fcn.0041d660
push eax
push ebx
call fcn.00411a8c
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
jmp 0x40e2ba
mov ecx, dword [ebx + 1]
xor ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
xor ebx, ebx
cmp dword [eax + 0x18], ebx
jbe 0x40e2f5
mov eax, dword [edx + ebx*4]
test eax, eax
je 0x40e2eb
add eax, esi
push eax
mov dword [esp + 0x20], eax
call fcn.0041d660
push eax
push dword [esp + 0x24]
call fcn.00411a8c
add esp, 0xc
cmp dword [esp + 0x10], eax
je 0x40e309
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, dword [eax + 0x18]
jb 0x40e2c1
xor eax, eax
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
movzx eax, word [eax + ebx*2]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [edi + 0x78]
jb 0x40e405
mov eax, dword [edi + 0x7c]
add eax, dword [edi + 0x78]
cmp ecx, eax
jae 0x40e405
lea eax, [ecx + esi]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402134
xor ebx, ebx
mov dword [esp + 0x64], ebx
push 1
push ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 0x2e
call fcn.004022a5
mov esi, eax
cmp esi, 0xffffffff
je 0x40e3f2
push esi
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.00410b25
mov byte [esp + 0x64], 1
cmp dword [eax + 0x14], 0x10
jb 0x40e380
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x40]
call fcn.00402161
test edi, edi
je 0x40e3f2
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.00410b25
mov byte [esp + 0x64], 2
cmp dword [eax + 0x14], 0x10
jb 0x40e3bb
mov eax, dword [eax]
push ebx
push dword [ebp + 0xc]
mov edx, eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0040e22d
add esp, 0xc
mov esi, eax
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x40]
call fcn.00402161
or dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00402161
mov eax, esi
jmp 0x40e2f7
or dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00402161
jmp 0x40e2f5
lea eax, [ecx + esi]
jmp 0x40e2f7
Function at 0x40ec9e
Capabilities:
Parse pe header

Disassembly:
push 8
push 0x436a18
call fcn.004288a0
mov esi, ecx
and dword [ebp - 4], 0
lea edi, [esi + 0x80]
push dword [ebp + 0xc]
push 0x40
push 0
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed9f
or dword [ebp - 4], 0xffffffff
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40ed8e
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x40ed8e
mov dword [ebp - 4], 1
lea edi, [esi + 0xc0]
push dword [ebp + 0xc]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed9f
or dword [ebp - 4], 0xffffffff
cmp dword [edi], 0x4550
jne 0x40ed8e
mov eax, 0x10b
cmp word [esi + 0xd8], ax
jne 0x40ed8e
movzx eax, word [esi + 0xc6]
test ax, ax
je 0x40ed8e
mov edi, eax
imul edi, edi, 0x28
movzx ecx, word [esi + 0xd4]
mov ebx, dword [esi + 0xbc]
add ecx, 0x18
add ebx, ecx
push edi
call fcn.0041ded8
pop ecx
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x40ed63
push 8
jmp 0x40eda5
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push edi
push ebx
push eax
call dword [ebp + 8]
add esp, 0x10
test al, al
je 0x40ed9f
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + edi]
mov dword [esi + 0x18], eax
xor eax, eax
jmp 0x40eda6
push 0xb
jmp 0x40eda5
or dword [ebp - 4], 0xffffffff
push 0x1e
pop eax
call fcn.004288db
ret 8

Function at 0x411a8c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov ecx, 0xff077af4
test edi, edi
je 0x411ac5
movzx eax, byte [ebx]
cdq
push 0
xor esi, edx
push 0x1000193
xor ecx, eax
push esi
push ecx
inc ebx
call fcn.00428270
xor esi, esi
mov ecx, eax
dec edi
jne 0x411aa7
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411ace
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x4fc180]
or eax, dword [0x4fc184]
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0xc], ebx
mov edi, ecx
jne 0x411b2e
xor esi, esi
mov eax, esi
push 8
cdq
pop ebx
mov ecx, eax
shrd eax, edx, 1
and ecx, 1
shr edx, 1
or ecx, 0
je 0x411b10
xor eax, 0xd7870f42
xor edx, 0xc96c5795
dec ebx
jne 0x411af5
mov dword [esi*8 + 0x4fb988], eax
mov dword [esi*8 + 0x4fb98c], edx
inc esi
cmp esi, 0x100
jl 0x411aef
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not ecx
not edx
test edi, edi
je 0x411b5f
movzx eax, byte [edi]
xor eax, ecx
shrd ecx, edx, 8
and eax, 0xff
shr edx, 8
xor ecx, dword [eax*8 + 0x4fb988]
xor edx, dword [eax*8 + 0x4fb98c]
inc edi
dec ebx
jne 0x411b3c
pop edi
not ecx
pop esi
not edx
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417075
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a3c2
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x4fb958], 0
push esi
je 0x417114
mov esi, 0x4fb948
push ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041929d
mov ecx, eax
call fcn.004194c6
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x4170c5
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call fcn.00410db9
and dword [esp + 0x44], 0
mov ecx, esi
call fcn.00419152
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4170f6
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402161
cmp dword [0x4fb958], 0
jne 0x4170a2
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov eax, 0x4292fc
call fcn.0041e61c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0x10
mov edi, edx
jb 0x417142
mov eax, dword [esi]
jmp 0x417144
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4171f2
push ecx
push ecx
mov ecx, esi
call fcn.004187a8
cmp eax, 0xffffffff
je 0x417197
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00410b25
and dword [ebp - 4], 0
mov edx, edi
mov ecx, eax
call fcn.00417124
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402161
inc bl
je 0x417197
xor al, al
jmp 0x4171fe
mov ecx, dword [0x4f9c70]
test ecx, ecx
je 0x4171b4
cmp dword [esi + 0x14], 0x10
jb 0x4171ab
mov eax, dword [esi]
jmp 0x4171ad
mov eax, esi
push 0
push eax
call ecx
jmp 0x4171de
cmp dword [0x4f9c50], 0
je 0x4171dc
push 0x18
pop eax
call fcn.0041ea40
push esp
push 0x435110
call fcn.0040df22
push eax
call dword [0x4f9c50]
add esp, 0xc
jmp 0x417193
xor eax, eax
test eax, eax
je 0x417193
push esi
mov ecx, 0x4fb948
call fcn.004190cf
mov byte [edi], 0
jmp 0x4171fc
test eax, 0x410
je 0x417193
mov byte [edi], 1
mov al, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417e5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a3a6
call fcn.0041e61c
mov eax, 0x1030
call fcn.0041ea40
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1048], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push 0x4f4b18
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf
pop edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x1048], ebx
xor ebp, ebp
inc ebp
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x417f52
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1068]
mov dword [esp + 0x24], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x3c], bl
test eax, eax
jne 0x417f48
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 2
ja 0x417f48
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004024bb
mov dword [esp + 0x1048], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00410a21
mov byte [esp + 0x1048], bl
lea ecx, [esp + 0x20]
call fcn.00402161
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1040]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41a6bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [0x4f4120]
push edi
test edx, edx
je 0x41a6e6
lea eax, [edx - 1]
shr eax, 2
inc eax
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
sub edx, 4
dec eax
jne 0x41a6d8
mov eax, dword [ebp + 8]
shr edx, 2
lea edi, [eax + edx*4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x41a717
dec edx
shr edx, 2
inc edx
imul ecx, ecx, 0x4848c0c0
xor ecx, esi
mov eax, ecx
not eax
xor dword [edi], eax
lea edi, [edi + 4]
dec edx
je 0x41a717
mov esi, dword [0x4f4120]
jmp 0x41a6fb
pop edi
pop esi
pop ebp
ret
Function at 0x425ff2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f3b10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041afae]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041f5be
mov dword [ebp - 0x14], eax
cmp dword [0x4f9b78], edi
jne 0x4260e3
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x426070
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4261c3
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4261c3
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4261c3
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4f9b78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4f9b7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4f9b80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f9b88], eax
test eax, eax
je 0x4260e0
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f9b84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x426108
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4260fb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42611d
push 4
pop eax
jmp 0x4261c5
cmp dword [ebp - 0x14], edi
je 0x42611d
push dword [0x4f9b78]
call dword [fcn.0041afb2]
push 3
jmp 0x426102
mov eax, dword [0x4f9b84]
mov ebx, dword [fcn.0041afb2]
cmp eax, esi
je 0x42617b
cmp dword [0x4f9b88], esi
je 0x42617b
push eax
call ebx
push dword [0x4f9b88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42617b
test eax, eax
je 0x42617b
call ecx
test eax, eax
je 0x426170
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x426170
test byte [ebp - 8], 1
jne 0x42617b
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4261ab
mov eax, dword [0x4f9b7c]
cmp eax, esi
je 0x4261a8
push eax
call ebx
test eax, eax
je 0x4261a8
call eax
mov edi, eax
test edi, edi
je 0x4261a8
mov eax, dword [0x4f9b80]
cmp eax, esi
je 0x4261a8
push eax
call ebx
test eax, eax
je 0x4261a8
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4f9b78]
call ebx
test eax, eax
je 0x4261c3
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4261c5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f31f
leave
ret
Function at 0x401350
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4137b8
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x78], ecx
test eax, eax
je 0x401517
test edi, edi
je 0x401517
test ecx, ecx
je 0x401517
test ebx, ebx
je 0x401517
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x401517
push 0x4198d8
lea ecx, [ebp - 0x74]
call fcn.004021a0
push edi
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00402f30
push 0x4198d0
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00402f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x78]
mov edx, eax
call fcn.00402f30
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.004020e0
lea ecx, [ebp - 0x5c]
call fcn.004020e0
lea ecx, [ebp - 0x74]
call fcn.004020e0
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x401501
cmp eax, 0xffffffff
je 0x401501
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401501
cmp dword [ebp - 0x80], esi
jne 0x401501
lea ecx, [ebp - 0x78]
call fcn.00401090
push 0x40
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xdc], 0x44
push 0
push eax
call fcn.00405660
add esp, 0xc
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xdc]
push ecx
push dword [ebp - 0x7c]
movups xmmword [ebp - 0x94], xmm0
push 0
push 0x2000000
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401501
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x7c]
mov bl, 1
call fcn.00401070
lea ecx, [ebp - 0x84]
call fcn.00401070
jmp 0x401503
xor bl, bl
lea ecx, [ebp - 0x78]
call fcn.00401070
lea ecx, [ebp - 0x2c]
call fcn.004020e0
mov al, bl
jmp 0x401519
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004033cd
mov esp, ebp
pop ebp
ret
Function at 0x4018c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push edi
mov edi, ecx
test eax, eax
je 0x4019a0
test edx, edx
je 0x4019a0
test edx, 0xffff0000
je 0x4019a0
cmp dword [ebp + 0xc], 0
je 0x4019a0
push esi
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40192e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x40192e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x40192e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x401936
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
test eax, eax
je 0x40198e
cmp eax, 0xffffffff
je 0x40198e
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40198e
cmp dword [ebp - 4], esi
jne 0x40198e
lea ecx, [ebp - 8]
mov esi, 1
call fcn.00401070
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 8]
xor esi, esi
call fcn.00401070
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x66b30bab
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x35c42011
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219