joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403930
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x40397c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x40395f
cmp edi, 2
jb 0x40395f
cmp byte [esi], cl
jne 0x40395f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x45e950]
test edi, edi
jne 0x403945
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4039ab
cmp cl, 0x23
jne 0x403992
cmp byte [esi], cl
jne 0x403992
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x45e950]
test cl, cl
jne 0x403983
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403ac0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x403ad4
mov dword [edi], 0
mov edx, 0x45e7ac
call fcn.004039c0
mov esi, eax
test esi, esi
je 0x403bd0
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x403bc6
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403bc6
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x403bc6
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403bc6
mov eax, dword [0x4a4ba0]
test eax, eax
je 0x403b50
inc dword [eax + 0x370]
push dword [0x4a4b98]
push ebx
call fcn.00403250
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x403bc6
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x403bab
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x4a4ba0]
add esp, 4
test eax, eax
je 0x403b93
dec dword [eax + 0x370]
push dword [0x4a4b98]
push ebx
call fcn.00403270
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x403bbd
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405b20
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b5a3
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x49e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4a4ba0]
test eax, eax
je 0x405b57
inc dword [eax + 0x370]
push dword [0x4a4b98]
push 0x3d48
call fcn.00403250
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd]
add esp, 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x405b91
push 0
mov ecx, eax
call fcn.00402090
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x405b96
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
mov esi, 0x45e6f9
mov eax, dword [0x4a4ba0]
test eax, eax
mov dword [ebp - 0x34], 0
cmove eax, edi
mov dword [ebp - 0x20], 0
mov dword [0x4a4ba0], eax
or edx, 0xffffffff
mov dword [ebp - 0x40], str.Window
mov al, 0x57
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x405bde
cmp byte [esi], al
jne 0x405bde
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x45e950]
test al, al
jne 0x405bd0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
not edx
mov dword [ebp - 0x38], 0x4133e0
push eax
mov dword [ebp - 0x3c], edx
lea ecx, [ebx + 0x2ed4]
mov dword [ebp - 0x30], 0x413460
mov dword [ebp - 0x2c], 0x4134d0
mov dword [ebp - 0x28], 0x4135a0
mov dword [ebp - 0x24], 0x413670
call fcn.00413b10
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov esi, 0x4947e9
mov dword [ebp - 0x40], str.Table
mov al, 0x54
or edi, 0xffffffff
cmp al, 0x23
jne 0x405c61
cmp byte [esi], al
jne 0x405c61
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x45e950]
test al, al
jne 0x405c53
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], 0x425cb0
not edx
mov dword [ebp - 0x30], 0x425d70
push eax
lea ecx, [ebx + 0x2ed4]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], 0x425e20
mov dword [ebp - 0x28], 0x425d30
mov dword [ebp - 0x24], 0x426060
call fcn.00413b10
mov edi, dword [ebp - 0x14]
mov eax, edi
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4097b0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x4097ed
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x4097d3
cmp byte [esi], bl
jne 0x4097d3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x45e950]
test bl, bl
jne 0x4097c4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00409740
Function at 0x412be0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x4a4ba0]
push edi
cmp byte [esi + 0x2f08], 0
je 0x412c7f
cmp dword [esi + 0x2f10], 0
lea edi, [esi + 0x2f14]
je 0x412c71
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x412c29
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00414520
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.00404020
mov edx, dword [edi]
mov ecx, 0x4a4b9c
push dword [esi + 0x2f10]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2f1c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.00404020
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4132a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4a4ba0]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x2ec4], 0
push edi
test esi, esi
je 0x4132fd
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.00413310
mov edx, 0x45e7b0
mov ecx, esi
mov edi, eax
call fcn.004039c0
mov esi, eax
test esi, esi
je 0x4132fd
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41c6bc
mov eax, dword [0x4a4ba0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41c6a6
dec dword [eax + 0x370]
push dword [0x4a4b98]
push ecx
call fcn.00403270
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41c6f6
mov eax, dword [0x4a4ba0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41c6e0
dec dword [eax + 0x370]
push dword [0x4a4b98]
push ecx
call fcn.00403270
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41c730
mov eax, dword [0x4a4ba0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41c71a
dec dword [eax + 0x370]
push dword [0x4a4b98]
push ecx
call fcn.00403270
add esp, 8
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41c786
mov eax, dword [0x4a4ba0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41c770
dec dword [eax + 0x370]
push dword [0x4a4b98]
push ecx
call fcn.00403270
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41c7c0
mov eax, dword [0x4a4ba0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41c7aa
dec dword [eax + 0x370]
push dword [0x4a4b98]
push ecx
call fcn.00403270
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41c7fa
mov eax, dword [0x4a4ba0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41c7e4
dec dword [eax + 0x370]
push dword [0x4a4b98]
push ecx
call fcn.00403270
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041ee10
Function at 0x425500
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x49e00c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x4a4ba0]
lea eax, [esp + 0x10]
push esi
push edi
push eax
push dword [0x4a4c48]
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
movd xmm1, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x30]
mov ecx, edi
sub ecx, dword [0x4a4c50]
mov esi, dword [esp + 0x34]
mov edx, esi
sbb edx, dword [0x4a4c54]
call fcn.0045b080
mov edx, dword [0x4a4c5c]
mov ecx, dword [0x4a4c58]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
call fcn.0045b080
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x4a4c54], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x4a4c50], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xfd], al
call esi
mov esi, dword [0x4a4ba0]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
cmp byte [esi + 0x357], 0
je 0x42564d
cvttss2si eax, dword [esi + 0xe4]
mov dword [esp + 0x28], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push dword [0x4a4c48]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x42564d
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x4256c7
mov ecx, dword [0x4a4c48]
cmp eax, ecx
je 0x425681
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4256c7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4256c7
lea eax, [esp + 0x10]
push eax
push dword [0x4a4c48]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4256c7
movd xmm0, dword [esp + 0x10]
movd xmm1, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [ebx + 0xb0], 0
je 0x4256d5
or eax, 0xffffffff
jmp 0x4256e0
mov eax, dword [0x4a4ba0]
mov eax, dword [eax + 0x1e68]
cmp dword [0x4a3e4c], eax
je 0x4256f2
mov dword [0x4a3e4c], eax
call fcn.00425140
call fcn.00425270
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004598cb
mov esp, ebp
pop ebp
ret
Function at 0x435e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x49e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
cmp dword [esi], 0
je 0x435ea2
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004598cb
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea ecx, [esi + 0x30]
call fcn.0043cea0
test eax, eax
jne 0x435fc1
push eax
push eax
push eax
push eax
mov dword [esi + 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 1
mov dword [esi + 0x14], eax
test eax, eax
jne 0x435ee8
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x435fc1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x435f0e
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x435fc1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x435f34
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x435fc1
mov eax, dword [ebp + 0xc]
push 0
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x435f57
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x435fc1
push 0
push dword [ebp + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x435f7a
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x435fc1
lea eax, [ebp - 8]
mov dword [esi + 4], edi
push eax
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x435fa8
call ebx
test eax, eax
cmovne edi, eax
test edi, edi
jne 0x435fc1
pop edi
pop ebx
mov dword [esi], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004598cb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xc
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.004598cb
mov esp, ebp
pop ebp
ret

Function at 0x4391f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x439206
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4394b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], edx
xor ebx, ebx
push esi
mov edx, ecx
push edi
mov dword [ebp - 4], edx
mov edi, ebx
mov esi, ebx
shr esi, 2
shr edi, 1
mov eax, edi
and eax, 1
movzx ecx, word [edx + esi*2 + 4]
neg eax
shr eax, 4
neg esi
and eax, 0x7f
shr ecx, 4
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [ebp + 0xc]
shr esi, 4
mov edx, dword [eax + ecx*4]
add edx, dword [eax + esi*4]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movzx ecx, word [eax + edi*2 + 8]
mov edi, dword [ebp + 8]
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [esi + eax*4]
add eax, edx
mov dword [edi + ebx*4], eax
mov eax, dword [esi + ecx*4]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x4394c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx esi, word [ecx]
mov eax, esi
mov dword [ebp - 4], ebx
xor eax, 0x7f0
shr esi, 4
shr eax, 4
mov edx, dword [edi + esi*4]
mov eax, dword [edi + eax*4]
mov dword [ebp + 0xc], eax
movzx eax, word [ecx + 0x10]
mov esi, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 0x14], edx
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4395cb
mov esi, ecx
mov dword [ebp - 8], eax
add ebx, 4
push edi
push ebx
mov ecx, esi
call fcn.004394b0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x20]
push edi
push eax
lea ecx, [esi + 0x10]
call fcn.004394b0
mov edx, dword [ebp - 0x14]
add esp, 0x10
add ebx, 0x440
add esi, 0x20
sub dword [ebp - 8], 1
jne 0x439594
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp ebx, 0x10
jbe 0x4396a9
mov eax, dword [ebp - 4]
add ebx, 0xfffffff1
add eax, 0x44
shr ebx, 1
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x10]
xor eax, 0x7f0
shr eax, 4
add esi, dword [edi + eax*4]
lea eax, [ebx + 0x180]
mov dword [ebp + 0xc], esi
lea eax, [ecx + eax*2]
nop
dec ebx
sub eax, 2
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ebx
lea eax, [ebx + 0x80]
mov ebx, dword [ebp + 8]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [edi + ecx*4]
cmp eax, 2
jae 0x439613
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
movzx ecx, word [eax]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [edx + ebx*8], eax
mov eax, dword [edi + ecx*4]
add eax, esi
mov esi, dword [ebp + 0xc]
mov dword [edx + ebx*8 + 4], eax
mov eax, dword [ebp - 8]
test ebx, ebx
jne 0x439600
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0xc]
cmp eax, 1
jbe 0x4396a9
lea esi, [ecx + 0x484]
lea edi, [eax - 1]
nop dword [eax]
push ebx
push edx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x10]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x439690
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43b650
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
mov dword [ebp - 8], edi
mov dword [edi + 0x7c], 0
lea ebx, [edi + 0x258]
mov dword [edi + 0x78], 0
lea esi, [edi + 0x2b8]
mov dword [edi + 0x28c], 0
mov word [edi + 0x276], 0
mov dword [edi + 0x27c], 0
mov dword [edi + 0x6c0], 0xffffffff
mov dword [edi + 0x6c4], 0xffffffff
mov dword [edi + 0x288], 0x20
mov byte [edi + 0x275], 1
mov dword [edi + 0x2a0], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x43b6c6
lea edx, [ebp - 0x40]
mov dword [edi + 0x1d0], 0
mov ecx, edi
mov dword [edi + 0x200], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x210], 0
mov dword [edi + 0x214], 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x250], ebx
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x18], 0
call fcn.00438f40
lea eax, [edi + 0x2c9c]
mov ebx, 2
mov edi, eax
mov word [edi], 0x100
add edi, 2
mov ecx, ebx
mov esi, 1
shr ecx, 1
dec ecx
shl esi, cl
test esi, esi
je 0x43b8bf
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
inc ebx
add edi, esi
cmp ebx, 0x16
jb 0x43b8a4
mov edi, dword [ebp - 8]
mov ebx, 8
lea eax, [edi + 0x748]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, ebx
lea esi, [edx + 4]
nop
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x43b8fa
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x43b8f0
sub esi, 1
jne 0x43b8e0
mov ecx, dword [ebp - 4]
mov eax, 0xa1
sub eax, edx
add ebx, 0x10
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 4], ecx
cmp ebx, 0x808
jb 0x43b8d8
mov dword [edi + 0x50], esi
mov dword [edi + 0x1bca4], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c8a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movaps xmm0, xmmword [0x497be0]
push ebx
push esi
mov esi, ecx
mov ebx, 0x400
push edi
mov edi, 0xc
mov eax, dword [esi + 0x78]
lea edx, [esi + 0x1e54]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x201c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 1
mov dword [esi + 0x3c], 1
mov dword [esi + 0x38], 1
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
movups xmmword [esi + 0x1e1c], xmm0
movups xmmword [esi + 0x1e2c], xmm0
mov ecx, 0x10
nop word [eax + eax]
mov word [eax - 0x180], bx
mov word [eax], bx
add eax, 2
sub ecx, 1
jne 0x43c950
mov word [edx - 0x18], bx
mov word [edx], bx
mov word [edx + 0x18], bx
mov word [edx + 0x30], bx
add edx, 2
sub edi, 1
jne 0x43c941
mov eax, 0x4000400
lea edi, [esi + 0x219c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x239c]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x98]
mov eax, 0x300
add ecx, dword [esi + 0x94]
shl eax, cl
test eax, eax
je 0x43c9c2
mov edi, dword [esi + 0x50]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, 0x4000400
lea edi, [esi + 0x249c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x269c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esi + 0x289c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x2a9c]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xbca4]
mov dword [esi + 0x18], 0
mov ecx, 0x800
mov dword [eax], 0x40000000
lea eax, [eax + 0x20]
sub ecx, 1
jne 0x43ca14
mov dword [esi + 0x34], ecx
mov eax, 1
mov ecx, dword [esi + 0x9c]
mov edx, 0x100
shl eax, cl
mov ecx, dword [esi + 0x98]
dec eax
mov dword [esi + 0x4c], eax
mov eax, edx
shl eax, cl
mov ecx, dword [esi + 0x94]
shr edx, cl
sub eax, edx
pop edi
mov dword [esi + 0x48], eax
pop esi
pop ebx
ret