joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1128c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x112bb
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.000116bc
jmp 0x112d9
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00011214
mov edi, eax
test ebx, ebx
je 0x112d9
cmp dword [esi], 0
je 0x112d9
dec ebx
jmp 0x112c2
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x11340
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x1601c], 0x8088405
inc edx
mov dword [0x1601c], edx
mul edx
mov eax, edx
ret

Function at 0x1209c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.000118f8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete byte [ebp - 1]
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

Function at 0x12144
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 4
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x1218c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.000118f8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x1218c
cmp dword [ebp - 0x10], 4
je 0x12191
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x121f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1222c
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.000118f8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x12230
xor eax, eax
jmp 0x12232
mov al, 1
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x1223c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
cmp dword [ebp - 4], 0
je 0x1226a
mov eax, dword [ebp - 8]
call fcn.000118f8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 9]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x12274
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
cmp dword [ebp - 4], 0
je 0x1229d
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 9]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x12b04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
xor eax, eax
mov dword [ebp - 0x10c], eax
xor eax, eax
push ebp
push 0x12b84
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x12b94
lea eax, [ebp - 0x105]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea edx, [ebp - 0x10c]
xor eax, eax
call fcn.0001128c
mov eax, dword [ebp - 0x10c]
call fcn.000118f8
lea edx, [ebp - 0x105]
call fcn.00012a80
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12b8b
lea eax, [ebp - 0x10c]
call fcn.000115d8
ret
Function at 0x1437c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x1432c
call fcn.00011e28
xor eax, eax
push ebp
push 0x1446d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00012bb0
test al, al
jne 0x143ed
push 0x1024
push 0x1447c
push 0x1448c
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_MessageBoxA
cmp eax, 6
jne 0x143d0
mov byte [0x16544], 1
jmp 0x143f4
push 1
push 0
push 0
push 0x144e8
push 0
push 0
call sub.Shell32.dll_ShellExecuteA
mov byte [0x16544], 0
jmp 0x143f4
mov byte [0x16544], 1
cmp byte [0x16544], 0
je 0x14457
push 0x14510
push 0
push 0x1f0001
call sub.KERNEL32.DLL_OpenMutexA
test eax, eax
jne 0x14457
push 0x14510
push 0
push 0
call sub.KERNEL32.DLL_CreateMutexA
mov dword [0x16540], eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.0001128c
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.000141b4
test al, al
je 0x1444c
call fcn.000132f8
call fcn.000122a4
call fcn.00013d1c
mov eax, dword [0x16540]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14474
lea eax, [ebp - 0x10]
call fcn.000115d8
ret
Function at 0x54f450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf2000]
push edi
or ebp, 0xffffffff
jmp 0x54f472
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54f479
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f468
mov eax, 1
add ebx, ebx
jne 0x54f48b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54f49c
jne 0x54f4bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f4bb
dec eax
add ebx, ebx
jne 0x54f4a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54f480
add ebx, ebx
jne 0x54f4b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54f50d
xor ecx, ecx
sub eax, 3
jb 0x54f4d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54f542
sar eax, 1
mov ebp, eax
jmp 0x54f4de
add ebx, ebx
jne 0x54f4de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f4ac
inc ecx
add ebx, ebx
jne 0x54f4ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f4ac
add ebx, ebx
jne 0x54f4f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54f4ee
jne 0x54f50a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54f4ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54f52c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54f51e
jmp 0x54f46e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54f52c
add edi, ecx
jmp 0x54f46e
pop esi
mov edi, esi
mov ecx, 0x4377
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54f54a
cmp byte [edi], 0x1e
jne 0x54f54a
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 0x54f54f
lea edi, [esi + 0x14c000]
mov eax, dword [edi]
or eax, eax
je 0x54f5be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x156470]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x156538]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54f57c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15653c]
or eax, eax
je 0x54f5b8
mov dword [ebx], eax
add ebx, 4
jmp 0x54f599
call dword [esi + 0x15654c]
mov ebp, dword [esi + 0x156540]
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 0x54f5f2
sub esp, 0xffffff80
jmp 0x486258
Function at 0x4012c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4012cf
pop dword [ebp - 0x24]
mov eax, 0x4012cf
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x27e118bb
add dword [ebp - 0x34], 0x26712c90
mov dword [ebp - 0x30], 0xff0f6f86
sub dword [ebp - 0x30], 0xccdc2341
mov dword [ebp - 0x2c], 0x86163a46
add dword [ebp - 0x2c], 0xc63609e8
mov dword [ebp - 0x28], 0x1ee97dc2
sub dword [ebp - 0x28], 0x1ee97dc2
lea eax, [ebp - 0x34]
push eax
mov eax, 0xeffd68b8
add eax, 0x1043c7e8
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x12232c86
sub dword [ebp - 0x34], 0x9db0c330
mov dword [ebp - 0x30], 0x4fb3f532
sub dword [ebp - 0x30], 0xe4793bd
mov dword [ebp - 0x2c], 0xd0d6b945
add dword [ebp - 0x2c], 0x9298b327
mov dword [ebp - 0x28], 0x22f63cc7
sub dword [ebp - 0x28], 0x22f63cc7
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3ac28
push 0
call eax
mov ecx, 0x59922e74
sub ecx, 0x5991e62b
mov edi, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x24]
mov esi, 0x372616bd
sub esi, 0xeeb3d26f
sub dword [ebp - 0x10], 0x8664a12
mov edx, dword [ebx]
add dword [ebp - 0xc], ecx
xor edx, esi
xor dword [ebp - 8], esi
mov dword [edi], edx
mov dword [ebp - 0xc], 0x4970ba72
add edi, 0x2a46c4a5
sub edi, 0x2a46c4a1
add ebx, 0xd8c4e7d8
sub ebx, 0xd8c4e7d4
loop 0x4013e1
add eax, 0x54a47f52
add eax, 0xab5c94a5
mov ebx, eax
add eax, 0x4360648b
add eax, 0xbc9f9b7a
mov ecx, 0xa496e2ae
add ecx, 0x5ba91d52
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d20a
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d20a
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d20a
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d20a
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d20a
mov dword [0x41203c], eax
call fcn.0040d20a
test eax, eax
jge 0x402550
push 8
call fcn.0040d20a
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d20a
pop ecx
push 1
call fcn.0040d20a
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d20a
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d20a
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d20a
jmp 0x402495

Function at 0x40d20a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40d219
pop dword [ebp - 0x44]
mov eax, 0x3a087a1e
add eax, 0xc63857fb
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x36a34
push 0
mov eax, 0x47cd0c7c
sub eax, 0x478c2ba4
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x73500c51
add ecx, 0x8cb030dd
xor edi, edi
add edi, eax
mov edx, 0x7303f2ba
sub edx, 0x72c2b6f6
add edx, dword [ebp - 0x44]
mov esi, 0x1a4a663e
add esi, 0xff19671
mov dword [ebp - 0x34], 0x31de54ea
mov ebx, dword [edx]
sub dword [ebp - 0xc], 0xd9168502
xor ebx, esi
xor dword [ebp - 0x2c], 0x64e5000c
mov dword [edi], ebx
xor dword [ebp - 0x34], ecx
add edi, 4
add edx, 0x5cc83945
add edx, 0xa337c6bf
loop 0x40d27a
add eax, 0xe78b
mov ebx, eax
add eax, 0xaac91c
add eax, 0xff5536e9
mov ecx, 0x2eab2986
sub ecx, 0x2e6b2986
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x40be70
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c03e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40be9b
mov eax, 0x7000000
jmp 0x40bea3
test eax, eax
je 0x40c019
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00464140
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x891f80]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40c031
cmp ecx, 0x21
jae 0x40c025
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d050
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045d120
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x72fde8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x72feb8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bff4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x72ff28]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00464220
mov eax, ecx
mov ecx, 0x21
call fcn.004642f0
nop
call fcn.00462d80
jmp fcn.0040be70
Function at 0x415030
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415254
sub esp, 0x18
mov eax, dword [0x8e7694]
test eax, eax
jne 0x41523d
nop
lea eax, [0x8e7680]
mov dword [esp], eax
call fcn.00409c60
mov eax, dword [0x8e7684]
test eax, eax
je 0x415079
cmp dword [eax + 8], 0xcc
jne 0x4150ef
mov edx, dword [0x8e7678]
test edx, edx
jne 0x4150d1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x8ec9b0]
mov dword [esp + 8], eax
call fcn.0040c050
mov eax, dword [esp + 0xc]
mov dword [0x8e7678], eax
mov ecx, dword [0x8e763c]
mov dword [eax], ecx
mov eax, dword [0x8e7678]
mov dword [0x8e763c], eax
movzx eax, byte [0x8e7dc0]
test al, al
jne 0x4150d1
xor eax, eax
jmp 0x4151e9
mov edx, dword [0x8e7678]
mov ebx, dword [edx + 4]
mov dword [0x8e7678], ebx
mov ebx, dword [0x8e7684]
mov dword [edx + 4], ebx
mov dword [0x8e7684], edx
mov edx, dword [0x8e7684]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4151d1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402180
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x8e7a50]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41514d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41515a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00464190
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x8e7a50]
test edx, edx
jne 0x415186
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x4151a7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00464190
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00464190
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00464190
nop
lea eax, [0x8e7680]
mov dword [esp], eax
call fcn.00409e60
nop
lea eax, [0x8e767c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402300
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00464220
lea esi, [0x8e7dc0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x4150d1
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x415233
lea edx, [0x88b558]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4151db
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00464210
mov ecx, 5
call fcn.00464210
lea eax, [0x6cfca0]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004368a0
nop
call fcn.00462d80
jmp fcn.00415030
Function at 0x428650
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4287c0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004263e0
mov eax, dword [esp + 4]
test eax, eax
je 0x4287a9
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.00424160
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.00409c60
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x4286e7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42874d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x4286fc
cmp byte [ebp + 6], dl
je 0x428707
cmp esi, ebx
ja 0x42874d
jne 0x4286e5
cmp byte [ebp + 6], dl
jbe 0x4286e5
jmp 0x42874d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409e60
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x428744
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x428744
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.00428550
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409e60
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4287a0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4287a0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x6d1fac]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004368a0
nop
call fcn.00462d80
jmp fcn.00428650
Function at 0x428c40
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428d5c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x428cd5
cmp cl, 2
je 0x428c7d
cmp cl, 3
jne 0x428d45
mov byte [eax + 8], 1
jmp 0x428d41
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042de70
nop
lea eax, [0x8cbc38]
mov dword [esp], eax
call fcn.00409c60
nop
mov eax, dword [0x8cbc04]
sub eax, dword [0x8cbbe8]
mov dword [0x8cbc04], eax
mov eax, dword [0x8cbbf4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x8cbbf4], ecx
nop
lea eax, [0x8cbc38]
mov dword [esp], eax
call fcn.00409e60
jmp 0x428d41
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00415030
nop
lea eax, [0x8cbc38]
mov dword [esp], eax
call fcn.00409c60
nop
mov eax, dword [0x8cbbdc]
sub eax, dword [0x8cbbc0]
mov dword [0x8cbbdc], eax
mov eax, dword [0x8cbbcc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x8cbbcc], ecx
nop
nop
lea eax, [0x8cbc38]
mov dword [esp], eax
call fcn.00409e60
add esp, 0x14
ret
lea eax, [0x6cbd99]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004368a0
nop
call fcn.00462d80
jmp fcn.00428c40
Function at 0x42e860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42e932
sub esp, 0x30
movzx ecx, byte [esp + 0x40]
test cl, cl
je 0x42e89d
lea eax, [0x6ca2b5]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043b520
movzx ecx, byte [esp + 0x40]
mov dword [esp + 8], 0
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x42e8b1
test cl, cl
jmp 0x42e91f
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00464427
lea ecx, [0x42e940]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + 0x40]
mov byte [esp + 0x28], cl
lea edx, [esp + 8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0xc]
mov dword [esp], edx
call fcn.00462c70
movzx ecx, byte [esp + 0x40]
test cl, cl
je 0x42e926
call fcn.0043b650
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
add esp, 0x30
ret
call fcn.00462d80
jmp fcn.0042e860
Function at 0x452000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452187
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x45217d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45205c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45205c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x45206f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x452152
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x452144
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x45213b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x4520c6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x45210f
mov eax, 1
cmp eax, ecx
ja 0x4520fd
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00464280
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x452136
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x452102
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x4520cb
call fcn.00464220
xor eax, eax
mov ecx, eax
call fcn.00464210
call fcn.00464280
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x452178
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x452149
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x452074
call fcn.00464220
xor eax, eax
mov ecx, eax
call fcn.00464210
nop
call fcn.00462d80
jmp fcn.00452000