joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c88c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fb70]
cmp dword [eax + 0x30], 0
je 0x45c936
cmp dword [ebx + 0x94], 0
jne 0x45c930
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c81c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c930
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45c8f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c930
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414354
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c905
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d494
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45d4c9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040430c
jmp 0x45d4d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e5e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e629
mov eax, esi
call fcn.00444668
test al, al
je 0x45e629
mov eax, dword [ebx + 0x84]
call fcn.00444364
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e629
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444364
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46a688
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, 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 - 8]
call fcn.004046cc
xor eax, eax
push ebp
push 0x46a7bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
or esi, 0xffffffff
mov eax, dword [ebp - 8]
call fcn.004044dc
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
call fcn.00404734
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 5
je 0x46a79a
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.004084d8
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x46a7d8
call fcn.00404528
mov eax, dword [ebp - 0x28]
mov edx, 0xa
call fcn.0046a16c
cmp ebx, 0x3e5
jne 0x46a797
xor edi, edi
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetOverlappedResult
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x46a77b
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e4
jne 0x46a77b
cmp edi, 0x12c
je 0x46a77b
push 0xa
call sub.kernel32.dll_Sleep_1
inc edi
jmp 0x46a740
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CancelIo
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov esi, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a7c4
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404240
lea eax, [ebp - 8]
call fcn.0040421c
ret
Function at 0x46a7e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a8ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
or esi, 0xffffffff
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
push edx
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 5
je 0x46a8cf
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.004084d8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x46a904
call fcn.00404528
mov eax, dword [ebp - 0x24]
mov edx, 0xa
call fcn.0046a16c
cmp ebx, 0x3e5
jne 0x46a8cc
xor edi, edi
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetOverlappedResult
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x46a8b9
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e4
jne 0x46a8b9
cmp edi, 0x12c
je 0x46a8b9
push 0xa
call sub.kernel32.dll_Sleep_1
inc edi
jmp 0x46a87e
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov esi, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a8f1
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404240
ret

Function at 0x46a90c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
push edx
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
jne 0x46a9b1
xor edi, edi
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetOverlappedResult
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x46a995
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e4
jne 0x46a995
cmp edi, 0x12c
je 0x46a995
push 0xa
call sub.kernel32.dll_Sleep_1
inc edi
jmp 0x46a95a
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CancelIo
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov esi, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
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.00464350
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, [0x8838a0]
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 [0x726700]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x7267d0]
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 [0x726840]
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.00464430
mov eax, ecx
mov ecx, 0x21
call fcn.00464500
nop
call fcn.00462f90
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 [0x8d8dd0]
test eax, eax
jne 0x41523d
nop
lea eax, [0x8d8dbc]
mov dword [esp], eax
call fcn.00409c60
mov eax, dword [0x8d8dc0]
test eax, eax
je 0x415079
cmp dword [eax + 8], 0xcc
jne 0x4150ef
mov edx, dword [0x8d8db4]
test edx, edx
jne 0x4150d1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x8de0f0]
mov dword [esp + 8], eax
call fcn.0040c050
mov eax, dword [esp + 0xc]
mov dword [0x8d8db4], eax
mov ecx, dword [0x8d8d78]
mov dword [eax], ecx
mov eax, dword [0x8d8db4]
mov dword [0x8d8d78], eax
movzx eax, byte [0x8d9500]
test al, al
jne 0x4150d1
xor eax, eax
jmp 0x4151e9
mov edx, dword [0x8d8db4]
mov ebx, dword [edx + 4]
mov dword [0x8d8db4], ebx
mov ebx, dword [0x8d8dc0]
mov dword [edx + 4], ebx
mov dword [0x8d8dc0], edx
mov edx, dword [0x8d8dc0]
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 [0x8d9190]
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.004643a0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x8d9190]
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.004643a0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.004643a0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.004643a0
nop
lea eax, [0x8d8dbc]
mov dword [esp], eax
call fcn.00409e60
nop
lea eax, [0x8d8db8]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402300
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00464430
lea esi, [0x8d9500]
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, [0x87d2f8]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4151db
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00464420
mov ecx, 5
call fcn.00464420
lea eax, [0x6c71da]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004368a0
nop
call fcn.00462f90
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, [0x6c951a]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004368a0
nop
call fcn.00462f90
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, [0x8bd378]
mov dword [esp], eax
call fcn.00409c60
nop
mov eax, dword [0x8bd344]
sub eax, dword [0x8bd328]
mov dword [0x8bd344], eax
mov eax, dword [0x8bd334]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x8bd334], ecx
nop
lea eax, [0x8bd378]
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, [0x8bd378]
mov dword [esp], eax
call fcn.00409c60
nop
mov eax, dword [0x8bd31c]
sub eax, dword [0x8bd300]
mov dword [0x8bd31c], eax
mov eax, dword [0x8bd30c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x8bd30c], ecx
nop
nop
lea eax, [0x8bd378]
mov dword [esp], eax
call fcn.00409e60
add esp, 0x14
ret
lea eax, [0x6c32ef]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004368a0
nop
call fcn.00462f90
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, [0x6c18c4]
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.00464637
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.00462e80
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.00462f90
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.00464490
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.00464430
xor eax, eax
mov ecx, eax
call fcn.00464420
call fcn.00464490
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.00464430
xor eax, eax
mov ecx, eax
call fcn.00464420
nop
call fcn.00462f90
jmp fcn.00452000
Function at 0x456550
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x456650
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.00456de0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x682900]
mov dword [esp], ecx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x8bd410]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00455dd0
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.004551f0
add esp, 0x28
ret
call fcn.00462f90
jmp fcn.00456550
Function at 0x459bc0
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 0x459c5f
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.00464637
lea ecx, [0x459c70]
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.00462e80
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00462f90
jmp fcn.00459bc0
Function at 0x464250
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 [0x8d92e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x462a1b
je 0x462a6e
cmp ebx, 0x20
jbe 0x462a74
cmp ebx, 0x40
jbe 0x462aba
jmp 0x462b5b
test ebx, ebx
je 0x462a64
add eax, 0x10
test ax, 0xff0
je 0x462a50
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x729080]
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 + 0x729280]
jmp 0x462a38
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x462a38
pxor xmm1, xmmword [0x8d92f0]
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 [0x8d92f0]
pxor xmm2, xmmword [0x8d9300]
pxor xmm3, xmmword [0x8d9310]
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 [0x8d92f0]
pxor xmm2, xmmword [0x8d9300]
pxor xmm3, xmmword [0x8d9310]
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 0x462bba
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 [0x8d8d39], 0
je 0x46426a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x4629e0
jmp fcn.004085a0