joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4081d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
je 0x4081fa
mov edx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4081e4
pop edi
mov eax, edx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x4082f0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x4bf80d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x50a074]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x105
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40841f
cmp eax, 0x105
jae 0x40841f
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x408443
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403470
test al, al
jne 0x40839d
lea ecx, [ebp]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408381
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004035e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 1
push 0x4e6ee8
call fcn.00402420
test esi, esi
jne 0x4083bb
xor ecx, ecx
jmp 0x4083cf
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4083c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00402420
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.004989c3
add esp, 8
test eax, eax
jne 0x4083ef
xor edi, edi
jmp 0x4083fc
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40841b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
jmp 0x408421
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00497376
lea esp, [ebp + 0x210]
pop ebp
ret
push 0x80004005
call fcn.00402570
int3
Function at 0x408950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf94d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x408a48
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
push dword [ebx]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408a48
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x408a48
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00497844
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
push dword [ebx]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4089f4
xor bl, bl
jmp 0x408a1b
mov eax, esi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408a00
mov ecx, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.004035e0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0049783f
add esp, 4
mov dword [ebp + 8], 0
mov al, bl
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
xor al, al
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
Function at 0x408a60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8004]
mov eax, 0x8004
call fcn.00498560
push 0xffffffffffffffff
push 0x4bf98d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x50a074]
xor eax, ebp
mov dword [ebp + 0x8000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
cmp dword [eax + 4], 0
mov ecx, dword [ebp + 0x800c]
mov dword [ebp - 0x20], ecx
jne 0x408ab8
xor al, al
jmp 0x408b9f
cmp byte [ebp + 0x8010], 0
je 0x408ac9
call fcn.00409060
mov eax, dword [ebp - 0x18]
xor ebx, ebx
nop dword [eax + eax]
push 0
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0x3fff
push ecx
push 0
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp]
push ecx
push ebx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x408b8a
mov edi, dword [ebp - 0x10]
call fcn.004043d0
test eax, eax
je 0x408bd3
mov ecx, dword [eax]
push 2
push edi
mov edx, dword [ecx]
mov ecx, eax
call edx
test eax, eax
je 0x408bce
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
test edi, edi
js 0x408bc4
cmp edi, dword [esi - 8]
jg 0x408bc4
mov dword [esi - 0xc], edi
xor eax, eax
add edi, edi
mov word [edi + esi], ax
test edi, edi
je 0x408b55
push edi
lea eax, [ebp]
push eax
push esi
call fcn.00498ed0
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.00409100
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x408b87
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
inc ebx
test eax, eax
jne 0x408b97
mov eax, dword [ebp - 0x18]
jmp 0x408ad0
cmp eax, 0x103
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8000]
xor ecx, ebp
call fcn.00497376
lea esp, [ebp + 0x8004]
pop ebp
ret 8
push 0x80070057
call fcn.00402570
call fcn.00402590
push 0x80004005
call fcn.00402570
int3
Function at 0x40a0b0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd2f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.004043d0
test eax, eax
je 0x40a1c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
call fcn.004043d0
test eax, eax
je 0x40a1c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push esi
push ebx
push dword [0x50be40]
mov dword [ebp - 0x14], 3
call fcn.0040a880
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x40a176
push 0
push ebx
push dword [0x50be40]
lea ecx, [ebp - 0x10]
call fcn.0040a880
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00409490
mov eax, 3
mov dword [ebp - 0x14], eax
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40a1ae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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
push 0x80004005
call fcn.00402570
int3
Function at 0x40bb10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c00ed
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], 0x4e5310
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x40bb6d
xor edi, edi
jmp 0x40bb78
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0x4e5310
test esi, esi
je 0x40bb98
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40be10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c01ed
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
movzx ebx, cx
push 0x1004
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x40be65
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00497844
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push edi
push esi
push 0x1004
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x40bea0
xor bl, bl
jmp 0x40bed9
dec eax
lea ecx, [ebp - 0x10]
push eax
push esi
call fcn.00409500
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push eax
call fcn.00409490
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40bed7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0049783f
add esp, 4
mov dword [ebp - 0x14], 0
mov al, bl
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 0x40e360
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4c0705
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x50a074]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push ecx
mov byte [edx], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x24], 0x4e5310
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
je 0x40e4f1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e4f1
test ebx, ebx
je 0x40e4f1
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push 0x10000
call fcn.00408240
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x40e410
xor bl, bl
jmp 0x40e4db
xor edi, edi
mov byte [ebp + 0x68], 0
mov dword [ebp - 0x10], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
nop dword [eax + eax]
push 0
lea eax, [ebp - 0x10]
push eax
push 0x10000
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40e485
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40e485
lea eax, [ecx + edi]
cmp eax, ebx
ja 0x40e476
push ecx
push esi
lea ecx, [ebp]
call fcn.0040fb90
add edi, dword [ebp - 0x10]
jmp 0x40e440
sub ebx, edi
lea ecx, [ebp]
push ebx
push esi
mov dword [ebp - 0x10], ebx
call fcn.0040fb90
lea ecx, [ebp]
call fcn.0040fc60
cmp byte [ebp + 0x68], 0
jne 0x40e497
xor bl, bl
jmp 0x40e4d8
mov esi, dword [ebp - 0x1c]
xor edi, edi
nop dword [eax]
mov dl, byte [ebp + edi + 0x58]
mov cl, dl
shr cl, 4
cmp cl, 0xa
sbb al, al
and dl, 0xf
and al, 0xd9
add al, 0x57
add al, cl
cmp dl, 0xa
mov byte [esi + edi*2], al
sbb al, al
and al, 0xd9
add al, 0x57
add al, dl
mov byte [esi + edi*2 + 1], al
inc edi
cmp edi, 0x10
jl 0x40e4a0
mov byte [esi + 0x20], 0
mov bl, 1
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 0
push esi
call fcn.0049783f
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x40e4f3
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], 0x4e5310
test edi, edi
je 0x40e513
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00497376
lea esp, [ebp + 0x70]
pop ebp
ret
Function at 0x40f010
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0a65
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040ea60
test al, al
je 0x40f057
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
cmp eax, 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
sete byte [ebp - 0xd]
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.0040ec90
cmp dword [ebp - 0x28], 0
jle 0x40f1f7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004025a0
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
xor eax, eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
lea ebx, [eax + 1]
cmp ecx, ebx
jle 0x40f1ae
lea ecx, [esi - 0x10]
call fcn.004025a0
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
push 1
push 0x4e6ee8
call fcn.00402420
test ebx, ebx
js 0x40f1f7
cmp ebx, dword [ebp - 0x28]
jge 0x40f1f7
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
mov eax, dword [eax + ebx*4]
push dword [eax - 0xc]
push eax
call fcn.00402420
mov edi, dword [ebp - 0x1c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40f12e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp eax, 0xb7
je 0x40f12e
cmp byte [ebp - 0xd], 0
je 0x40f182
push 1
push 0x4e6ee8
lea ecx, [ebp - 0x14]
call fcn.00402420
cmp ebx, dword [ebp - 0x28]
jge 0x40f1f7
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
mov eax, dword [eax + ebx*4]
push dword [eax - 0xc]
push eax
call fcn.00402420
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40f174
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [ebp - 0x20]
jge 0x40f1ab
jmp 0x40f0c4
cmp ebx, 1
jle 0x40f18f
lea ecx, [ebp - 0x14]
call fcn.0040e7f0
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40f1ab
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
xor edi, edi
cmp eax, 0xb7
cmovne edi, eax
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40f1d4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00409060
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
push 0x8000000b
call fcn.00402570
int3
Function at 0x40f860
Capabilities:
Delete file
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0b35
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040f340
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40f91e
push eax
lea ecx, [ebp - 0x14]
call fcn.00408240
mov esi, dword [ebp - 0x14]
test al, al
jne 0x40f8d1
mov edi, 8
jmp 0x40f926
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40f91e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4e6ee8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40f926
cmp dword [ebp - 0x24], 0
je 0x40f926
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
test ecx, ecx
je 0x40f910
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40f926
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
jmp 0x40f926
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov byte [ebp - 4], 0
cmp byte [ebp - 0x2c], 0
je 0x40f937
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call fcn.0049783f
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0049783f
add esp, 4
mov dword [ebp - 0x14], 0
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

Function at 0x411440
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
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
push eax
push edx
lea eax, [esp + 8]
push eax
call fcn.00411bc0
mov eax, dword [esp + 4]
test eax, eax
je 0x411496
add eax, 0xc
add esp, 8
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.00480775
int3

Function at 0x412300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
mov ecx, 0
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x412331
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x412320
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x412970
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1708
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
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 - 0x1c]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.00411bc0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4129fc
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [0x50cd94], 0x6666666
je 0x412b69
mov dword [ebp - 0x14], 0x50cd90
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x10], 0
call fcn.0049780f
mov ecx, dword [edi]
lea edx, [edi + 4]
mov esi, eax
add esp, 4
lea eax, [esi + 8]
mov dword [ebp - 0x10], esi
mov dword [eax], ecx
lea ecx, [eax + 4]
mov dword [ebp + 0xc], eax
push edx
call fcn.00410690
mov dword [ebp - 4], 3
mov ecx, dword [0x50cd94]
mov edi, dword [0x50cda8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4edd90]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x4edd90]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x50cd8c]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x412af7
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.00408200
call fcn.004bdbb0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x412ad9
cmp edi, 0x200
jae 0x412ad7
shl edi, 3
cmp edi, ecx
jae 0x412ad9
mov edi, ecx
push edi
call fcn.00413210
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00411bc0
mov ecx, dword [0x50cd94]
mov edx, dword [eax]
jmp 0x412afa
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x50cd94], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x50cda4]
mov ecx, dword [0x50cd98]
and eax, ebx
mov dword [ebp - 0x10], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x50cd90]
jne 0x412b32
mov dword [ecx + eax*8], esi
jmp 0x412b41
cmp ebx, edx
jne 0x412b3b
mov dword [ecx + eax*8], esi
jmp 0x412b45
cmp dword [ecx + eax*8 + 4], edi
jne 0x412b45
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
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.00480755
int3
Function at 0x413210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c19cd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4133b0
lea eax, [ecx - 1]
mov esi, dword [0x50cd90]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x50cd98
lea eax, [edi + edi]
push eax
call fcn.004076c0
lea eax, [edi - 1]
mov dword [0x50cda8], edi
mov dword [0x50cda4], eax
mov dword [ebp - 0x14], 0x50cd8c
mov dword [ebp - 4], 0
mov ecx, dword [0x50cd90]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x41336c
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x50cd98]
imul edi, edi, 0x1000193
and edi, dword [0x50cda4]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x4132f8
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x413362
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x41332f
mov eax, dword [eax]
cmp eax, ecx
je 0x413327
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x413362
cmp ebx, eax
je 0x41333f
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x41338e
cmp ebx, eax
jne 0x413333
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x4132a4
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
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
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x413362
push str.invalid_hash_bucket_count
call fcn.00480755
int3