joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405020
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x433b34]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 5], 0
mov ecx, 0x434f68
call fcn.00405c50
push 0x435fc8
call fcn.00401000
add esp, 4
mov eax, dword [0x435fc8]
sub eax, dword [0x435fc0]
mov ecx, dword [0x435fcc]
sbb ecx, dword [0x435fc4]
push 0
push 0x989680
push ecx
push eax
call fcn.00414fa0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x21
jle 0x405086
mov dword [0x435fb8], 0
mov edx, dword [0x435fb8]
add edx, 1
mov dword [0x435fb8], edx
cmp dword [0x435fb8], 7
jl 0x4050c3
cmp dword [ebp - 4], 0x21
jg 0x4050b9
mov eax, 0x21
sub eax, dword [ebp - 4]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x435fb8], 1
cmp dword [0x434f60], 0
jne 0x4050d1
call fcn.00404fb0
cmp dword [0x434f60], 0
je 0x4050ec
push 0x1388
mov ecx, dword [0x434f60]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x104
lea edx, [ebp - 0x118]
push edx
push str._SystemRoot_System32_taskkill.exe__F__IM_dwm.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x118]
push eax
call fcn.00414a48
add esp, 4
push 0x435fc0
call fcn.00401000
add esp, 4
mov ecx, dword [0x434f60]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, 0x434f68
call fcn.00405c70
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413572
mov esp, ebp
pop ebp
ret

Function at 0x405be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0x20219
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallNVIDIAStereo
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405c3e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.InstallLocation
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405c34
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x406000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x433b34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], 0
push 0x105
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40606e
mov ecx, dword [ebp + 8]
push ecx
push 0x42ab40
lea edx, [ebp - 0x110]
push edx
call fcn.00414b30
add esp, 4
lea eax, [ebp + eax - 0x110]
push eax
call fcn.00413a44
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413572
mov esp, ebp
pop ebp
ret
Function at 0x407a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004077b9
invalid

Function at 0x407fe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fiadd dword [eax - 0x3505b]
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
invalid
invalid
invalid

Function at 0x408020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
invalid
inc dword [esi + eax*8 - 0x7b]
mov ebp, 0x55fffffc
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.004077c9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040777e
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.004077b9
cmpsb byte [esi], byte es:[edi]
or edi, eax
jge 0x408247
movsd dword es:[edi], dword [esi]
pushfd
stc
invalid

Function at 0x409831
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004077c9
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040777e
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40985a
jmp 0x40985f
jmp 0x40915b

Function at 0x413572
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433b34]
jne 0x41357c
repz ret
jmp fcn.00419078

Function at 0x41f250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41f281
call fcn.00415e11
mov dword [eax], esi
call fcn.00415dfe
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004152d1
add esp, 0x14
push 0x16
pop eax
jmp 0x41f2d6
test dword [ebp + 0xc], 0xfffffff9
jne 0x41f25d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41f2ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00415e24
pop ecx
call fcn.00415dfe
mov eax, dword [eax]
jmp 0x41f2d6
test al, 0x10
jne 0x41f2d4
test al, 1
je 0x41f2d4
test byte [ebp + 0xc], 2
je 0x41f2d4
call fcn.00415e11
mov dword [eax], 5
call fcn.00415dfe
mov dword [eax], 0xd
jmp 0x41f2a5
xor eax, eax
pop esi
pop ebp
ret
Function at 0x422270
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.0041807e
and dword [ebp - 4], 0
cmp dword [0x4387f8], 0
mov ebx, eax
jne 0x422321
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4223d2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42cc24
push edi
call esi
test eax, eax
je 0x4223d2
push eax
call fcn.0041800c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4387f8], eax
call esi
push eax
call fcn.0041800c
mov dword [esp], 0x42cc00
push edi
mov dword [0x4387fc], eax
call esi
push eax
call fcn.0041800c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x438800], eax
call esi
push eax
call fcn.0041800c
pop ecx
mov dword [0x438808], eax
test eax, eax
je 0x422321
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041800c
pop ecx
mov dword [0x438804], eax
mov eax, dword [0x438804]
cmp eax, ebx
je 0x422379
cmp dword [0x438808], ebx
je 0x422379
push eax
call fcn.00418087
push dword [0x438808]
mov esi, eax
call fcn.00418087
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422379
test edi, edi
je 0x422379
call esi
test eax, eax
je 0x422370
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422370
test byte [ebp - 0xc], 1
jne 0x422379
or dword [ebp + 0x10], 0x200000
jmp 0x4223b2
mov eax, dword [0x4387fc]
cmp eax, ebx
je 0x4223b2
push eax
call fcn.00418087
pop ecx
test eax, eax
je 0x4223b2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4223b2
mov eax, dword [0x438800]
cmp eax, ebx
je 0x4223b2
push eax
call fcn.00418087
pop ecx
test eax, eax
je 0x4223b2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4387f8]
call fcn.00418087
pop ecx
test eax, eax
je 0x4223d2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4223d4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403a40
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403c10
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046d6c0
jmp fcn.00403a40
Function at 0x40d820
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d9eb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40d849
mov eax, 0x7000000
jmp 0x40d851
test eax, eax
je 0x40d9c6
mov dword [esp + 0x34], eax
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
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
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.0046ea70
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x176a140]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40d9de
cmp edx, 0x21
jae 0x40d9d2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00466380
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00466450
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x12b3250]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x12b3288]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40d9a1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x12b32c0]
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, edx
mov ecx, 0x21
call fcn.0046eb50
mov eax, edx
mov ecx, 0x21
call fcn.0046ec20
nop
call fcn.0046d6c0
jmp fcn.0040d820
Function at 0x418620
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41881e
sub esp, 0x18
mov eax, dword [0x1819b5c]
test eax, eax
jne 0x418807
nop
nop
lea eax, [0x1819b4c]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [0x1819b50]
test eax, eax
je 0x418668
cmp dword [eax + 8], 0xcc
jne 0x4186de
mov edx, dword [0x1819b54]
test edx, edx
jne 0x4186c0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x181f590]
mov dword [esp + 8], eax
call fcn.0040da00
mov eax, dword [esp + 0xc]
mov dword [0x1819b54], eax
mov ecx, dword [0x1819b58]
mov dword [eax], ecx
mov eax, dword [0x1819b54]
mov dword [0x1819b58], eax
movzx eax, byte [0x181a600]
test al, al
jne 0x4186c0
xor eax, eax
jmp 0x4187d8
mov edx, dword [0x1819b54]
mov ebx, dword [edx + 4]
mov dword [0x1819b54], ebx
mov ebx, dword [0x1819b50]
mov dword [edx + 4], ebx
mov dword [0x1819b50], edx
mov edx, dword [0x1819b50]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4187b7
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.00403120
mov eax, dword [0x1819e80]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x418730
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x418770
call fcn.0046eb30
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x1819b4c]
mov dword [esp], eax
call fcn.0040b620
nop
lea eax, [0x1819b48]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004032a0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046eb50
lea edx, [0x1763668]
movzx ebx, byte [edx + eax]
lea ebp, [0x181a600]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x4186c0
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x4187c1
mov ecx, 5
call fcn.0046eb40
lea eax, [0xd79050]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043c260
nop
call fcn.0046d6c0
jmp fcn.00418620
Function at 0x42ce90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42d000
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42cf90
cmp cl, 1
je 0x42cf22
cmp cl, 2
jne 0x42cfe9
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00432480
nop
nop
lea eax, [0x17e5f80]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [0x17e5f24]
sub eax, dword [0x17e5f08]
nop
mov dword [0x17e5f24], eax
mov eax, dword [0x17e5f14]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x17e5f14], ecx
nop
lea eax, [0x17e5f80]
mov dword [esp], eax
call fcn.0040b620
jmp 0x42cfe5
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.00418620
nop
nop
lea eax, [0x17e5f80]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [0x17e5efc]
sub eax, dword [0x17e5ee0]
nop
mov dword [0x17e5efc], eax
mov eax, dword [0x17e5eec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x17e5eec], ecx
nop
lea eax, [0x17e5f80]
mov dword [esp], eax
call fcn.0040b620
jmp 0x42cfe5
cmp cl, 3
jne 0x42cf9b
mov byte [eax + 8], 1
jmp 0x42cfe5
cmp cl, 4
jne 0x42cfe9
nop
nop
lea eax, [0x17e5f80]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [0x17e5f74]
sub eax, dword [0x17e5f58]
nop
mov dword [0x17e5f74], eax
mov eax, dword [0x17e5f64]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x17e5f64], ecx
nop
nop
lea eax, [0x17e5f80]
mov dword [esp], eax
call fcn.0040b620
add esp, 0x14
ret
lea eax, [0xd649ef]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043c260
nop
call fcn.0046d6c0
jmp fcn.0042ce90
Function at 0x432cf0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x432dd6
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x181a5b0]
mov dword [esp], ecx
call fcn.00403090
mov eax, dword [esp + 4]
test eax, eax
je 0x432db2
mov dword [esp + 8], 0
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.0046ed59
lea ecx, [0x432de0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call fcn.0046d5d0
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x432dae
jae 0x432dcb
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.00449300]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call fcn.0046eb40
nop
call fcn.0046d6c0
jmp fcn.00432cf0
Function at 0x4473e0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
call fcn.0045dfb0
mov eax, dword [0x1819d24]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [esp]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0xc], ebx
inc dword [ecx + 0x7c]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
call fcn.00447380
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.00440e20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x447465
cmp dword [eax + 4], ecx
jae 0x447493
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [0x447640]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.0046d5d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4474e9
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [0x4475f0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.0046d5d0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00447380
lea eax, [0x17dc0a0]
mov dword [esp], eax
call fcn.00402f60
movzx eax, byte [esp + 4]
test al, al
je 0x447522
lea eax, [0xdcfe30]
mov dword [esp], eax
call fcn.0046d5d0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00447380
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
test byte [ecx], al
mov ecx, dword [ecx + 0x11a0]
test ecx, ecx
je 0x44755e
lea eax, [0xdcffe4]
mov dword [esp], eax
call fcn.0046d5d0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00447380
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x1f8], edx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
lea edx, [ecx + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [eax + 0x18]
mov dword [ebx + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x58], 0
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.004031f0
lea eax, [0x17dc094]
mov dword [esp], eax
call fcn.00402f60
movzx eax, byte [esp + 4]
test al, al
je 0x4475d6
lea eax, [0xdcfe2c]
mov dword [esp], eax
call fcn.0046d5d0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00447380
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
ret
Function at 0x459c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x1819d24]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x459d9a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x459d90
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x459c7a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x459c7a
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 0x459c8d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x459d67
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 0x459d5b
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 0x459d52
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x459ce0
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x459d23
mov eax, 1
cmp eax, ecx
ja 0x459d17
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0046ebb0
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x459d4d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x459d1c
mov ecx, dword [esp + 0xc]
jmp 0x459ce5
call fcn.0046eb50
xor eax, eax
mov ecx, eax
call fcn.0046eb40
call fcn.0046ebb0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x459d8b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x459d60
mov ecx, dword [esp + 0x18]
jmp 0x459c92
call fcn.0046eb50
xor eax, eax
mov ecx, eax
call fcn.0046eb40
nop
call fcn.0046d6c0
jmp fcn.00459c20