joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402371
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x420018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x9c], eax
push edi
mov edi, ecx
cmp esi, 0xd
jae 0x4023a1
or eax, 0xffffffff
jmp 0x402536
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x402355
push eax
xor ebx, ebx
mov dword [ebp - 0x90], 0x402363
push ecx
mov edx, edi
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], ebx
call fcn.00404dfe
xor eax, eax
mov dword [ebp - 0x58], ebx
inc eax
mov dword [ebp - 0x34], ebx
add edi, 5
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
sub esi, 0xd
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x50], ebx
mov eax, dword [edi]
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x80], esi
call fcn.0041713f
add esp, 0xc
mov dword [ebp - 0x84], ebx
mov edi, eax
lea eax, [ebp - 0x84]
mov edx, edi
push eax
push ecx
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x7c]
add eax, 8
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404ca0
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0x94]
push dword [ebp - 0x6c]
push eax
call dword [ebp - 0x90]
push dword [ebp - 0x68]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x6c], ebx
push eax
call dword [ebp - 0x90]
add esp, 0x10
mov dword [ebp - 0x68], ebx
test esi, esi
je 0x402470
or ebx, 0xffffffff
jmp 0x402529
mov edx, dword [edi]
lea ecx, [edi + 4]
mov eax, dword [ecx]
push 4
pop esi
add ecx, esi
mov dword [ebp - 0x98], eax
push edx
mov dword [ebp - 0x80], edx
mov eax, dword [ecx]
add ecx, esi
mov dword [ebp - 0x88], eax
mov eax, dword [ecx]
add ecx, esi
mov dword [ebp - 0x8c], eax
mov ebx, dword [ecx]
add ecx, esi
mov dword [ebp - 0x84], ecx
call fcn.0041713f
mov edx, dword [ebp - 0x88]
mov esi, eax
pop ecx
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x8c]
push esi
push ebx
mov ebx, dword [ebp - 0x98]
lea eax, [ecx + edx]
add eax, ebx
add eax, dword [ebp - 0x84]
push eax
push ecx
mov ecx, dword [ebp - 0x84]
lea eax, [edx + ebx]
add eax, ecx
push eax
push edx
lea eax, [ebx + ecx]
mov edx, ebx
push eax
call fcn.00404e70
add esp, 0x20
xor ebx, ebx
test eax, eax
je 0x4024f4
inc ebx
jmp 0x40251e
push ebx
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0x80]
push esi
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40251b
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0xa0], eax
je 0x40251e
or ebx, 0xffffffff
test esi, esi
je 0x402529
push esi
call fcn.0041713a
pop ecx
test edi, edi
je 0x402534
push edi
call fcn.0041713a
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405b5e
leave
ret
Function at 0x403359
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40228
call fcn.00417050
mov eax, dword [0x420018]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40218]
xor ebx, ebx
mov dword [ebp - 0x40214], 1
push ebx
push eax
mov esi, ecx
lea eax, [ebp - 0x4020c]
push 0x200
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40356c
cmp dword [ebp - 0x40218], 0x200
jne 0x40356c
push 4
lea eax, [ebp - 0x4010b]
push 0x41e960
push eax
call fcn.00417218
add esp, 0xc
test eax, eax
jne 0x4033db
inc eax
mov byte [edi], al
jmp 0x40356e
push 5
lea eax, [ebp - 0x4010b]
push str.ustar
push eax
call fcn.00417218
add esp, 0xc
test eax, eax
jne 0x40356c
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00402e04
add eax, 0x10
lea ecx, [ebp - 0x40210]
push 0x41e994
mov dword [ebp - 0x40210], eax
call fcn.0040357f
lea eax, [ebp - 0x4020c]
push eax
lea ecx, [ebp - 0x40210]
call fcn.0040357f
push ebx
push pe_nt_image_headers32
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x40210]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40224], eax
cmp eax, 0xffffffff
je 0x40355d
push 8
lea eax, [ebp - 0x40190]
push ebx
push eax
call fcn.00418517
add esp, 0xc
mov dword [ebp - 0x40220], eax
push 1
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x40220]
mov edi, ecx
neg edi
add eax, ecx
and edi, 0x1ff
add edi, eax
test ecx, ecx
je 0x40350a
mov eax, 0x40000
mov dword [ebp - 0x4021c], eax
cmp ecx, eax
jae 0x4034ac
mov eax, ecx
mov dword [ebp - 0x4021c], ecx
push ebx
lea ecx, [ebp - 0x40218]
push ecx
push eax
lea eax, [ebp - 0x4000c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403504
push ebx
lea eax, [ebp - 0x40218]
push eax
push dword [ebp - 0x4021c]
lea eax, [ebp - 0x4000c]
push eax
push dword [ebp - 0x40224]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403504
mov ecx, dword [ebp - 0x40220]
sub ecx, dword [ebp - 0x4021c]
mov dword [ebp - 0x40220], ecx
jne 0x403495
jmp 0x40350a
mov byte [ebp - 0x40214], bl
push dword [ebp - 0x40224]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x40214], bl
je 0x403546
cmp byte [esi + 8], bl
je 0x403532
lea eax, [ebp - 0x40210]
push eax
lea ecx, [esi + 0xc]
call fcn.00402735
mov eax, dword [esi + 0x18]
test eax, eax
je 0x403546
push dword [ebp - 0x40210]
push dword [esi + 0x1c]
call eax
pop ecx
pop ecx
cmp edi, 0xffffffff
je 0x403557
push ebx
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov bl, byte [ebp - 0x40214]
lea ecx, [ebp - 0x40210]
call fcn.00402dc0
mov al, bl
jmp 0x40356e
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405b5e
leave
ret 4
Function at 0x100142e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001e01c]
jne 0x100142eb
repz ret
jmp fcn.1001456f

Function at 0x10016519
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.100149e2
and dword [ebp - 4], 0
cmp dword [0x10043238], 0
mov ebx, eax
jne 0x100165ca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001667b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001667b
push eax
call fcn.10014970
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10043238], eax
call esi
push eax
call fcn.10014970
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1004323c], eax
call esi
push eax
call fcn.10014970
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10043240], eax
call esi
push eax
call fcn.10014970
pop ecx
mov dword [0x10043248], eax
test eax, eax
je 0x100165ca
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10014970
pop ecx
mov dword [0x10043244], eax
mov eax, dword [0x10043244]
cmp eax, ebx
je 0x10016622
cmp dword [0x10043248], ebx
je 0x10016622
push eax
call fcn.100149eb
push dword [0x10043248]
mov esi, eax
call fcn.100149eb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10016622
test edi, edi
je 0x10016622
call esi
test eax, eax
je 0x10016619
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10016619
test byte [ebp - 0xc], 1
jne 0x10016622
or dword [ebp + 0x10], 0x200000
jmp 0x1001665b
mov eax, dword [0x1004323c]
cmp eax, ebx
je 0x1001665b
push eax
call fcn.100149eb
pop ecx
test eax, eax
je 0x1001665b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001665b
mov eax, dword [0x10043240]
cmp eax, ebx
je 0x1001665b
push eax
call fcn.100149eb
pop ecx
test eax, eax
je 0x1001665b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10043238]
call fcn.100149eb
pop ecx
test eax, eax
je 0x1001667b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001667d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b960
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bb2e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b98b
mov eax, 0x7000000
jmp 0x40b993
test eax, eax
je 0x40bb09
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.00461aa0
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, [0x694f00]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40bb21
cmp ecx, 0x21
jae 0x40bb15
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.0045b4e0
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.0045b5b0
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 [0x5c63dc]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x5c64a4]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bae4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x5c650c]
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.00461b80
mov eax, ecx
mov ecx, 0x21
call fcn.00461c30
nop
call fcn.004606e0
jmp fcn.0040b960
Function at 0x413d30
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x413f54
sub esp, 0x18
mov eax, dword [0x713ed8]
test eax, eax
jne 0x413f3d
nop
lea eax, [0x713ec4]
mov dword [esp], eax
call fcn.00409750
mov eax, dword [0x713ec8]
test eax, eax
je 0x413d79
cmp dword [eax + 8], 0xcc
jne 0x413def
mov edx, dword [0x713ebc]
test edx, edx
jne 0x413dd1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x716a90]
mov dword [esp + 8], eax
call fcn.0040bb40
mov eax, dword [esp + 0xc]
mov dword [0x713ebc], eax
mov ecx, dword [0x713e80]
mov dword [eax], ecx
mov eax, dword [0x713ebc]
mov dword [0x713e80], eax
movzx eax, byte [0x7144c0]
test al, al
jne 0x413dd1
xor eax, eax
jmp 0x413ee9
mov edx, dword [0x713ebc]
mov ebx, dword [edx + 4]
mov dword [0x713ebc], ebx
mov ebx, dword [0x713ec8]
mov dword [edx + 4], ebx
mov dword [0x713ec8], edx
mov edx, dword [0x713ec8]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413ed1
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.00402140
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x714170]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x413e4d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x413e5a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00461af0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x714170]
test edx, edx
jne 0x413e86
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 0x413ea7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00461af0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00461af0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00461af0
nop
lea eax, [0x713ec4]
mov dword [esp], eax
call fcn.00409950
nop
lea eax, [0x713ec0]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004022c0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00461b80
lea esi, [0x7144c0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x413dd1
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 0x413f33
lea edx, [0x68f370]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x413edb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00461b70
mov ecx, 5
call fcn.00461b70
lea eax, [0x5868ec]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00435380
nop
call fcn.004606e0
jmp fcn.00413d30
Function at 0x427350
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4274c0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004250e0
mov eax, dword [esp + 4]
test eax, eax
je 0x4274a9
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.00422e60
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.00409750
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x4273e7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42744d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x4273fc
cmp byte [ebp + 6], dl
je 0x427407
cmp esi, ebx
ja 0x42744d
jne 0x4273e5
cmp byte [ebp + 6], dl
jbe 0x4273e5
jmp 0x42744d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409950
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 0x427444
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x427444
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.00427250
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409950
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 0x4274a0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4274a0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x588852]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00435380
nop
call fcn.004606e0
jmp fcn.00427350
Function at 0x427940
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x427a5c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x4279d5
cmp cl, 2
je 0x42797d
cmp cl, 3
jne 0x427a45
mov byte [eax + 8], 1
jmp 0x427a41
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042cb70
nop
lea eax, [0x6f8478]
mov dword [esp], eax
call fcn.00409750
nop
mov eax, dword [0x6f8444]
sub eax, dword [0x6f8428]
mov dword [0x6f8444], eax
mov eax, dword [0x6f8434]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6f8434], ecx
nop
lea eax, [0x6f8478]
mov dword [esp], eax
call fcn.00409950
jmp 0x427a41
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.00413d30
nop
lea eax, [0x6f8478]
mov dword [esp], eax
call fcn.00409750
nop
mov eax, dword [0x6f841c]
sub eax, dword [0x6f8400]
mov dword [0x6f841c], eax
mov eax, dword [0x6f840c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6f840c], ecx
nop
nop
lea eax, [0x6f8478]
mov dword [esp], eax
call fcn.00409950
add esp, 0x14
ret
lea eax, [0x582bfd]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00435380
nop
call fcn.004606e0
jmp fcn.00427940
Function at 0x450570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4506f7
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4506ed
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4505cc
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4505cc
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 0x4505df
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x4506c2
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 0x4506b4
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 0x4506ab
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x450636
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x45067f
mov eax, 1
cmp eax, ecx
ja 0x45066d
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.00461be0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x4506a6
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 0x450672
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x45063b
call fcn.00461b80
xor eax, eax
mov ecx, eax
call fcn.00461b70
call fcn.00461be0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x4506e8
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 0x4506b9
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x4505e4
call fcn.00461b80
xor eax, eax
mov ecx, eax
call fcn.00461b70
nop
call fcn.004606e0
jmp fcn.00450570
Function at 0x4549e0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x454ae0
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00455270
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x558e20]
mov dword [esp], ecx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x6f8510]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00454260
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00453680
add esp, 0x28
ret
call fcn.004606e0
jmp fcn.004549e0
Function at 0x458050
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 0x4580ef
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00461cc7
lea ecx, [0x458100]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.004605d0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.004606e0
jmp fcn.00458050
Function at 0x4619a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x7142a0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46016b
je 0x4601be
cmp ebx, 0x20
jbe 0x4601c4
cmp ebx, 0x40
jbe 0x46020a
jmp 0x4602ab
test ebx, ebx
je 0x4601b4
add eax, 0x10
test ax, 0xff0
je 0x4601a0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x5c7740]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x5c7940]
jmp 0x460188
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x460188
pxor xmm1, xmmword [0x7142b0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x7142b0]
pxor xmm2, xmmword [0x7142c0]
pxor xmm3, xmmword [0x7142d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x7142b0]
pxor xmm2, xmmword [0x7142c0]
pxor xmm3, xmmword [0x7142d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x46030a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x713e38], 0
je 0x4619ba
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x460130
jmp fcn.00408100