joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c02a4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c048f
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4c04a8
mov eax, esi
call fcn.004bdeb0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00403e34
lea ecx, [ebp - 0xc]
mov edx, 0x4c04bc
mov eax, esi
call fcn.004bdeb0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00403e34
lea ecx, [ebp - 0xc]
mov edx, 0x4c04d4
mov eax, esi
call fcn.004bdeb0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
call fcn.00403e34
lea ecx, [ebp - 0xc]
mov edx, 0x4c04f0
mov eax, esi
call fcn.004bdeb0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x14]
call fcn.00403e34
lea ecx, [ebp - 0xc]
mov edx, 0x4c050c
mov eax, esi
call fcn.004bdeb0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x24]
call fcn.00403e34
lea ecx, [ebp - 0x10]
mov edx, 0x4c0524
mov eax, esi
call fcn.004bdeb0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409614
mov eax, dword [ebp - 0xc]
or edx, 0xffffffff
call fcn.00409a94
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0xc]
mov edx, 0x4c053c
mov eax, esi
call fcn.004bdeb0
mov eax, dword [ebp - 0xc]
call fcn.004b7cac
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0xc]
mov edx, 0x4c054c
mov eax, esi
call fcn.004bdeb0
mov eax, dword [ebp - 0xc]
call fcn.004b7cac
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0xc]
mov edx, 0x4c0564
mov eax, esi
call fcn.004bdeb0
mov eax, dword [ebp - 0xc]
or edx, 0xffffffff
call fcn.00409a94
inc eax
je 0x4c043f
lea ecx, [ebp - 0xc]
mov edx, 0x4c0564
mov eax, esi
call fcn.004bdeb0
mov eax, dword [ebp - 0xc]
call fcn.0040999c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ac14
fstp qword [ebp - 0x18]
wait
call fcn.0040afd8
fadd qword [ebp - 0x18]
fstp qword [ebx + 0x38]
wait
jmp 0x4c045a
lea ecx, [ebp - 0xc]
mov edx, 0x4c0564
mov eax, esi
call fcn.004bdeb0
mov eax, dword [ebp - 0xc]
call fcn.004b7cac
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0xc]
mov edx, 0x4c0574
mov eax, esi
call fcn.004bdeb0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x48]
call fcn.00403e34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0496
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403e04
ret
Function at 0x4e639f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x536dfa
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4e63f7
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x536e1b
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4e63ed
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4e63fb
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x515364
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404210
mov eax, dword [ebp - 8]
call fcn.00404210
xor eax, eax
push ebp
push 0x5153f5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5153cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404220
push eax
mov eax, dword [ebp - 4]
call fcn.00404220
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5153da
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5153fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e04
ret

Function at 0x5197f4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
mov dword [ebp - 4], eax
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x94], 5
jae 0x519832
push 0
mov ecx, 0x10
xor edx, edx
mov eax, 0xe
call fcn.005281a0
mov esp, ebp
pop ebp
ret
Function at 0x520280
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404210
xor eax, eax
push ebp
push 0x5203f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00403de0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00404220
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5203cd
mov eax, dword [ebp - 0xc]
call fcn.004027c8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5203c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00404220
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x5203b0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5203fc
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5203b0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0040992c
push dword [ebp - 0x20]
push 0x520408
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040992c
push dword [ebp - 0x24]
push 0x520408
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.0040992c
push dword [ebp - 0x28]
push 0x520408
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.0040992c
push dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov edx, 7
call fcn.0040411c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5203cd
mov eax, dword [ebp - 0x14]
call fcn.004027e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5203f7
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00403e04
lea eax, [ebp - 4]
call fcn.00403de0
ret

Function at 0x522b68
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], 0xf
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret
Function at 0x524e64
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404210
xor eax, eax
push ebp
push 0x524f89
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00522b68
test al, al
jne 0x524efd
push 0x40
lea eax, [ebp - 0x14]
mov edx, 6
imul edx, edx, 0x20
jno 0x524eb2
call fcn.0040308c
mov ecx, dword [0x537e88]
mov ecx, dword [ecx]
lea edx, [ecx + edx*8]
call fcn.00404000
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, 0xc
imul edx, edx, 0x20
jno 0x524ed8
call fcn.0040308c
mov ecx, dword [0x537a10]
mov ecx, dword [ecx]
lea edx, [ecx + edx*8]
call fcn.00404000
mov edx, dword [ebp - 0x18]
mov eax, dword [0x537ddc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
pop ecx
call fcn.00527fac
jmp 0x524f66
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00403e78
cmp byte [ebp - 9], 0
je 0x524f3e
push dword [ebp - 0x10]
push 0x524fa0
push 0x524fb0
push 0x524fc0
lea eax, [ebp - 0x14]
mov edx, dword [0x537e4c]
call fcn.00404000
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.0040411c
push 1
push 0x524fc8
push 0x524fc8
mov eax, dword [ebp - 0x10]
call fcn.00404220
push eax
push 0x524fcc
mov eax, dword [ebp - 8]
call fcn.0043a738
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524f90
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403e04
lea eax, [ebp - 4]
call fcn.00403de0
ret

Function at 0x527204
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, 0x104
call fcn.004027c8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
xor eax, eax
mov al, byte [ebp - 1]
push eax
mov eax, dword [0x537bd0]
mov eax, dword [eax]
call fcn.0043a738
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00402ec8
mov eax, dword [ebp - 0xc]
call fcn.004027e0
mov esp, ebp
pop ebp
ret
Function at 0x527260
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x527360
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x48c130]
call fcn.0048c1dc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x527333
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.0048c274
xor ecx, ecx
mov edx, 0x527378
mov eax, dword [ebp - 8]
call fcn.0048c2d8
xor eax, eax
push ebp
push 0x5272e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x5273b0
mov eax, dword [ebp - 8]
call fcn.0048c3fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5272ea
cmp byte [ebp - 1], 0
je 0x527329
push 0x5273c4
lea edx, [ebp - 0x10]
mov eax, dword [0x537ddc]
mov eax, dword [eax]
call fcn.00451308
push dword [ebp - 0x10]
push 0x5273d0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040411c
mov ecx, dword [ebp - 0xc]
mov edx, 0x5273b0
mov eax, dword [ebp - 8]
call fcn.0048c41c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52733d
mov eax, dword [ebp - 8]
call fcn.0040314c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527367
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403e04
ret
Function at 0xe56c90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa48000]
push edi
jmp 0xe56caa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe56cb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe56ca0
mov eax, 1
add ebx, ebx
jne 0xe56cc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe56cd4
jne 0xe56cf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe56cf3
dec eax
add ebx, ebx
jne 0xe56ce0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xe56cb8
add ebx, ebx
jne 0xe56cef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xe56d45
xor ecx, ecx
sub eax, 3
jb 0xe56d0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe56d7a
sar eax, 1
mov ebp, eax
jmp 0xe56d16
add ebx, ebx
jne 0xe56d16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe56ce4
inc ecx
add ebx, ebx
jne 0xe56d24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe56ce4
add ebx, ebx
jne 0xe56d31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe56d26
jne 0xe56d42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe56d26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe56d64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe56d56
jmp 0xe56ca6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe56d64
add edi, ecx
jmp 0xe56ca6
pop esi
mov edi, esi
mov ecx, 0xbee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe56d82
cmp byte [edi], 6
jne 0xe56d82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0xe56d87
lea edi, [esi + 0xa54000]
mov eax, dword [edi]
or eax, eax
je 0xe56df6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa86c30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa86cbc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe56db4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa86cc0]
or eax, eax
je 0xe56df0
mov dword [ebx], eax
add ebx, 4
jmp 0xe56dd1
call dword [esi + 0xa86cd0]
mov ebp, dword [esi + 0xa86cc4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xe56e2a
sub esp, 0xffffff80
jmp 0x419acc
Function at 0x4020a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
lea esi, [ebp + 0xc]
mov ebx, dword [sym.imp.msvcrt.dll__iob]
add ebx, 0x40
mov dword [esp + 8], 0x17
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4020f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
mov ebx, eax
test ecx, ecx
jne 0x402102
mov ebx, dword [ebp - 4]
leave
ret
lea eax, [ebp - 0x28]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
call sub.KERNEL32.dll_VirtualQuery
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov ecx, dword [ebp - 0x30]
test eax, eax
je 0x4021ba
mov eax, dword [ebp - 0x14]
cmp eax, 4
je 0x40216d
cmp eax, 0x40
je 0x40216d
lea eax, [ebp - 0xc]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
call sub.KERNEL32.dll_VirtualProtect
mov ecx, dword [ebp - 0x30]
sub esp, 0x10
mov edx, dword [ebp - 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
cmp eax, 4
je 0x4020fd
cmp eax, 0x40
je 0x4020fd
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
mov ebx, dword [ebp - 4]
sub esp, 0x10
leave
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004020a0
lea esi, [esi]
lea edi, [edi]
Function at 0x402440
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00402420
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
test ebx, ebx
push ecx
je 0x4024d0
nop
mov dl, byte [ebx]
cmp dl, 9
je 0x402517
cmp dl, 0x20
je 0x402517
cmp dl, 0x22
je 0x4024b5
mov al, dl
cmp dl, 9
je 0x4024c3
cmp dl, 0x20
je 0x402520
test dl, dl
jne 0x4024a8
jmp 0x4024d0
cmp al, 0x20
je 0x402520
test al, al
je 0x4024d0
inc ebx
mov al, byte [ebx]
cmp al, 9
jne 0x4024a0
jmp 0x4024c3
cmp al, 0x22
je 0x4024bc
inc ebx
mov al, byte [ebx]
test al, al
jne 0x4024b1
cmp al, 0x22
jne 0x4024c3
inc ebx
mov al, byte [ebx]
cmp al, 0x20
je 0x402520
cmp al, 9
je 0x402520
nop
lea esi, [esi]
mov esi, 0xa
test byte [ebp - 0x30], 1
je 0x4024e4
mov esi, dword [ebp - 0x2c]
and esi, 0xffff
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
push edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401c20
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
inc ebx
jmp 0x402470
inc ebx
mov al, byte [ebx]
cmp al, 9
je 0x402520
cmp al, 0x20
jne 0x4024d0
jmp 0x402520
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x403f50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.00404c08
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004040b0
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x40409a
test ebx, ebx
jl 0x40403e
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xcba3b4
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40405f
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x404051
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.00405a20
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.00405a20
add esp, 8
mov ebx, 0x80070057
jmp 0x40403e
Function at 0x41af20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.0041bbd8
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.0041b080
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b06a
test ebx, ebx
jl 0x41b00e
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xcd1384
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41b02f
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x41b021
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.0041c9f0
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.0041c9f0
add esp, 8
mov ebx, 0x80070057
jmp 0x41b00e
Function at 0x431fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.00432c68
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.00432110
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4320fa
test ebx, ebx
jl 0x43209e
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xce8414
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4320bf
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4320b1
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.00433a80
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.00433a80
add esp, 8
mov ebx, 0x80070057
jmp 0x43209e