joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ac24
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a58b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003ac96
lea eax, [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1003ac76
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x1003ac91
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1003ac91
push 0
push 0x1254
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1003addf
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x1c], 0xfa72c2
push 4
lea ecx, [ebp - 0x64]
call fcn.1000b514
and dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0x6bc3ec3d
mov dword [ebp - 0x2c], 0xfffffffc
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x14], 0
jmp 0x1003acdc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1003acef
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x70], 0
jmp 0x1003acd5
mov dword [ebp - 0x14], 0
jmp 0x1003acff
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1003ad18
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.1000b57b
mov dword [eax], 0xf82d83d7
jmp 0x1003acf8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0x70], ecx
cmp dword [ebp - 0x24], 0xfffffffe
jb 0x1003ad3a
mov dword [ebp - 0x18], 1
jmp 0x1003ad3e
and dword [ebp - 0x18], 0
push 1
lea ecx, [ebp - 0x64]
call fcn.1000b57b
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x18], eax
jl 0x1003ad5e
mov dword [ebp - 0x28], 1
jmp 0x1003ad62
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 9
jg 0x1003ad77
mov dword [ebp - 0x30], 1
jmp 0x1003ad7b
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x30], eax
jle 0x1003ad8c
mov dword [ebp - 0x34], 1
jmp 0x1003ad90
and dword [ebp - 0x34], 0
imul eax, dword [ebp - 0x34], 0
cmp eax, 0xfffa
jae 0x1003ada4
mov dword [ebp - 0x38], 1
jmp 0x1003ada8
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x38], eax
jg 0x1003adb9
mov dword [ebp - 0x3c], 1
jmp 0x1003adbd
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.1000b576
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0
call fcn.1002ac9d
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1003baa9
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003bb7a
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1003bb68
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x21d3
cmp dword [ebp - 0x10], 0xef5
jge 0x1003bb4d
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x10007d24
call fcn.1005274a
add esp, 0xc
movsd xmm0, qword [ebp - 0x2c]
mulsd xmm0, qword [ebp - 0x2c]
movsd xmm1, qword [ebp - 0x24]
mulsd xmm1, qword [ebp - 0x24]
subsd xmm0, xmm1
movsd xmm1, qword [0x10007de8]
mulsd xmm1, qword [ebp - 0x24]
divsd xmm0, xmm1
movsd qword [ebp - 0x34], xmm0
push ecx
push ecx
movsd xmm0, qword [ebp - 0x34]
movsd qword [esp], xmm0
push 0x10007d2c
call fcn.10050d7d
add esp, 0xc
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1003bb66
push 0
push 0x1254
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1003bb78
push 0x22ad
push 0x1272
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
jmp 0x1003bba0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push 0x1261
push dword [ebp - 0x1c]
push 0x1c9d
push 0
call fcn.1002fbf9
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10063fa6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006f748]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10056af8
mov dword [ebp - 0x14], eax
cmp dword [0x1065bf58], esi
jne 0x10064099
push 0x800
push esi
push 0x10007558
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10064026
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10064179
push esi
push esi
push 0x10007558
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10064179
push 0x10007570
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10064179
push eax
call ebx
push 0x1000757c
push edi
mov dword [0x1065bf58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000758c
push edi
mov dword [0x1065bf5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075a0
push edi
mov dword [0x1065bf60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065bf68], eax
test eax, eax
je 0x10064096
push 0x100075bc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065bf64], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100640be
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100640b1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100640d3
push 4
pop eax
jmp 0x1006417b
cmp dword [ebp - 0x14], esi
je 0x100640d3
push dword [0x1065bf58]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100640b8
mov eax, dword [0x1065bf64]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10064131
cmp dword [0x1065bf68], edi
je 0x10064131
push eax
call ebx
push dword [0x1065bf68]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10064131
test eax, eax
je 0x10064131
call ecx
test eax, eax
je 0x10064126
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10064126
test byte [ebp - 8], 1
jne 0x10064131
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10064161
mov eax, dword [0x1065bf5c]
cmp eax, edi
je 0x1006415e
push eax
call ebx
test eax, eax
je 0x1006415e
call eax
mov esi, eax
test esi, esi
je 0x1006415e
mov eax, dword [0x1065bf60]
cmp eax, edi
je 0x1006415e
push eax
call ebx
test eax, eax
je 0x1006415e
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1065bf58]
call ebx
test eax, eax
je 0x10064179
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006417b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005414a
mov esp, ebp
pop ebp
ret
Function at 0x10006a10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
push esi
call fcn.1001ad0d
add esp, 4
test eax, eax
jne 0x10006abd
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10006ac4
mov edx, dword [ebp + 8]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
push ebx
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0x38]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1000aed0
mov eax, dword [eax + 4]
test eax, eax
jne 0x10006a8c
mov eax, dword [edi + 0x3c]
pop ebx
cmp eax, dword [edi + 0x3c]
je 0x10006aa8
mov edi, dword [eax + 0xc]
push esi
call fcn.1001ad1e
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
xor edi, edi
call fcn.1001ad1e
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.1001a54b
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1001a54b
int3

Function at 0x10006ad0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 4]
push esi
call fcn.1001ad0d
add esp, 4
test eax, eax
jne 0x10006b97
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10006b9e
mov edx, dword [ebp + 8]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
push edi
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebx + 0x38]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1000aed0
mov edi, dword [eax + 4]
test edi, edi
jne 0x10006b4c
mov edi, dword [ebx + 0x3c]
cmp edi, dword [ebx + 0x3c]
je 0x10006b81
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10006b5e
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
lea eax, [ebp - 4]
push eax
lea ecx, [ebx + 0x38]
call fcn.10009050
push esi
mov bl, 1
call fcn.1001ad1e
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
xor bl, bl
call fcn.1001ad1e
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.1001a54b
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1001a54b
int3
Function at 0x100077f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x10007946
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.10019415
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x100078a9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10007867
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1000793c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100078bd
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x100078c0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1000793c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.10019415
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1000794d
cmp esi, eax
jne 0x10007917
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x100078d0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10009050
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx edx, byte [eax + 8]
mov edi, ecx
movzx ecx, byte [eax + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
mov ebx, dword [ebp + 8]
xor edx, ecx
movzx ecx, byte [eax + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
mov ecx, dword [edi + 0xc]
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x100090bc
cmp esi, eax
jne 0x100090b3
mov eax, dword [edi + 4]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x100090c5
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x100090c5
cmp esi, eax
jne 0x100090c8
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
dec dword [edi + 8]
mov ecx, dword [eax + 4]
push 0x10
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
push dword [ebp + 0xc]
call fcn.10019415
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10009320
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002eae5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1005c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.1000aed0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100093aa
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100094f1
cmp dword [ebx + 8], 0xfffffff
je 0x10009507
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x28], 0
call fcn.1001920c
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10057da0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10057da0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100094a4
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.1002cdc0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1002e500
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10009486
cmp eax, 0x200
jae 0x10009484
shl eax, 3
cmp eax, ecx
jae 0x10009486
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10009d40
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000aed0
mov edx, dword [eax]
jmp 0x100094a7
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x100094d2
mov dword [ecx + eax*8], esi
jmp 0x100094e4
cmp ebx, edx
jne 0x100094db
mov dword [ecx + eax*8], esi
jmp 0x100094e8
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100094e8
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
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 8
push str.unordered_map_set_too_long
call fcn.1001a8f2
int3
Function at 0x10009860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10009891
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10009880
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x10009d40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10009e9a
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10007980
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 0x10009e6d
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 [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x10009df3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10009e63
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10009e2d
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10009e25
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x10009e60
cmp edi, edx
je 0x10009e3d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10009e76
cmp edi, edx
jne 0x10009e31
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], 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 [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10009da2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10009e60
push str.invalid_hash_bucket_count
call fcn.1001a8f2
int3
Function at 0x100206fb
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002585b
push ebx
push esi
call fcn.10025787
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002571b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10025808
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002585a
push edi
push eax
call fcn.10024489
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10025828
call fcn.1002444f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10025859
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002571b
add esp, 0x20
test eax, eax
jne 0x10025847
push edi
call fcn.1002444f
jmp 0x1002584f
push ebx
call fcn.1002444f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10025ca8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10050930
push 0x10050928
push str.FlsAlloc
push 0x1f
call fcn.10025b70
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10025cdc
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030154]
call esi
jmp 0x10025ce2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10025d26
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10050940
push 0x10050938
push str.FlsGetValue
push 0x21
call fcn.10025b70
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10025d5d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10025d65
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10050948
push 0x10050940
push str.FlsSetValue
push 0x22
call fcn.10025b70
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10025d9f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10030154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x1002a5a8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100228af
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1002a617
cmp esi, dword [ebp - 4]
je 0x1002a612
cmp dword [ebp + 0xc], 0
je 0x1002a612
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1002a5ef
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1002a0fa
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1002a619
xor eax, eax
inc eax
jmp 0x1002a619
xor eax, eax
pop edi
pop esi
leave
ret