joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c00
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x463db0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x4844a0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov dword [esp + 0x74], 0
call fcn.004416d9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402c47
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x18]
push str.cmd.exe__c_systeminfo.exe____
push edx
mov byte [esp + 0x80], 1
call fcn.004021b0
push str.syslog_
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x8c], 2
call fcn.004020d0
mov eax, dword [eax]
push 0x46ba90
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x98], 3
call fcn.004020b0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edi, 0xffffffff
add esp, 0x24
mov byte [esp + 0x74], 2
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402ccf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x74], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402cf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.0044cb90
mov esi, dword [esp + 0x18]
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x200
push 0
push 0
push 0
push esi
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], 0x101
mov word [esp + 0x80], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 0
mov edx, edi
lea ecx, [eax + 0xc]
je 0x402db4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
mov dword [esp + 0x74], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x402d9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x6c
ret 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402dc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
mov dword [esp + 0x74], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x402de8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x6c
ret 4
Function at 0x403350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403369
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4033a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4033a0
lea ebx, [ebx]
cmp esi, eax
jae 0x4033a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403390
cmp esi, eax
jb 0x4033aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4196d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41973d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x41971a
call edi
cmp eax, 3
je 0x41971a
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419712
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
or eax, 0xffffffff
pop esi
ret 4
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419736
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
ret 4
or edx, 0xffffffff
test al, 0x10
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
je 0x419766
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41975d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
pop esi
ret 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419779
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
ret 4

Function at 0x419d00
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4659bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4844a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push edi
push esi
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x419d84
push 8
call fcn.00439297
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x1c], 2
je 0x419d6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419c30
jmp 0x419d6c
xor eax, eax
mov dword [esp + 0xc], eax
push 0x47b6fc
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x24], 1
call fcn.0044de49
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419da5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419dc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8
Function at 0x41ae30
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x465c93
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4844a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
cmp byte [edi + 9], al
mov dword [esp + 0x24], 1
jne 0x41aef7
lea esp, [esp]
mov ebx, dword [esp + 0x30]
push ecx
lea esi, [ebx - 0x10]
mov dword [esp + 0x1c], esp
mov ebp, esp
push esi
call fcn.00401ba0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.00419660
test al, al
je 0x41aef0
push ecx
mov dword [esp + 0x1c], esp
mov ebp, esp
push esi
call fcn.00401ba0
add eax, 0x10
mov dword [ebp], eax
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00419fd0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 2
call fcn.00401ff0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ae70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ae70
mov eax, 1
jmp 0x41aefb
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41af4f
push 8
call fcn.00439297
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0x24], 3
je 0x41af35
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419c30
jmp 0x41af37
xor eax, eax
push 0x47b6fc
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x2c], 1
mov dword [esp + 0x3c], eax
call fcn.0044de49
cmp byte [esp + 0x34], 0
je 0x41af76
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x38], esp
mov ebp, esp
push eax
call fcn.00401ba0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.0041aa00
lea eax, [esi - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41af97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41afbb
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x420113
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x8c], 0
je 0x42017c
cmp dword [esi + 0x80], 0
je 0x420183
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x420183
mov ecx, dword [esi + 0xc8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x420183
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x41fe90
push 0
push 0
call fcn.0044e75f
add esp, 0x18
test eax, eax
mov dword [esi + 0xa8], eax
je 0x42017c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x42017c
mov ecx, dword [eax]
push edi
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
test eax, eax
pop edi
jne 0x42017c
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x4212d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
mov dword [esp + 8], ecx
call fcn.0043a20e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4213ae
call fcn.0043a20e
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4213ae
push edi
call fcn.0043a20e
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x421346
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x421396
test ebp, ebp
je 0x421396
push edi
push eax
push ebp
call fcn.0044e300
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push edi
push esi
call fcn.00420f00
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x466a58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4844a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [esi], vtable.CSelTextColor.0
mov dword [esi + 8], 0xffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
mov dword [esp + 0x18], 0
call eax
cmp dword [esi + 8], 0xffffffff
jne 0x422b09
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x423130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x466ac3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4844a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0043a4a4
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [esp + 0x28], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x30]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [esp + 0x28], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x42324d
mov eax, dword [esp + 0x34]
cmp eax, ecx
lea edi, [esi + 0x20]
je 0x4231b2
push eax
push edi
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x4231bc
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0043a85b
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0043aa04
test ebp, ebp
je 0x4231f4
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.0043aa89
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0043a5b8
cmp dword [esp + 0x38], 0
je 0x42325f
mov ebx, dword [edi]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov ebp, dword [esi + 0x1c]
sub eax, dword [edi + 4]
mov edx, dword [esi + 0x24]
sub ecx, ebx
test ebp, ebp
je 0x423235
mov ebp, dword [ebp + 4]
push 0xcc0020
push edx
push ebx
push ebp
push eax
push ecx
push edx
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x42325f
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x425230
Capabilities:
Send icmp echo request

Disassembly:
sub esp, 0x10
mov eax, dword [0x4844a0]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [str.Data_Buffer]
mov ecx, dword [0x471f24]
mov edx, dword [0x471f28]
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
push ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
call sub.IPHLPAPI.DLL_IcmpCreateFile
push 0x28
mov esi, eax
call fcn.0044d991
add esp, 4
push 0x3e8
push 0x28
push eax
push 0
push 0xc
lea eax, [esp + 0x20]
push eax
push edi
push esi
call sub.IPHLPAPI.DLL_IcmpSendEcho
push esi
mov edi, eax
call sub.IPHLPAPI.DLL_IcmpCloseHandle
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edi, edi
je 0x4252d5
test edx, edx
jg 0x4252bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0044cb81
add esp, 0x10
ret 4
test edx, edx
jg 0x4252e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044cb81
add esp, 0x10
ret 4
Function at 0x42b710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
test edi, edi
mov ebx, ecx
je 0x42b79b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x42b79b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42b743
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
pop edi
pop ebx
mov eax, ecx
ret 4
push esi
push edi
call fcn.0044ee3d
mov esi, eax
push 0x5c
push esi
call fcn.0044ee10
add esp, 0xc
test eax, eax
je 0x42b790
push esi
mov ecx, ebx
mov byte [eax], 0
call fcn.0042b710
test eax, eax
push esi
jne 0x42b77b
call fcn.0044d8b4
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
ret 4
call fcn.0044d8b4
add esp, 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x42b773
pop esi
pop edi
mov eax, 1
pop ebx
ret 4
pop edi
xor eax, eax
pop ebx
ret 4

Function at 0x42b7f0
Capabilities:
Timestomp file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
jne 0x42b81b
pop edi
add esp, 0x28
ret 8
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov esi, eax
sub esi, 1
neg esi
sbb esi, esi
inc esi
je 0x42b884
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push ecx
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov esi, eax
test esi, esi
je 0x42b884
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov esi, eax
test esi, esi
je 0x42b884
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
add esp, 0x28
ret 8
Function at 0x42ba60
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x5340
call fcn.0044da60
mov eax, dword [0x4844a0]
xor eax, esp
mov dword [esp + 0x533c], eax
push esi
mov esi, dword [esp + 0x5348]
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x42ba90
xor eax, eax
jmp 0x42bc18
test esi, esi
jne 0x42ba97
lea esi, [edi + 8]
push esi
call fcn.0042b710
test eax, eax
je 0x42ba89
push ebx
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0042b600
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x10]
push ecx
call ebx
lea edx, [esp + 0x10]
sub edx, 1
cmp byte [eax + edx], 0x5c
jne 0x42bad2
mov eax, 1
jmp 0x42bc17
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x248]
push eax
call esi
lea ecx, [esp + 0x244]
push ecx
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x244]
sub edx, 1
cmp byte [eax + edx], 0x5c
je 0x42bb12
push 0x46eab4
lea eax, [esp + 0x248]
push eax
call ebx
cmp dword [esp + 0x5354], 0
je 0x42bb3a
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.0044ee10
add esp, 8
test eax, eax
je 0x42bb3a
add eax, 1
push eax
lea edx, [esp + 0x14]
push edx
call esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x248]
push ecx
call ebx
lea edx, [esp + 0x244]
push edx
mov ecx, edi
call fcn.0042b7b0
test eax, eax
je 0x42bb90
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42bb90
mov ecx, dword [edi + 4]
push ecx
call fcn.00436720
test eax, eax
je 0x42bb97
xor eax, eax
jmp 0x42bc17
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, edi
mov eax, dword [edi + 4]
push 0x5000
lea edx, [esp + 0x350]
push edx
push eax
call fcn.00436090
mov esi, eax
test esi, esi
jle 0x42bbe4
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x358]
push edx
push ebx
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x42bbe1
cmp dword [esp + 0x10], esi
je 0x42bba0
or esi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 4]
push eax
call fcn.00436290
test esi, esi
pop ebp
jne 0x42bc10
mov ecx, dword [esp + 0x228]
push ecx
lea edx, [esp + 0x248]
push edx
mov ecx, edi
call fcn.0042b7f0
xor eax, eax
test esi, esi
sete al
pop ebx
mov ecx, dword [esp + 0x5344]
pop edi
pop esi
xor ecx, esp
call fcn.0044cb81
add esp, 0x5340
ret 8
Function at 0x42be10
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467730
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4844a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
xor ebx, ebx
cmp dword [esi], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
je 0x42be63
push 0x47d2d4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.0044de49
lea ecx, [ebp - 0x18]
push ecx
push 0x472714
push 1
push edi
push 0x472704
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x42be93
push 0x47d2d4
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], 2
call fcn.0044de49
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, edi
jge 0x42bebb
push 0x47d2d4
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 3
call fcn.0044de49
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x1c]
call eax
cmp eax, edi
jge 0x42bee0
push 0x47d2d4
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], 4
call fcn.0044de49
mov dword [ebp - 4], 0xffffffff
jmp 0x42bf01
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x42bf10
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x42bf1f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436890
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x43689f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x4827a4]
test eax, eax
je 0x4368ad
call fcn.00436740
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x4369a1
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x48db18]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48db18]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x48db18]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48db18]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x48db18]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48db18]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x48db18]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48db18]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x4368c7
pop edi
pop ebx
test edx, edx
je 0x4369c1
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x48db18]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x4369a5
not eax
pop esi
ret 0xc