joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41078c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00403844
xor eax, eax
push ebp
push 0x410868
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [edi + 0x18], 0
je 0x41084d
cmp byte [edi + 0x19], 0
je 0x41084d
mov eax, dword [ebp - 4]
call fcn.00403690
mov esi, eax
test esi, esi
je 0x41084d
cmp esi, 0x7d0
jbe 0x410828
mov ebx, 1
cmp esi, ebx
jbe 0x410828
lea eax, [ebp - 8]
call fcn.00403434
lea eax, [ebp - 8]
push eax
mov ecx, 0x7d0
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00403898
push 0
mov eax, dword [ebp - 8]
call fcn.00403690
push eax
lea eax, [ebp - 8]
call fcn.00403860
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_send
add ebx, 0x7d0
jmp 0x4107e4
cmp esi, 0x7d0
ja 0x41084d
push 0
mov eax, dword [ebp - 4]
call fcn.00403690
push eax
lea eax, [ebp - 4]
call fcn.00403860
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41086f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403458
ret

Function at 0x410f98
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x204], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41107f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x411049
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x200]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.00403434
push 0x65
lea eax, [ebp - 0x6d]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x6d]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x41100b
pop dword fs:[0]
add esp, 8
jmp 0x41105e
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x411033
push dword [edi]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 0x204]
call fcn.004070b4
mov edx, dword [ebp - 0x204]
lea eax, [ebp - 8]
call fcn.00403698
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x411012
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x411053
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00403488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411086
lea eax, [ebp - 0x204]
call fcn.00403434
lea eax, [ebp - 8]
call fcn.00403434
ret

Function at 0x4121b0
Capabilities:
Terminate process

Disassembly:
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
test eax, eax
je 0x4121c6
push 0
push eax
call sub.KERNEL32.DLL_TerminateProcess
ret
Function at 0x412b28
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x412b30
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x412d57
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov ecx, dword [0x41734c]
mov edx, dword [0x417348]
mov eax, 0x80000000
call fcn.00410ea4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040f694
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.004034cc
cmp dword [ebp - 4], 0
je 0x412b8a
mov eax, dword [ebp - 4]
call fcn.00406db8
test al, al
jne 0x412b94
call fcn.00412a84
call fcn.00410cec
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x417350]
mov edx, dword [0x417348]
mov eax, 0x80000000
call fcn.00410ea4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040f694
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.004034cc
cmp dword [ebp - 8], 0
je 0x412bd6
mov eax, dword [ebp - 8]
call fcn.00406db8
test al, al
jne 0x412c10
lea eax, [ebp - 8]
call fcn.004128dc
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040f438
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004034cc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x417350]
mov edx, dword [0x417348]
mov eax, 0x80000000
call fcn.00410dd4
jmp 0x412c1a
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004127f0
lea eax, [ebp - 4]
push eax
mov ecx, dword [0x41734c]
mov edx, dword [0x417348]
mov eax, 0x80000000
call fcn.00410ea4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040f694
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.004034cc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00406e58
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00406ac0
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
call fcn.00410d9c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00406e58
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00406ac0
mov edx, dword [ebp - 0x24]
pop eax
call fcn.004037a0
jne 0x412cae
call fcn.00410cec
mov eax, dword [0x417358]
call fcn.00416178
call fcn.00410f64
cmp al, 1
jne 0x412cf2
xor eax, eax
call fcn.00403398
jmp 0x412cf2
xor eax, eax
push ebp
push 0x412ce8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x418710]
push eax
call sub.KERNEL32.DLL_ReleaseMutex
push 0xa
mov eax, dword [ebp - 4]
call fcn.00403854
push eax
call sub.KERNEL32.DLL_WinExec
xor eax, eax
call fcn.00403398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412cf2
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00406e58
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00406ac0
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
call fcn.00410d9c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00406e58
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00406ac0
mov edx, dword [ebp - 0x38]
pop eax
call fcn.004037a0
je 0x412d3c
xor eax, eax
call fcn.00403398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412d5e
lea eax, [ebp - 0x40]
mov edx, 0x10
call fcn.00403458
ret
Function at 0x4161d4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403844
xor eax, eax
push ebp
push 0x41634e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40ebec]
call fcn.00402a94
mov ebx, eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004034cc
lea eax, [ebp - 0x14c]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0040ec40
mov eax, dword [ebp - 0x14c]
mov edx, 0x416364
call fcn.004037a0
je 0x41627e
push dword [ebp - 4]
push 0x416364
push 0x416370
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403750
lea eax, [ebp - 8]
mov ecx, 0x416364
mov edx, dword [ebp - 4]
call fcn.004036dc
jmp 0x41628b
lea eax, [ebp - 4]
mov edx, 0x416370
call fcn.00403698
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 4]
call fcn.00403854
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x416323
mov eax, dword [ebp - 0x148]
add eax, 0xfffffff0
sub eax, 8
jb 0x4162bd
add eax, 0xffffffe8
sub eax, 8
jae 0x41630c
lea eax, [ebp - 0x11c]
cmp eax, 0x2e
je 0x41630c
lea eax, [ebp - 0x11c]
cmp eax, 0x416374
je 0x41630c
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00403664
mov ecx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 8]
call fcn.004036dc
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.KERNEL32.DLL_FindNextFileA
neg eax
sbb eax, eax
neg eax
test al, al
jne 0x4162a7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416355
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00403458
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403458
ret
Function at 0x58d000
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x58d00c
pop eax
sub eax, 0x8ca0c
push 0
pop edi
push eax
xor dword [eax + 0x22c], 0x66a7218
xor dword [eax + 0x33c], 0xbc146b8
sub dword [eax + 0x280], 0x70774a66
add dword [eax + 0x3e0], 0x23cb18d4
not dword [eax + 0x80]
not dword [eax + 0x2c]
sub dword [eax + 0xd8], 0x66d31b98
add dword [eax + 0x31c], 0x1b2e1fda
add dword [eax + 0x370], 0x84f3a62
sub dword [eax + 0x15c], 0x26443bd9
not dword [eax + 0x2d8]
not dword [eax + 0x8c]
sub dword [eax + 0x12c], 0x4a6562f2
xor dword [eax + 0xcc], 0x65b77fde
not dword [eax + 0x274]
add dword [eax + 8], 0x6e892495
sub dword [eax + 0x3c0], 0x6f5c45d3
sub dword [eax + 0x1a0], 0x3f521574
add dword [eax + 0x338], 0x252b0ac9
sub dword [eax + 0x380], 0x4108120c
not dword [eax + 0x284]
invalid
invalid

Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x424f2fbc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5f4f31c3
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x41e62f
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41e647
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x41e68f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x41e675
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x41e68f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.004134d9
and dword [eax], 0
jmp 0x41e66a
mov esp, ebp
pop ebp
ret
Function at 0x42eb4d
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x42eb74
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
and dword [eax + 0x10], 0
jmp 0x42eb88
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x42eb88
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret

Function at 0x42ee60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x42ee84
xor eax, eax
jmp 0x42efcb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x42eea2
xor eax, eax
jmp 0x42efcb
push 0x72d6
lea eax, [ebp - 0xc]
push eax
push 0x31ea
push 1
push dword [ebp - 8]
call fcn.0042e90b
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x42eeca
xor eax, eax
jmp 0x42efcb
push 0x59ba
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push 0x1907
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0042ecb7
add esp, 0x20
push dword [ebp - 4]
push 0x7454
push 0x7800
push 0x21cc
push 0x6cff
push 0x6476
push 1
push dword [ebp - 8]
push 0x5651
push 0x1a59
push dword [ebp + 8]
push 0x459b
call fcn.0042c1a5
add esp, 0x30
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x42ef4e
push 0x5b38
push dword [ebp - 4]
push 1
push dword [ebp - 0x14]
call fcn.0042e2f8
add esp, 0x10
push dword [ebp - 4]
call fcn.0042e7eb
pop ecx
test eax, eax
jne 0x42ef5f
xor eax, eax
jmp 0x42efcb
push 0x3946
push 0
push dword [ebp - 4]
call fcn.0042e5b4
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x42efb3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x42ef90
xor eax, eax
jmp 0x42efcb
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42efa9
xor eax, eax
jmp 0x42efcb
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x42efc4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x42efc8
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x45043c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x45048c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x45046c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x45048a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x450488
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x450461
jmp 0x4504a3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x4905ed
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x49e56f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b1484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0048e494
mov dword [ebp - 0x14], eax
cmp dword [0xaabb90], esi
jne 0x49e662
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x49e5ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x49e742
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x49e742
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49e742
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaabb90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaabb94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaabb98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaabba0], eax
test eax, eax
je 0x49e65f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaabb9c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49e687
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49e67a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49e69c
push 4
pop eax
jmp 0x49e744
cmp dword [ebp - 0x14], esi
je 0x49e69c
push dword [0xaabb90]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x49e681
mov eax, dword [0xaabb9c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49e6fa
cmp dword [0xaabba0], edi
je 0x49e6fa
push eax
call ebx
push dword [0xaabba0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49e6fa
test eax, eax
je 0x49e6fa
call ecx
test eax, eax
je 0x49e6ef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x49e6ef
test byte [ebp - 8], 1
jne 0x49e6fa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49e72a
mov eax, dword [0xaabb94]
cmp eax, edi
je 0x49e727
push eax
call ebx
test eax, eax
je 0x49e727
call eax
mov esi, eax
test esi, esi
je 0x49e727
mov eax, dword [0xaabb98]
cmp eax, edi
je 0x49e727
push eax
call ebx
test eax, eax
je 0x49e727
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaabb90]
call ebx
test eax, eax
je 0x49e742
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49e744
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d93b
mov esp, ebp
pop ebp
ret
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x72997d0c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x30fa28c5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
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
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x404110
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x9cc0ffc2
jmp 0x404150
mov dword [ebp - 0x14], 0x689caf52
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x14]
cmp eax, 0x9cc0ffc1
jg 0x404170
cmp eax, 0x88934c65
jne 0x404150
jmp 0x404141
cmp eax, 0x25e80410
jg 0x4041a0
cmp eax, 0x9cc0ffc2
jne 0x404150
mov eax, 0x25e80411
cmp dword [ebp - 4], 0
je 0x40418e
mov eax, 0x6d21f6fa
mov dword [ebp - 0x14], eax
jmp 0x404150
cmp eax, 0x4db970c0
jg 0x4041be
cmp eax, 0x25e80411
jne 0x404150
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0x689caf52
jmp 0x404150
cmp eax, 0x689caf51
jg 0x4041df
cmp eax, 0x4db970c1
jne 0x404150
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0x88934c65
jmp 0x404150
cmp eax, 0x6d21f6fa
je 0x404200
cmp eax, 0x77d052b9
jne 0x40420c
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0x4db970c1
jmp 0x404150
mov dword [ebp - 0x14], 0x4db970c1
jmp 0x404150
cmp eax, 0x689caf52
jne 0x404150
mov eax, dword [ebp - 8]
add esp, 0x1c
pop ebp
ret

Function at 0x404220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
sub esp, 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x2f5a5dd3
jmp 0x404260
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0x447370b3
nop
mov eax, dword [ebp - 0x14]
cmp eax, 0xd5c79d89
jg 0x404280
cmp eax, 0xb80f4b94
jne 0x404260
jmp 0x404251
cmp eax, 0x2f5a5dd2
jg 0x4042a0
cmp eax, 0xd5c79d8a
jne 0x404260
mov dword [ebp - 0x14], 0x447370b3
jmp 0x404260
cmp eax, 0x447370b2
jg 0x4042c3
cmp eax, 0x2f5a5dd3
jne 0x404260
mov eax, 0xd5c79d8a
cmp dword [ebp - 4], 0
je 0x4042be
mov eax, 0x6ccc3c3f
mov dword [ebp - 0x14], eax
jmp 0x404260
cmp eax, 0x6ccc3c3e
jg 0x4042e4
cmp eax, 0x447370b3
jne 0x404260
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0x73f23142
jmp 0x404260
cmp eax, 0x6ccc3c3f
je 0x4042fe
cmp eax, 0x73f23142
jne 0x404311
mov dword [ebp - 0x14], 0x70d2efe7
jmp 0x404260
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0x70d2efe7
jmp 0x404260
cmp eax, 0x70d2efe7
jne 0x404260
mov eax, dword [ebp - 8]
add esp, 0x1c
pop ebp
ret