joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b470
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x41b4bf
lea edx, [esi + 8]
mov edi, eax
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x41b482
mov eax, dword [esi]
jmp 0x41b5a8
cmp eax, 0x4e0
jb 0x41b5a8
push ebx
mov ebx, dword [esi + 0x9c4]
lea edi, [esi + 0x9c4]
push ebp
mov ebp, 0xe3
nop dword [eax]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x41b4e0
mov ebx, dword [esi + 0xd50]
lea edi, [esi + 0xd50]
mov ebp, 0x18c
nop dword [eax]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x41b530
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
pop ebx
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret
Function at 0x41c170
Capabilities:
Check for debugger via api

Disassembly:
sub esp, 0x28
push esi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x41c262
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x41c1a7
cmp dword [esp + 0xc], 0
jne 0x41c262
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x67b1a0]
cmp eax, dword [ecx + 4]
jle 0x41c1fb
push 0x67b1a0
call fcn.00479767
add esp, 4
cmp dword [0x67b1a0], 0xffffffff
jne 0x41c1fb
push str.NtQueryInformationProcess
push 0x485a18
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x67b1a0
mov dword [0x671538], eax
call fcn.00479716
add esp, 4
mov esi, dword [0x671538]
test esi, esi
je 0x41c25b
push 0
push 0x18
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x47e5c0]
call esi
test eax, eax
js 0x41c25b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41c25b
push 0
push 1
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x41c25b
mov al, byte [esp + 0xb]
and al, 1
pop esi
add esp, 0x28
ret
xor al, al
pop esi
add esp, 0x28
ret
mov al, 1
pop esi
add esp, 0x28
ret

Function at 0x41cc60
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x41ccbd
lea eax, [esp + 8]
mov dword [esp + 8], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41ccb6
lea eax, [esp + 0x2c]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x41ccc8
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41cc93
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
add esp, 0x22c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
add esp, 0x22c
ret
Function at 0x41d870
Capabilities:
Hide graphical window

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x41d889
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp dword [sym.imp.KERNEL32.dll_FreeConsole]
ret
Function at 0x4250d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [esp + 0xc]
mov ecx, 0
sub esi, edi
je 0x4250f9
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4250e8
pop edi
mov eax, edx
pop esi
ret 8
Function at 0x429b70
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address
Get number of processors

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebx, 0xff
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
and bx, word [edi + 0x54]
mov eax, ebx
mov dword [esp + 0x18], ebx
xor eax, 0x43
mov esi, ebx
mov word [edi], ax
xor esi, 0x6e
mov eax, ebx
mov word [edi + 0xc], si
xor eax, 0x6f
movzx ebp, ax
mov word [edi + 2], ax
mov eax, ebx
xor eax, 0x75
mov word [edi + 0xe], bp
mov word [edi + 4], ax
mov eax, ebx
xor eax, 0x6c
mov word [edi + 6], ax
mov eax, ebx
xor eax, 0x64
movzx ecx, ax
mov word [edi + 8], ax
mov eax, ebx
xor eax, 0x20
movzx edx, ax
mov word [edi + 0xa], ax
mov eax, ebx
xor eax, 0x74
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
xor ebx, 0x61
movzx edi, ax
mov dword [esp + 0x20], ebx
mov word [edx + 0x10], ax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov word [eax + 0x12], dx
mov word [eax + 0x16], cx
mov word [eax + 0x18], cx
mov word [eax + 0x1a], dx
mov edx, dword [esp + 0x14]
mov word [eax + 0x14], bx
mov ebx, dword [esp + 0x14]
mov word [eax + 0x1c], di
mov eax, dword [esp + 0x18]
mov ecx, eax
xor eax, 0x65
xor ecx, 0x68
mov word [ebx + 0x20], ax
mov word [edx + 0x1e], cx
movzx edx, ax
mov eax, dword [esp + 0x1c]
mov word [ebx + 0x22], ax
mov eax, dword [esp + 0x18]
xor eax, 0x69
mov word [ebx + 0x24], ax
mov eax, dword [esp + 0x18]
xor eax, 0x63
mov word [ebx + 0x26], ax
mov eax, ebx
mov word [eax + 0x2a], si
mov esi, dword [esp + 0x1c]
mov word [eax + 0x28], bp
mov word [eax + 0x30], bp
mov ebp, dword [esp + 0x18]
mov word [eax + 0x2c], si
mov word [eax + 0x2e], di
mov word [eax + 0x32], si
mov word [eax + 0x34], di
mov word [eax + 0x36], cx
mov word [eax + 0x38], dx
mov word [eax + 0x3a], si
mov eax, ebp
xor eax, 0x73
mov ecx, ebx
mov word [ebx + 0x40], ax
mov word [ecx + 0x3c], ax
mov eax, ebx
mov ecx, ebp
xor ecx, 0x79
mov word [ebx + 0x3e], cx
mov word [eax + 0x44], dx
mov edx, ebx
mov ebx, dword [esp + 0x20]
mov word [eax + 0x42], di
mov eax, ebp
xor eax, 0x6d
xor ebp, 0x72
mov word [edx + 0x46], ax
mov eax, dword fs:[0x2c]
mov word [edx + 0x4a], di
mov word [edx + 0x48], si
mov word [edx + 0x4c], bp
mov edi, dword [eax]
mov word [edx + 0x4e], bx
mov word [edx + 0x50], cx
mov eax, dword [0x67b198]
cmp eax, dword [edi + 4]
jle 0x429d0b
push 0x67b198
call fcn.00479767
add esp, 4
cmp dword [0x67b198], 0xffffffff
jne 0x429d0b
push 0x29
mov ecx, 0x671540
call fcn.004134a0
push 0x67b198
call fcn.00479716
add esp, 4
mov ecx, 0x671540
call fcn.0041b470
mov ecx, dword [0x66da94]
mov esi, eax
cmp ecx, dword [edi + 4]
jle 0x429d54
push 0x66da94
call fcn.00479767
add esp, 4
cmp dword [0x66da94], 0xffffffff
jne 0x429d54
push 0x52
mov ecx, 0x673c58
call fcn.004134a0
push 0x66da94
call fcn.00479716
add esp, 4
mov ecx, 0x673c58
call fcn.0041b470
mov ecx, dword [esp + 0x14]
shl eax, 0x10
pop edi
xor eax, esi
pop esi
pop ebp
mov dword [ecx + 0x54], eax
mov eax, ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x42a7e0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x42a811
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.00413fc0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x42a91e
nop dword [eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebp]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x18], ebp
cmp edi, esi
jne 0x42a8a4
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x42a911
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x42a8de
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
cmp edx, eax
je 0x42a8d9
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x1c]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x18]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x42a90d
cmp edi, edx
je 0x42a8ee
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x42a928
cmp edi, edx
jne 0x42a8e2
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x14]
lea ebp, [ebx + 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x42a850
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x42a90d
Function at 0x433440
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x43349e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x433482
cmp edi, 2
jb 0x433482
cmp byte [esi], cl
jne 0x433482
cmp byte [esi + 1], cl
jne 0x433482
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x48baf8]
jmp 0x433453
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x48baf8]
test edi, edi
jne 0x433453
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4334cd
cmp cl, 0x23
jne 0x4334b4
cmp byte [esi], cl
jne 0x4334b4
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 + 0x48baf8]
test cl, cl
jne 0x4334a5
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x4335d0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
test ebp, ebp
je 0x4335e3
mov dword [ebp], 0
call fcn.004334e0
mov esi, eax
test esi, esi
je 0x4336bf
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x4336b5
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 0x4336b5
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x4336b5
push 0
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4336b5
mov eax, dword [0x66aec0]
test eax, eax
je 0x433652
inc dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4336b5
push esi
push edi
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, edi
je 0x43369e
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x66aec0]
add esp, 4
test eax, eax
je 0x43368d
dec dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebp, ebp
je 0x4336ae
mov dword [ebp], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x437920
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x48baf8]
sub edi, 1
jne 0x437991
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x43b130
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 0x43b16d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x43b153
cmp byte [esi], bl
jne 0x43b153
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 + 0x48baf8]
test bl, bl
jne 0x43b144
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0043b0d0
Function at 0x440970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0xc
mov eax, dword [0x66aec0]
lea edx, [esp + 4]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x3e48]
mov ebp, ecx
mov ebx, dword [eax + 0xec]
mov esi, 4
push edi
lea edi, [eax + 0xe4]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov dword [esp + 0x14], ebp
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x48baf8]
sub esi, 1
jne 0x4409b0
mov eax, dword [esp + 0x18]
not ebx
mov eax, dword [eax]
cmp dword [eax + 0x3e7c], ebx
jne 0x4409e9
push ecx
push ebp
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0044a540
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x440a14
inc esi
test ecx, ecx
je 0x440a02
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x440a07
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.0044ad30
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x448fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5aac], 0
lea esi, [edi + 0x5ab0]
je 0x449052
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x44900c
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, esi
call fcn.0044b120
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00433c00
mov edx, dword [esi]
mov ecx, 0x66aca2
push dword [edi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ab8]
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
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00433c00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449430
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x66aec0]
test bl, bl
je 0x449479
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x44945f
cmp byte [esi], bl
jne 0x44945f
cmp byte [esi + 1], bl
cmove eax, ebp
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x48baf8]
test bl, bl
jne 0x449450
pop ebp
mov esi, dword [edi + 0x5a54]
xor ecx, ecx
not eax
test esi, esi
jle 0x44949c
mov edi, dword [edi + 0x5a5c]
lea edx, [edi + 4]
cmp dword [edx], eax
je 0x4494a2
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x449490
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x454040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x454077
mov eax, dword [0x66aec0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x454066
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4540ac
mov eax, dword [0x66aec0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x45409b
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4540e1
mov eax, dword [0x66aec0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x4540d0
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
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 0x454132
mov eax, dword [0x66aec0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x454121
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x454167
mov eax, dword [0x66aec0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x454156
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x45419c
mov eax, dword [0x66aec0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x45418b
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00457020
Function at 0x457fc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x66aec0]
test eax, eax
je 0x45800a
inc dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
shl edx, 8
add edx, ecx
mov dword [esp + 0xc], eax
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x4580c5
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x4580c5
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
mov edx, dword [esp + 0xc]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x66b00c], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x66b01c], edx
shl ecx, 8
add ecx, edx
mov dword [0x66b020], edx
add edi, ecx
mov ecx, esi
mov dword [0x66b018], edi
call fcn.0045b7e0
cmp eax, esi
je 0x4580c5
nop
cmp dword [0x66b020], edi
ja 0x4580c5
mov ecx, eax
mov esi, eax
call fcn.0045b7e0
cmp eax, esi
jne 0x4580b0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4580d9
mov ecx, 0x1e
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
jmp 0x458119
push 0x78
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 1
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
movss xmm0, dword [esp + 0x10]
lea esi, [esp + 0x18]
comiss xmm0, dword [0x4a6264]
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x90]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
mov byte [esp + 0x98], 1
lea esi, [esp + 0x90]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
jbe 0x458166
movss dword [esp + 0x28], xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.00457a70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4795c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x4795eb
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x4795ee
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004795a0
pop esi
leave
ret 8

Function at 0x47a20f
Capabilities:
Parse pe header

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

Disassembly:
push ebx
mov eax, edx
push esi
dec edx
test eax, eax
mov eax, dword [esp + 0xc]
je 0x401618
xor ebx, ebx
inc ecx
movzx esi, ax
shr eax, 8
mov bl, byte [ecx - 1]
xor ebx, esi
and ebx, 0xff
mov esi, dword [ebx*4 + 0x407080]
xor esi, eax
mov eax, esi
mov esi, edx
dec edx
test esi, esi
jne 0x4015ed
pop esi
pop ebx
ret 4
pop esi
pop ebx
ret 4

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219