joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403714
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x415020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037ac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40378c
xor eax, eax
push ebp
push 0x403785
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4037c8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40378c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x415020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x415020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404264
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x416044], 0
je 0x4042c5
cmp word [0x416218], 0xd7b2
jne 0x40428d
cmp dword [0x416220], 0
jbe 0x40428d
mov eax, 0x416214
call dword [0x416230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41506c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4042ec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41502c], 0
jne 0x4042e1
push 0
push 0x415064
push 0x41506c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405e70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405ed6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404658
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004031a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ec0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405edd
lea eax, [ebp - 0x10]
call fcn.004043e8
ret

Function at 0x4079a4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404884
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4079bd
test al, 0x10
jne 0x4079c1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40a20c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044d8
jmp 0x40a24e
mov eax, ebx
mov edx, esi
call fcn.0040443c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a279
mov al, byte [esp]
jmp 0x40a27b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a910
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a778
mov eax, dword [0x415528]
cmp byte [eax], 0
je 0x40a98c
mov eax, dword [0x415444]
call fcn.00402f40
call fcn.00402ad8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407b0c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a9d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a9c2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x415420]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x416660]
call fcn.00405318
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b6d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b738
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404658
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040769c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b73f
lea eax, [ebp - 0xc]
call fcn.004043e8
ret

Function at 0x413750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x413871
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.00407c4c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00407488
mov eax, dword [ebp - 4]
call fcn.00404684
dec eax
jge 0x413796
mov ebx, 0xcc
jmp 0x413856
push dword [ebp + 0x18]
push dword [ebp + 0x14]
lea edx, [ebp - 8]
mov eax, 0x41388c
call fcn.004098f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edx, [ebp - 0xc]
mov eax, 0x41388c
call fcn.004098f4
lea edx, [ebp - 0x14]
mov eax, dword [0x4168a0]
call fcn.00407524
push dword [ebp - 0x14]
push 0x4138a4
push dword [ebp - 4]
push 0x4138a4
push dword [ebp - 8]
push 0x4138a4
push dword [ebp - 0xc]
push 0x4138a4
push dword [0x41689c]
mov eax, dword [0x4153c8]
mov edx, 9
call fcn.00404744
lea eax, [ebp - 0x18]
mov ecx, 0x4138b0
mov edx, dword [0x416898]
call fcn.004046d0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4153c8]
mov eax, dword [eax]
call fcn.00412e88
push 1
push 0x4138c4
push 0x4138c8
lea eax, [ebp - 0x1c]
mov ecx, 0x4138d4
mov edx, dword [0x416898]
call fcn.004046d0
mov eax, dword [ebp - 0x1c]
call fcn.00404884
push eax
push 0x4138e4
push 0
call sub.shell32.dll_ShellExecuteA
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413878
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040440c
ret
Function at 0x10001120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089415
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100c8050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
je 0x1000116d
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061d94
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
push 4
mov dword [0x100cbe84], esi
call fcn.100622dd
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10025900
push 0
push 0
call fcn.1006fa9d
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100011c6
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100011d4
push ecx
push eax
call fcn.100618d2
add esp, 8
test eax, eax
jne 0x100011db
jmp 0x1000114f
push 6
mov dword [ebp - 0x18], 0
call fcn.1006189d
push 1
call fcn.1006189d
push eax
call fcn.10061870
int3
Function at 0x10009060
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100ca190]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100caaec]
cmp eax, dword [ecx + 4]
jle 0x100090ea
push 0x100caaec
call fcn.10062207
add esp, 4
cmp dword [0x100caaec], 0xffffffff
jne 0x100090ea
push 0
call fcn.1006f11b
add esp, 4
mov dword [0x100cbe7c], 0xffffffff
mov dword [0x100caafc], eax
mov edx, 1
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x100caafc], eax
inc edx
cmp edx, 0x270
jb 0x100090b4
push 0x100caaec
mov dword [0x100caaf8], 0x270
call fcn.100621bd
add esp, 4
mov eax, dword [0x100c8fb0]
push edi
mov edi, dword [0x100c8fac]
mov dword [ebp - 4], eax
cmp edi, eax
je 0x100092b8
movss xmm1, dword [0x100be734]
push ebx
push esi
nop dword [eax + eax]
mov eax, dword [0x100caaf8]
mov ebx, dword [edi]
cmp eax, 0x270
jne 0x10009166
mov edx, 0x100cab00
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
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 esi, 1
jne 0x10009125
mov eax, dword [0x100caaf8]
jmp 0x10009241
cmp eax, 0x4e0
jb 0x10009241
xor edx, edx
mov ecx, dword [edx + 0x100cb4bc]
xor ecx, dword [edx + 0x100cb4c0]
and ecx, 0x7fffffff
xor ecx, dword [edx + 0x100cb4bc]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x100cbaf0]
xor eax, ecx
mov dword [edx + 0x100caafc], eax
add edx, 4
cmp edx, 0x38c
jb 0x10009173
mov edx, 0x38c
nop dword [eax + eax]
mov ecx, dword [edx + 0x100cb4c0]
xor ecx, dword [edx + 0x100cb4bc]
and ecx, 0x7fffffff
xor ecx, dword [edx + 0x100cb4bc]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x100ca770]
xor eax, ecx
mov dword [edx + 0x100caafc], eax
add edx, 4
cmp edx, 0x9bc
jb 0x100091c0
mov ecx, dword [0x100cbe78]
xor ecx, dword [0x100caafc]
and ecx, 0x7fffffff
xor ecx, dword [0x100cbe78]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, ecx
xor eax, dword [0x100cb12c]
mov dword [0x100cb4b8], eax
xor eax, eax
mov dword [0x100caaf8], eax
mov ecx, dword [eax*4 + 0x100caafc]
add edi, 4
inc eax
mov dword [0x100caaf8], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x100cbe7c]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100beb30]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx + 0x14], xmm0
cmp edi, dword [ebp - 4]
jne 0x10009110
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000a5f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x1000a622
jl 0x1000a615
test ecx, ecx
jne 0x1000a622
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000a6e2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.1000d730
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1000a68e
jg 0x1000a64d
test esi, esi
je 0x1000a68e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1000a665
mov eax, dword [esp + 0x10]
jl 0x1000a65f
cmp eax, esi
jae 0x1000a665
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10063980
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1000a6af
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1000a6cb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x1000a634
jl 0x1000a6cb
test ecx, ecx
jne 0x1000a634
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1000a720
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1000a720
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.10063980
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x1000a789
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1000a746
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x1000a774
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1006f52a
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1000a789
cmp edi, eax
ja 0x1000a752
test edi, edi
je 0x1000a789
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1006f52a
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000db30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089f6c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100c8050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1000dbe4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.1000ea20
mov byte [ebp - 4], 6
xor esi, esi
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x1000dc2f
mov eax, ecx
neg eax
cmp esi, eax
jae 0x1000dc2f
add ecx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1000dc39
add ecx, esi
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.10011030
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1000dc67
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x1000e8d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a100
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100c8050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100622dd
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1006110b
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea edi, [eax + 0x14]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax + 0x20], ecx
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x100ca954]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [0x100ca958]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
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 0x10026100
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b24d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100c8050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x100ca978
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x100261eb
cmp dword [ebp - 0x20], 0
je 0x100261d1
mov dword [ebp - 0x28], 0x100ca978
mov dword [ebp - 0x24], 4
mov dword [ebp - 4], 0
mov esi, dword [0x100caa74]
mov byte [ebp - 0x18], 0xb8
mov word [ebp - 0x13], 0xe0ff
test esi, esi
jne 0x1002617b
xor eax, eax
jmp 0x1002617e
lea eax, [esi - 0xc]
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov ax, word [ebp - 0x14]
mov word [esi + 4], ax
mov al, byte [ebp - 0x12]
mov byte [esi + 6], al
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 7
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0
push 0
push 0x100ca978
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x100261f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061d94
mov esp, ebp
pop ebp
ret
call fcn.1006fb6a
call fcn.100618ea
int3
Function at 0x10026200
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.10026450
mov eax, dword [ebp + 0xc]
mov ecx, 0x811c9dc5
mov edx, dword [eax + 0x1c]
mov al, byte [edx + 4]
add edx, 4
nop word [eax + eax]
movzx eax, al
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0x1000193
mov al, byte [edx]
test al, al
jne 0x10026220
cmp ecx, 0xcd26e466
ja 0x10026387
je 0x100262f2
cmp ecx, 0x39577cc1
je 0x100262f2
cmp ecx, 0xb7b568bb
jne 0x1002644d
cmp byte [0x100c8b20], al
je 0x1002644d
mov eax, dword [0x100c8b24]
sub eax, 0
je 0x10026285
sub eax, 1
jne 0x1002644d
mov esi, dword [0x100ca9e4]
jmp 0x1002628b
mov esi, dword [0x100ca9e0]
test esi, esi
je 0x1002644d
movd xmm0, dword [0x100c8b30]
sub esp, 0xc
movss xmm1, dword [0x100be744]
mov ecx, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
divss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, dword [0x100c8b2c]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, dword [0x100c8b28]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp], xmm0
call eax
movd xmm0, dword [0x100c8b34]
jmp 0x10026423
cmp byte [0x100c8a9c], 0
je 0x1002644d
mov eax, dword [0x100c8aa0]
sub eax, 0
je 0x1002631a
sub eax, 1
jne 0x1002644d
mov esi, dword [0x100ca9e4]
jmp 0x10026320
mov esi, dword [0x100ca9e0]
test esi, esi
je 0x1002644d
movd xmm0, dword [0x100c8aac]
sub esp, 0xc
movss xmm1, dword [0x100be744]
mov ecx, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
divss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, dword [0x100c8aa8]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, dword [0x100c8aa4]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp], xmm0
call eax
movd xmm0, dword [0x100c8ab0]
jmp 0x10026423
cmp ecx, 0xd68ad861
jne 0x1002644d
cmp byte [0x100c8b44], 0
je 0x1002644d
mov eax, dword [0x100c8b48]
sub eax, 0
je 0x100263bb
sub eax, 1
jne 0x1002644d
mov esi, dword [0x100ca9e4]
jmp 0x100263c1
mov esi, dword [0x100ca9e0]
test esi, esi
je 0x1002644d
movd xmm0, dword [0x100c8b54]
sub esp, 0xc
movss xmm1, dword [0x100be744]
mov ecx, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
divss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, dword [0x100c8b50]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, dword [0x100c8b4c]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp], xmm0
call eax
movd xmm0, dword [0x100c8b58]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x6c]
divss xmm0, dword [0x100be744]
movss dword [esp], xmm0
call eax
mov ecx, dword [0x100ca98c]
push 0
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
pop esi
pop ebp
ret
Function at 0x100292b0
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 0x10029311
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100292f4
cmp edi, 2
jb 0x100292f4
cmp byte [esi], cl
jne 0x100292f4
cmp byte [esi + 1], cl
jne 0x100292f4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100b4b58]
jmp 0x100292c5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100b4b58]
test edi, edi
jne 0x100292c5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10029340
cmp cl, 0x23
jne 0x10029327
cmp byte [esi], cl
jne 0x10029327
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 + 0x100b4b58]
test cl, cl
jne 0x10029318
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10029350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10029363
mov dword [edi], 0
push 0x100bd708
push ecx
call fcn.1007038a
mov esi, eax
add esp, 8
test esi, esi
je 0x10029444
push esi
call fcn.10070298
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x1002943b
push 2
push 0
push esi
call fcn.1006f907
add esp, 0xc
test eax, eax
jne 0x1002943b
push esi
call fcn.10070298
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1002943b
push 0
push dword [ebp + 8]
push esi
call fcn.1006f907
add esp, 0xc
test eax, eax
jne 0x1002943b
mov eax, dword [0x100ca9c8]
test eax, eax
je 0x100293da
inc dword [eax + 0x370]
push ebx
call fcn.10072766
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x1002943b
push esi
push ebx
push 1
push eax
call fcn.1006f52a
add esp, 0x10
push esi
cmp eax, ebx
je 0x10029425
call fcn.1006afba
mov eax, dword [0x100ca9c8]
add esp, 4
test eax, eax
je 0x10029413
dec dword [eax + 0x370]
push dword [ebp + 8]
call fcn.1006f194
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.1006afba
add esp, 4
test edi, edi
je 0x10029433
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.1006afba
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret