joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487140
Capabilities:
Get graphical window text

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x4871e3
mov eax, dword [esi]
test eax, eax
je 0x4871e3
push edi
test al, 1
jne 0x487167
mov eax, dword [esi + 0x1c]
cmp word [eax], 0
je 0x48717e
push 0x7fff
lea edi, [esi + 0x6c]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x48717e
mov word [edi], ax
test byte [esi], 4
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
je 0x487192
lea eax, [esi + 0x68]
push eax
push dword [esi + 0x64]
call edi
test byte [esi], 0x20
je 0x4871c8
lea eax, [esp + 8]
push eax
push dword [esi + 0x64]
call edi
test eax, eax
je 0x4871c8
movzx eax, byte [esi + 0x3c]
lea edx, [esi + 0x1026c]
push eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.00428f5a
add esp, 8
test eax, eax
jne 0x4871c8
mov word [esi + 0x1026c], ax
test byte [esi], 8
pop edi
je 0x4871e3
push 0x101
lea eax, [esi + 0x1006a]
push eax
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_GetClassNameW]
pop esi
pop ecx
ret

Function at 0x487620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [0x4e7ef4], 0
mov eax, dword [0x4e37f8]
mov byte [eax + 0x53], 1
je 0x4876d8
push ebx
mov bl, byte [0x4e8005]
mov al, bl
and al, 0xc0
movzx ecx, al
neg ecx
push esi
sbb ecx, ecx
and ecx, 8
mov edx, ecx
or edx, 1
test bl, 0xc
cmove edx, ecx
mov ecx, edx
or ecx, 4
test bl, 0x30
cmove ecx, edx
mov esi, ecx
or esi, 2
test bl, 3
cmove esi, ecx
mov edx, esi
mov ecx, esi
and dl, 2
neg dl
sbb dl, dl
and dl, 3
mov al, dl
or al, 0x30
and cl, 4
movzx ebx, al
movzx eax, dl
cmove ebx, eax
or bl, 0xcc
not bl
and bl, byte [0x4e7eff]
je 0x4876d6
cmp esi, 8
jne 0x4876bf
movzx eax, word [0x4e3d74]
lea ecx, [esi - 6]
mov dl, byte [0x4e38be]
push 0xffc3d44d
push 0
push 0
push eax
call fcn.004199f0
add esp, 0x10
push 0xffc3d44d
push 0
push 0
push 0
mov dl, bl
xor cl, cl
call fcn.0041ba10
add esp, 0x10
pop esi
pop ebx
push 0x4bf
call dword [sym.imp.USER32.dll_GetQueueStatus]
shr eax, 0x10
test eax, eax
je 0x4876f7
mov edx, 1
or ecx, 0xffffffff
jmp fcn.004015e0
ret
Function at 0x487a60
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6ac0
push eax
mov eax, 0x1047c
mov dword fs:[0], esp
call fcn.004b5400
xorps xmm0, xmm0
mov dword [ebp - 0x10488], 0
mov dword [ebp - 0x10480], 0
mov dword [ebp - 0x1047c], 0
mov dword [ebp - 0x1046c], 0x4cdea8
mov byte [ebp - 0x1044b], 0
movups xmmword [ebp - 0x10448], xmm0
mov dword [ebp - 0x10438], 0
mov dword [ebp - 0x10428], 0
mov dword [ebp - 0x10424], 0
mov dword [ebp - 4], 0
mov eax, dword [ecx + 8]
mov dword [ebp - 0x10434], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10430], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1042c], eax
lea eax, [ebp - 0x10488]
push eax
push 0x488220
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x10444], 0
je 0x487b2d
mov eax, dword [0x4e37f8]
mov ecx, dword [eax + 0x64]
cmp ecx, 0xffffffff
jle 0x487b2d
mov edx, 1
call fcn.004015e0
push dword [ebp - 0x10480]
call fcn.0049ebe2
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x487b50
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6670
push eax
mov eax, 0x10478
mov dword fs:[0], esp
call fcn.004b5400
push edi
mov edi, ecx
cmp dword [edi + 8], 0
jne 0x487b8e
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov byte [edi], 1
cmp dword [0x4e8e98], edi
je 0x487ba9
mov dword [0x4e8e98], edi
mov dword [0x4e8ea0], 0
cmp dword [0x4e8e9c], 0
jne 0x487bc9
mov ecx, 0x7d0
call fcn.0047e200
test eax, eax
je 0x487dc5
mov dword [0x4e8e9c], eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x4e37f8]
mov esi, eax
add ecx, 0x58
push ecx
push esi
mov ecx, edi
call fcn.00488000
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x487bf6
xor ecx, ecx
mov dword [0x4e8ea0], ecx
jmp 0x487bfc
mov ecx, dword [0x4e8ea0]
mov dword [ebp - 0x1047c], 0
mov dword [ebp - 0x10478], 0
mov dword [ebp - 0x10444], 0
mov dword [ebp - 0x10440], 0
mov dword [ebp - 0x1043c], 0
mov dword [ebp - 0x10430], 0
mov dword [ebp - 0x10424], 0
mov dword [ebp - 0x10420], 0
cmp byte [ebp + 8], 0
mov dword [ebp - 4], 0
je 0x487c64
mov byte [ebp - 0x10447], 0
test eax, eax
je 0x487c6b
mov byte [ebp - 0x10447], 1
mov eax, dword [0x4e37f8]
mov edx, dword [0x4e8e9c]
mov dword [ebp - 0x10438], edx
mov dword [ebp - 0x10434], ecx
mov dword [ebp - 0x10468], 0x4cdea8
mov dword [ebp - 0x10464], 0
mov dword [ebp - 0x10460], 0x4cdea8
mov dword [ebp - 0x1045c], 0x4cdea8
test eax, eax
je 0x487cb9
add eax, 0x58
mov dword [ebp - 0x10480], eax
jmp 0x487cc3
mov dword [ebp - 0x10480], 0
test ecx, ecx
mov dword [ebp - 0x10450], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x10484], 0x10
setg bl
nop dword [eax + eax]
test edi, edi
je 0x487d0c
xor eax, eax
test ecx, ecx
jle 0x487cfa
nop word [eax + eax]
cmp dword [edx + eax*4], esi
je 0x487d0c
inc eax
cmp eax, ecx
jl 0x487cf0
cmp ecx, 0x1f4
jge 0x487d0c
mov dword [edx + ecx*4], esi
inc ecx
mov dword [0x4e8ea0], ecx
lea eax, [ebp - 0x10484]
mov dword [ebp - 0x10434], ecx
push eax
push 0x486210
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x10440]
test ecx, ecx
jne 0x487d46
test bl, bl
je 0x487d42
mov edx, dword [0x4e8e9c]
xor bl, bl
mov dword [0x4e8ea0], ecx
jmp 0x487ce0
xor esi, esi
jmp 0x487da2
call fcn.004857a0
mov ecx, dword [0x4e8ea0]
xor eax, eax
mov esi, dword [ebp - 0x10440]
mov edx, dword [0x4e8e9c]
test ecx, ecx
jle 0x487d6d
cmp dword [edx + eax*4], esi
je 0x487d85
inc eax
cmp eax, ecx
jl 0x487d63
cmp ecx, 0x1f4
jge 0x487d85
mov dword [edx + ecx*4], esi
inc ecx
mov esi, dword [ebp - 0x10440]
mov dword [0x4e8ea0], ecx
mov eax, dword [0x4e37f8]
mov ecx, dword [eax + 0x64]
cmp ecx, 0xffffffff
jle 0x487da2
mov edx, 1
call fcn.004015e0
mov esi, dword [ebp - 0x10440]
push dword [ebp - 0x1047c]
call fcn.0049ebe2
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
call fcn.0040db20
int3
Function at 0x487dd0
Capabilities:
Enumerate gui resources
Find taskbar

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6650
push eax
mov eax, 0x10474
mov dword fs:[0], esp
call fcn.004b5400
push esi
mov esi, ecx
push edi
mov byte [esi], 0
cmp dword [0x4e8e98], esi
je 0x487e11
mov dword [0x4e8e98], esi
mov dword [0x4e8ea0], 0
cmp dword [0x4e8e9c], 0
jne 0x487e31
mov ecx, 0x7d0
call fcn.0047e200
test eax, eax
je 0x487ff8
mov dword [0x4e8e9c], eax
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
push 4
push edi
call ebx
test eax, eax
je 0x487e5b
nop dword [eax]
push 4
push eax
mov edi, eax
call ebx
test eax, eax
jne 0x487e50
mov eax, dword [0x4e37f8]
mov ecx, esi
add eax, 0x58
push eax
push edi
call fcn.00488000
pop ebx
test eax, eax
je 0x487e7b
xor ecx, ecx
mov dword [0x4e8ea0], ecx
jmp 0x487e81
mov ecx, dword [0x4e8ea0]
mov dword [ebp - 0x10480], 0
mov dword [ebp - 0x10478], 0
mov dword [ebp - 0x10474], 0
mov dword [ebp - 0x10464], 0x4cdea8
mov dword [ebp - 0x10440], 0
mov dword [ebp - 0x1043c], 0
mov dword [ebp - 0x10438], 0
mov dword [ebp - 0x10420], 0
mov dword [ebp - 0x1041c], 0
cmp byte [ebp + 8], 0
mov dword [ebp - 4], 0
je 0x487ef3
mov byte [ebp - 0x10443], 0
test ecx, ecx
je 0x487efa
mov byte [ebp - 0x10443], 1
mov eax, dword [0x4e8e9c]
mov dword [ebp - 0x10434], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x1042c], eax
lea eax, [ebp - 0x10480]
push eax
push 0x488110
mov dword [ebp - 0x10430], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x1043c]
test eax, eax
je 0x487f8b
push eax
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov ecx, eax
call fcn.004857a0
mov ecx, dword [0x4e8ea0]
xor eax, eax
mov edx, dword [ebp - 0x1043c]
mov esi, dword [0x4e8e9c]
test ecx, ecx
jle 0x487f60
cmp dword [esi + eax*4], edx
je 0x487f72
inc eax
cmp eax, ecx
jl 0x487f56
cmp ecx, 0x1f4
jge 0x487f72
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4e8ea0], ecx
mov eax, dword [0x4e37f8]
mov ecx, dword [eax + 0x64]
cmp ecx, 0xffffffff
jle 0x487fd8
mov edx, 1
call fcn.004015e0
jmp 0x487fd8
mov eax, dword [0x4e8ea0]
test eax, eax
je 0x487fc4
cmp eax, 1
mov dword [0x4e8ea0], 0
setg al
test al, al
je 0x487fd8
mov eax, dword [0x4e8e9c]
mov ecx, esi
push 0
mov dword [0x4e8ea0], 1
mov dword [eax], edi
call fcn.00487dd0
jmp 0x487fd8
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, eax
call fcn.004857a0
push dword [ebp - 0x10478]
call fcn.0049ebe2
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0040db20
int3
Function at 0x49bb39
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49bb78
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49bb78
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49bb78
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x49bb78
cmp dword [ecx + 0x74], 0xe
jbe 0x49bb78
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4ad82f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4ad87a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004ad9ca
test al, al
jne 0x4ad874
sub edx, 2
cmp edx, edi
jne 0x4ad85a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4ad89c
lea eax, [edi + 2]
cmp edx, eax
je 0x4ad89c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004ad77b
add esp, 0x10
jmp 0x4ad996
push esi
lea ecx, [ebp - 0x255]
call fcn.004ad9ca
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ad8df
push dword [ebp - 0x25c]
jmp 0x4ad88c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4ad91c
cmp word [ebp - 0x226], 0
je 0x4ad93d
cmp word [ebp - 0x226], ax
jne 0x4ad91c
cmp word [ebp - 0x224], 0
je 0x4ad93d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004ad77b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4ad989
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4ad8f6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4ad971
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4ad996
push 0x4ad5ab
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004a8d40
add esp, 0x10
jmp 0x4ad966
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049bd93
leave
ret

Function at 0x4ae6d0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4ba80c
push 0x4ba804
push str.FlsAlloc
push 0x1f
call fcn.004ae60b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4ae704
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b77ac]
call esi
jmp 0x4ae70a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4ae74e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4ba81c
push 0x4ba814
push str.FlsGetValue
push 0x21
call fcn.004ae60b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4ae785
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b77ac]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4ae78d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4ba824
push 0x4ba81c
push str.FlsSetValue
push 0x22
call fcn.004ae60b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4ae7c7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4b77ac]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4b4fb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b4fdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b4fdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x408ce0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x408dd3
sub esp, 0x30
movsd xmm0, qword [esp + 0x34]
movsd qword [esp], xmm0
call fcn.00408eb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
add eax, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, dword [esp + 8]
mov dword [esp + 0x10], esi
lea edi, [0x5a5200]
movsd xmm0, qword [edi + ebp*8]
movsd qword [esp + 0x18], xmm0
movsd xmm1, qword [edi + ecx*8]
movsd qword [esp + 0x20], xmm1
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045f1b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x28], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
shl eax, 5
mov ecx, dword [esp + 0x10]
shr ecx, 0x1b
or ecx, eax
and ecx, 0xfffff
mov dword [esp], ecx
call fcn.0045f230
movsd xmm0, qword [esp + 0x28]
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 [0x517d70]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd qword [esp + 0x3c], xmm0
add esp, 0x30
ret
call fcn.00463e70
jmp fcn.00408ce0
Function at 0x416f80
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417169
sub esp, 0x18
mov eax, dword [0x60a324]
test eax, eax
jne 0x417152
lea eax, [0x60a310]
mov dword [esp], eax
call fcn.0040a780
mov eax, dword [0x60a314]
test eax, eax
je 0x416fc8
cmp dword [eax + 8], 0xcc
jne 0x41703e
mov eax, dword [0x60a308]
test eax, eax
jne 0x417020
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x60cbf0]
mov dword [esp + 8], eax
call fcn.0040cd80
mov eax, dword [esp + 0xc]
mov dword [0x60a308], eax
mov ecx, dword [0x60a2cc]
mov dword [eax], ecx
mov eax, dword [0x60a308]
mov dword [0x60a2cc], eax
movzx eax, byte [0x60a860]
test al, al
jne 0x417020
xor eax, eax
jmp 0x417146
mov eax, dword [0x60a308]
mov ecx, dword [eax + 4]
mov dword [0x60a308], ecx
mov ecx, dword [0x60a314]
mov dword [eax + 4], ecx
mov dword [0x60a314], eax
mov eax, dword [0x60a314]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
lea edx, [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00402850
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x60a540]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x417091
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41709e
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00465280
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x60a540]
test edx, edx
jne 0x4170ca
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 0x4170eb
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00465280
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00465280
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00465280
lea eax, [0x60a310]
mov dword [esp], eax
call fcn.0040a980
lea eax, [0x60a30c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402380
add esp, 0x18
ret
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
lea ecx, [edx + edx*4]
mov edx, ebx
sub ebx, ecx
lea ecx, [0x5a125c]
movzx ebx, byte [ecx + ebx]
lea ebp, [0x60a860]
mov byte [ebp + edx], bl
lea eax, [edx + 1]
cmp eax, 0x80
jl 0x417113
jmp 0x417020
lea eax, [0x509a8c]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00438c50
nop
call fcn.00463e70
jmp fcn.00416f80
Function at 0x42a820
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42a947
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00428180
mov eax, dword [esp + 4]
test eax, eax
je 0x42a930
mov dword [esp + 0xc], eax
call fcn.00449910
mov eax, dword [esp]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
call fcn.00425ab0
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.00427da0
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx + 6]
mov byte [esp + 0xb], dl
mov ebx, dword [esp + 0xc]
lea ebp, [ebx + 0x48]
mov dword [esp + 0x18], ebp
mov dword [esp], ebp
call fcn.0040a780
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x42a8b8
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42a8f9
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x42a8cd
cmp byte [ebp + 6], dl
je 0x42a8d8
cmp esi, ebx
ja 0x42a8f9
jne 0x42a8b6
cmp byte [ebp + 6], dl
jbe 0x42a8b6
jmp 0x42a8f9
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a980
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00449930
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.0042a6a0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a980
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00449930
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x50b4cd]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00438c50
nop
call fcn.00463e70
jmp fcn.0042a820

Function at 0x42ae40
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42af39
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x42aec4
cmp cl, 2
je 0x42ae7d
cmp cl, 3
jne 0x42af22
mov byte [eax + 8], 1
jmp 0x42af1e
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004303b0
lea eax, [0x5ee8d8]
mov dword [esp], eax
call fcn.0040a780
lea eax, [0x5ee888]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.00417f80
lea eax, [0x5ee8d8]
mov dword [esp], eax
call fcn.0040a980
jmp 0x42af1e
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.00416f80
lea eax, [0x5ee8d8]
mov dword [esp], eax
call fcn.0040a780
lea eax, [0x5ee860]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.00417f80
lea eax, [0x5ee8d8]
mov dword [esp], eax
call fcn.0040a980
add esp, 0x14
ret
lea eax, [0x506824]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00438c50
nop
call fcn.00463e70
jmp fcn.0042ae40
Function at 0x465130
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 [0x60a640]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x4638fb
je 0x46394e
cmp ebx, 0x20
jbe 0x463954
cmp ebx, 0x40
jbe 0x46399a
jmp 0x463a3b
test ebx, ebx
je 0x463944
add eax, 0x10
test ax, 0xff0
je 0x463930
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x518b40]
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 + 0x518c40]
jmp 0x463918
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x463918
pxor xmm1, xmmword [0x60a650]
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 [0x60a650]
pxor xmm2, xmmword [0x60a660]
pxor xmm3, xmmword [0x60a670]
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 [0x60a650]
pxor xmm2, xmmword [0x60a660]
pxor xmm3, xmmword [0x60a670]
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 0x463a9a
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 [0x60a28f], 0
je 0x46514a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x4638c0
jmp fcn.00409070