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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0x14242c
cmp dword [ebp - 4], 2
ja 0x14e965
mov ecx, dword [edi]
test cl, 1
jne 0x14242c
cmp esi, ebx
je 0x142425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0x14242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0x142425

Function at 0x1424ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0x156b05
call fcn.00141350
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x142519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0x14265b
cmp dword [ebp + 0xc], edi
je 0x14265b
push 1
call fcn.0014227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x14264a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001413e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x14259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.001421cb
mov ebx, eax
test ebx, ebx
jl 0x14259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.00142436
mov ebx, eax
test ebx, ebx
jl 0x14259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0x142632
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001413e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x142654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.001421cb
mov ebx, eax
test ebx, ebx
jl 0x142623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.00142436
mov ebx, eax
test ebx, ebx
jl 0x142623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x142623
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14f3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x142632
push dword [ebp - 0x14]
call fcn.001413c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0x142641
push dword [ebp - 0x18]
call fcn.001413c0
pop ecx
push dword [ebp - 0x1c]
call fcn.001413c0
pop ecx
mov eax, ebx
call fcn.00141390
ret 8
mov ebx, 0x8007000e
jmp 0x1425fe
mov ebx, 0x80070057
jmp 0x14264a
Function at 0x143a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x143ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x143ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x143ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0x14e30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0x144267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x15b00c], esi
jne 0x1442be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x142c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x15b00c], eax
cmp eax, esi
je 0x14e4ec
push 0xffffffffffffffff
push dword [0x15b014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x15b014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x15b018], esi
jl 0x14e50a
pop esi
leave
ret

Function at 0x144441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x144498
call fcn.00142712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x144490
cmp ecx, 0xffffffff
je 0x144490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x144489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x144489
cmp edx, 0x10000000
jae 0x144489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x14e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00142757
ret 4

Function at 0x14681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x15b004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0x146933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0x14ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.001421cb
test eax, eax
jl 0x146932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0x1468c3
push 0x146994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00142436
test eax, eax
jl 0x146932
push 0x146980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00142436
test eax, eax
jl 0x146932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x14ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x146970
push eax
call edi
push 0x14695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0x146948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0x146940
cmp dword [esi + 0x34], 0
je 0x146940
test eax, eax
je 0x146940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.001420d4
leave
ret
mov eax, 0x8007007f
jmp 0x146932
Function at 0x1471f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x15608c
call fcn.001439dd
lea ecx, [ebp - 0x34]
call fcn.00146c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.0014758b
test eax, eax
jl 0x14722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.001472a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0x147298
cmp ax, si
jne 0x14e4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00141451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0014758b
mov esi, eax
test esi, esi
jl 0x147280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.001472a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0014760b
mov eax, esi
call fcn.00142b9f
ret

Function at 0x14791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x14dc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0x147900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0x1479a8
push 1
lea ecx, [ebp - 0x20]
call fcn.001479e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x1478ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.001471e0
cmp esi, ebx
jl 0x1479a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0x147992
push 0x24
mov eax, 0x155c85
call fcn.001426dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0x147854
push 1
lea ecx, [ebp - 0x20]
call fcn.001479e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x143984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x1479a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0x1479d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00147455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.001471e0
mov eax, esi
call fcn.00141390
ret 0xc
Function at 0x147b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0x155fc0
call fcn.001439dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.00147c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x147b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0x147b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x147b5b
inc esi
cmp esi, edi
jb 0x147b46
cmp esi, edi
jb 0x147c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0x147c0e
cmp word [edx], 0x30
jne 0x147b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0x147b6f
cmp eax, edi
jae 0x147c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x147b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0x147c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0x147c03
movzx eax, ax
movzx eax, ax
push eax
push 0x147c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00141451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00146c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.0014760b
mov eax, dword [ebp - 0x54]
call fcn.00142b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0x147bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0x147be9
Function at 0x147f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x156a7d
call fcn.00141350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0x148046
push 1
call fcn.0014227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x14803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001413e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x147fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.001421cb
mov ebx, eax
test ebx, ebx
jl 0x148024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00142436
mov ebx, eax
test ebx, ebx
jl 0x148024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x148024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x147ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x14f33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x148024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0x14f353
cmp dword [ebp - 0x14], 0
je 0x148033
push dword [ebp - 0x14]
call fcn.001413c0
pop ecx
push dword [ebp - 0x18]
call fcn.001413c0
pop ecx
mov eax, ebx
call fcn.00141390
ret 4
mov ebx, 0x80070057
jmp 0x14803c

Function at 0x1485f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x15b004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0x148684
cmp eax, 0xffffffff
je 0x148684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x148684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.001485b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00148692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14f2da
cmp esi, dword [ebp - 0xc]
jne 0x14f2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001420d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0x14866d
Function at 0x1488ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0x156be9
call fcn.001420e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001413e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x148999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0x1489a4
push esi
push edi
call fcn.00141451
add esp, 0x14
mov eax, edi
call fcn.00142126
ret 4
Function at 0x150d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0x150dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x150db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x150dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0x150da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100212b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d1d7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x344c
call fcn.1009b99c
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
xorps xmm0, xmm0
mov ecx, edi
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], 0x100a7698
mov eax, dword [esi]
mov byte [edi + 0x16], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x3f4], 0
mov dword [edi + 0x3f8], 0
mov dword [edi + 0x3fc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x405], 0
push eax
mov byte [edi + 0x3408], 0
mov dword [edi + 0x340c], 0
mov dword [edi + 0x3410], 0
mov dword [edi + 0x3414], 0
mov dword [edi + 0x3418], 0
mov dword [edi + 0x341c], 0
mov dword [edi + 0x3420], 0
mov word [edi + 0x3430], 0
call fcn.1001b5e0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax], edi
mov dword [eax + 4], ebx
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 0x10027fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002805c
cmp byte [esi + 0x3d], 0
je 0x1002805c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002804a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10028011
sub eax, 1
je 0x10028015
sub eax, 2
jne 0x1002804a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b980
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10028033
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002804a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b980
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b980
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1009b980
mov esp, ebp
pop ebp
ret
Function at 0x1002af70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x101fee0c], 0
push ebx
push esi
push edi
je 0x1002b0fe
mov ecx, dword [0x10202898]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1002b0fe
mov ecx, dword [0x10202924]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1002b0fe
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002afd0
xor edx, edx
test ecx, ecx
je 0x1002aff9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002afe0
cmp edi, 0x5ff56dc5
je 0x1002b008
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1002b0fe
mov ecx, dword [ebp - 4]
jmp 0x1002afb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1002b0fe
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1002b0fe
movss xmm1, dword [0x100ad408]
xor ebx, ebx
cmp edx, 4
jl 0x1002b0cb
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002b06c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002b087
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002b0a2
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002b0b5
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x1002b051
cmp ebx, edx
jl 0x1002b0cf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1002b0fe
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002b0f3
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x1002b0e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002ca60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d9a5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.1002de60
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x1002cbd0
cmp dword [0x102086c0], 0xfffffff
jne 0x1002caea
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x102086bc
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.1009b99c
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x102086c0]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ad5e0]
mov eax, dword [0x102086d4]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ad5e0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x102086b8]
jbe 0x1002cb89
call fcn.1002dc70
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002de60
mov ecx, dword [0x102086c0]
mov edx, dword [eax]
jmp 0x1002cb8c
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x102086c0], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x102086d0]
mov ecx, dword [0x102086c4]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x102086bc]
jne 0x1002cbbd
mov dword [ecx + eax*8], esi
jmp 0x1002cbcc
cmp ebx, edx
jne 0x1002cbc6
mov dword [ecx + eax*8], esi
jmp 0x1002cbd0
cmp dword [ecx + eax*8 + 4], edi
jne 0x1002cbd0
mov dword [ecx + eax*8 + 4], esi
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4