joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447450
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47dbc8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x447489
inc eax
mov dword [esi + 0x10], eax
jmp 0x44759c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44749d
mov eax, 0xffffffc7
jmp 0x44759e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4474ae
cmp dword [esi + 8], eax
jne 0x44749d
cmp dword [esi + 8], eax
jne 0x4474c7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4474c7
mov eax, 0xffffffc7
jmp 0x44759e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4474db
push eax
mov ecx, ebx
call fcn.00446c80
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00417e30
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44750c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00417e50
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004463f0
test eax, eax
mov dword [esp + 0x38], eax
je 0x44753f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5cbeb8
call fcn.00418030
mov eax, dword [esp + 0x38]
jmp 0x44759e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004472b0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x447583
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004472d0
mov esi, eax
test esi, esi
jne 0x4475b3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004472b0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x447555
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5cbeb8
call fcn.00418030
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5cbeb8
call fcn.00418030
mov eax, esi
jmp 0x44759e

Function at 0x44a6d0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x44a730
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x44a730
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x44a730
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x44a730
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x44a770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x450680
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47e1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004770cd
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00450020
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00476ffb
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004738bf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004738bf
push 1
push 0
push 0
mov ecx, esi
call fcn.00473867
push 1
push 0
push 1
mov ecx, esi
call fcn.00473867
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047713f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x450800
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47e218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004770cd
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00450020
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00476ffb
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4508c4
cmp dword [esp + 0x40], 1
jne 0x4508c2
cmp ecx, eax
jge 0x4508c4
mov eax, ecx
cmp eax, 0xc8
jge 0x4508d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00450680
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047713f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x451040
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47e283
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00471cdd
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00477375
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00478891
test eax, eax
je 0x45115c
mov ecx, dword [esp + 0x3c]
call fcn.004773a2
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x451120
push edi
mov ecx, esi
call fcn.00474a0a
mov ecx, esi
call fcn.004512c0
cmp dword [esp + 0x38], 1
jne 0x451155
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00474b45
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x453b80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x453bb3
push esi
call fcn.00456c80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x453bac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x453c39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x453c22
mov eax, dword [esi + 8]
test eax, eax
je 0x453bd7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x453c1e
cmp eax, 2
je 0x453c22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x453bca
cmp eax, 3
je 0x453bfd
cmp eax, 1
jne 0x453bca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x453bca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x453bca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00453c60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x453c48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00453c60
add esp, 4
pop esi
ret

Function at 0x472ad2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x472b0a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00470b89
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00470b61
jmp 0x472b16
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4741c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x474209
call fcn.00479c7c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x474209
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x474200
xor eax, eax
jmp 0x474211
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00474217
pop edi
pop esi
pop ebx
ret 4

Function at 0x47a1ac
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47a1da
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47a1f8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047a112
jmp 0x47a1f8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47a1f8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047a112
test edi, edi
mov eax, edi
jne 0x47a1e2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402dca
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x402dfe
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.00402e10
lea eax, [ebx + 1]
cmp eax, 2
jb 0x402df7
mov dword [esi], ebx
call fcn.004516c0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4042de
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
push edi
call fcn.004035c0
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], ebx
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0x34]
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x20], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
cmova ecx, eax
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], 0x10
mov dword [esi + 0xa0], 0x20
mov dword [esi + 0xa4], edi
lea eax, [esi + 4]
mov dword [esi + 4], edi
xor eax, 0xb37cc16a
mov dword [esi + 8], eax
mov dword [esi + 0xc], esi
pxor xmm0, xmm0
movdqu xmmword [esi + 0x14], xmm0
movdqu xmmword [esi + 0x24], xmm0
movdqu xmmword [esi + 0x34], xmm0
movdqu xmmword [esi + 0x44], xmm0
movdqu xmmword [esi + 0x54], xmm0
movdqu xmmword [esi + 0x64], xmm0
movdqu xmmword [esi + 0x74], xmm0
movdqu xmmword [esi + 0x80], xmm0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x404cdc
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, edx
cmp edx, 4
jb 0x404d14
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x404cee
cmp edx, 1
je 0x404d35
cmp edx, 2
je 0x404d2c
cmp edx, 3
jne 0x404d40
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 8
Function at 0x404ea0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov dword [ebp - 0x10], 0xffffffff
mov edi, 2
xor eax, eax
lock cmpxchg dword [ecx], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x404ef4
mov ebx, dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x404f17
mov eax, dword [ebp - 0x10]
cmp eax, 2
je 0x404edd
call ebx
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
lock cmpxchg dword [esi], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x404ecb
cmp dword [esi + 4], 0
je 0x404f00
call dword [sym.imp.KERNEL32.dll_DebugBreak]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.00404f48
xor ecx, ecx
inc ecx
xchg dword [esi], ecx
jmp 0x404f32
mov eax, dword [esi + 4]
test eax, eax
jne 0x404f27
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x404f3a
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00404f48
Function at 0x4099a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movdqu xmm1, xmmword [ecx]
movdqu xmm2, xmmword [ecx + 0x10]
movdqu xmm4, xmmword [ecx + 0x20]
movdqu xmm3, xmmword [ecx + 0x30]
movd xmm0, dword [ebp + 0x10]
pxor xmm0, xmm1
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x40
jb 0x409a6e
movdqa xmm1, xmmword [0x561e70]
movdqa xmm5, xmmword [0x561e80]
nop word cs:[eax + eax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm1, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm1, 0
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm4
pclmulqdq xmm6, xmm1, 0
pclmulqdq xmm4, xmm5, 0x11
pxor xmm4, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmm1, 0
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm6
movdqu xmm6, xmmword [ecx]
pxor xmm0, xmm6
movdqu xmm6, xmmword [ecx + 0x10]
pxor xmm2, xmm6
movdqu xmm6, xmmword [ecx + 0x20]
pxor xmm4, xmm6
movdqu xmm6, xmmword [ecx + 0x30]
pxor xmm3, xmm6
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x3f
ja 0x4099f0
movdqa xmm1, xmmword [0x561e90]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm1, 0
pxor xmm5, xmm2
movdqa xmm2, xmmword [0x561ea0]
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm1, 0
pxor xmm5, xmm4
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm5
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm3
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm4
cmp eax, 0x10
jb 0x409bb8
lea edx, [eax - 0x10]
mov esi, edx
shr esi, 4
inc esi
and esi, 3
je 0x409b18
shl esi, 4
xor edi, edi
nop word cs:[eax + eax]
movdqu xmm3, xmmword [ecx + edi]
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm3
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm4
add edi, 0x10
cmp esi, edi
jne 0x409af0
add ecx, edi
sub eax, edi
movdqa xmm3, xmm0
cmp edx, 0x30
jb 0x409bbc
nop word cs:[eax + eax]
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pclmulqdq xmm0, xmm2, 0x11
movdqu xmm3, xmmword [ecx]
pxor xmm3, xmm4
pxor xmm3, xmm0
movdqu xmm0, xmmword [ecx + 0x10]
movdqa xmm4, xmm3
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm0
pclmulqdq xmm3, xmm2, 0x11
pxor xmm3, xmm4
movdqu xmm0, xmmword [ecx + 0x20]
movdqa xmm4, xmm3
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm0
pclmulqdq xmm3, xmm2, 0x11
pxor xmm3, xmm4
movdqu xmm0, xmmword [ecx + 0x30]
movdqa xmm4, xmm3
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm0
pclmulqdq xmm3, xmm2, 0x11
pxor xmm3, xmm4
add ecx, 0x40
add eax, 0xffffffc0
movdqa xmm0, xmm3
cmp eax, 0xf
ja 0x409b30
jmp 0x409bbc
movdqa xmm3, xmm0
movdqa xmm0, xmmword [0x561ea0]
pclmulqdq xmm0, xmm3, 1
psrldq xmm3, 8
pxor xmm3, xmm0
pxor xmm1, xmm1
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
psrldq xmm3, 4
pclmulqdq xmm0, xmmword [0x561eb0], 0
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x561ec0], 0x10
pblendw xmm2, xmm1, 0xfc
pclmulqdq xmm2, xmmword [0x561ed0], 0
pxor xmm2, xmm0
pextrd eax, xmm2, 1
pop esi
pop edi
pop ebp
ret
Function at 0x41c6c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00427538
mov edx, eax
test ebx, ebx
je 0x41c6e7
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x41c6f2
movzx eax, word [eax]
jmp 0x41c709
xor ecx, ecx
test dl, dl
je 0x41c71c
jmp 0x41c7b0
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
mov byte [ebp - 0x10], dl
call dword [section..00cfg]
mov ecx, ebx
call edi
mov dl, byte [ebp - 0x10]
xor edi, edi
cmp ax, 0xffff
sete al
je 0x41c716
mov edi, ebx
mov ecx, edi
cmp dl, al
je 0x41c796
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [ebp - 0x10], ecx
je 0x41c72e
movzx edi, word [eax]
jmp 0x41c741
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov edi, eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [section..00cfg]
movzx eax, di
mov ecx, ebx
push eax
push 8
call esi
test al, al
je 0x41c790
mov esi, dword [ebp + 8]
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov ebx, dword [ebp - 0x10]
je 0x41c77a
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x41c6cd
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
jmp 0x41c6ca
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00427538
mov ebx, eax
test edi, edi
je 0x41c7b9
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x41c7bf
movzx eax, word [eax]
jmp 0x41c7d0
mov ecx, esi
call fcn.00427538
mov ebx, eax
test bl, bl
jne 0x41c7db
jmp 0x41c7e1
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp ax, 0xffff
sete al
xor bl, al
jne 0x41c7e1
mov eax, dword [ebp + 0x10]
or byte [eax], 2
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42b135
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
cmp dword [0x5aa524], 0
je 0x42b14c
mov ecx, dword [0x5aa520]
jmp 0x42b174
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.WakeAllConditionVariable
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x5aa520], eax
mov dword [0x5aa524], 1
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x42b189
call dword [section..00cfg]
push ebx
call ecx
jmp 0x42b227
mov eax, dword [ebx]
test eax, eax
je 0x42b227
cmp eax, 2
jne 0x42b1a9
push str.lockAndGetRealAddr_fail_1_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
shl esi, 5
or esi, 2
mov edi, dword [ebx]
and edi, 0xfffffff0
cmp esi, edi
jne 0x42b1d1
push str.lockAndGetRealAddr_fail_2_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, edi
lock cmpxchg dword [ebx], esi
cmp dword [ebx], esi
je 0x42b1df
pause
jmp 0x42b1b7
mov esi, eax
and esi, 0xfffffff0
cmp esi, eax
je 0x42b1f9
push str.lockAndGetRealAddr_fail_3_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, 3
xchg dword [ebx], eax
test esi, esi
jne 0x42b215
push str.wakeAllConditionVariable_fail_1_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
xor eax, eax
inc eax
mov ecx, esi
mov edx, eax
xchg dword [ecx], edx
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x42b21a
xchg dword [ebx], esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42c4a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x565c8c
add ecx, 4
call fcn.00434ee0
lea ecx, [esi + 8]
call fcn.00434ee0
mov byte [esi + 0xc], 0
lea ecx, [esi + 0x24]
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
call fcn.00434ee0
mov byte [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
lea eax, [esi + 0x3c]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], eax
xorps xmm0, xmm0
movups xmmword [esi + 0x44], xmm0
movups xmmword [esi + 0x54], xmm0
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x6c], 0x3f800000
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0x3f800000
movups xmmword [esi + 0x88], xmm0
mov dword [esi + 0x98], 0x3f800000
movups xmmword [esi + 0x9c], xmm0
mov dword [esi + 0xac], 0x3f800000
movups xmmword [esi + 0xb0], xmm0
mov dword [esi + 0xc0], 0x3f800000
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
movups xmmword [esi + 0xc8], xmm0
mov dword [esi + 0xd8], 0
mov eax, dword [0x56c30c]
mov dword [esi + 0xe8], eax
lea ecx, [esi + 0xec]
call fcn.00467120
xorps xmm0, xmm0
movups xmmword [esi + 0x188], xmm0
movaps xmm0, xmmword [0x562940]
movups xmmword [esi + 0x198], xmm0
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0
mov byte [esi + 0x1b4], 0
mov dword [esi + 0x1b8], edi
mov byte [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
call fcn.00403610
call fcn.00436d50
mov ecx, eax
mov dword [esi + 0xd8], eax
xor ecx, 0x84222325
mov edx, 0x1b3
mov eax, ecx
mul edx
shl ecx, 8
add ecx, edx
add ecx, 0x8d40976c
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], ecx
mov edx, dword [esi + 0xe8]
mov ecx, dword [esi + 0xf0]
mov eax, ecx
shr eax, 6
test dword [0x56c310], edx
je 0x42c67e
cmp ecx, 0x40
mov ecx, 0x3e8
jmp 0x42c68e
test dword [0x56c314], edx
je 0x42c6ed
cmp ecx, 0x40
mov ecx, 0x100
cmovb eax, ecx
push eax
call fcn.00466020
add esp, 4
mov edi, dword [esi + 0x14]
mov dword [esi + 0x14], eax
test edi, edi
je 0x42c6b6
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
call fcn.00431630
mov dword [ebp - 0x14], 0
mov ecx, eax
push 0
push str.TraceLog
push esi
call fcn.004318c0
mov dword [0x5aa744], esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
test dword [0x56c318], edx
je 0x42c6ff
cmp ecx, 0x40
mov ecx, 0x7a1200
jmp 0x42c707
cmp ecx, 0x40
mov ecx, 0xfa0
cmovb eax, ecx
push eax
call fcn.00466100
jmp 0x42c697