joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cdc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000cf90
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000ce9d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1000ce0a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1001c004]
ja 0x1000ce0a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000cdda
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000ce2f
jmp 0x1000ce9d
cmp dword [ebp - 0x14], 0x10000
jne 0x1000ce83
cmp dword [ebp - 0x18], 0x10000
jb 0x1000ce83
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000ce66
mov eax, dword [ebp - 8]
jmp 0x1000ce9f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000ce76
xor eax, eax
jmp 0x1000ce9f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000ce98
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000cf90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000cdda
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000ceb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000cfc0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000cf85
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1000cef5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1001c004]
ja 0x1000cef5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000cec5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000cf1a
jmp 0x1000cf85
cmp dword [ebp - 0x14], 0x10000
jne 0x1000cf6e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000cf6e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000cf51
mov eax, dword [ebp - 8]
jmp 0x1000cf87
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000cf61
xor eax, eax
jmp 0x1000cf87
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000cf80
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000cfc0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000cec5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000cff0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000d3e0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1001c744], 0
jne 0x1000d02d
cmp dword [0x1001c740], 0
je 0x1000d02d
mov eax, dword [0x1001c740]
mov dword [0x1001c744], eax
cmp dword [0x1001c744], 0
je 0x1000d0aa
mov ecx, dword [0x1001c744]
cmp dword [ecx + 8], 0
je 0x1000d0aa
mov edx, dword [0x1001c744]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1000d0aa
mov ecx, dword [0x1001c744]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000d0aa
mov eax, dword [0x1001c744]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1000d079
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1000d080
xor eax, eax
jmp 0x1000d1c9
mov ecx, dword [0x1001c744]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1000d1c9
mov edx, dword [0x1001c740]
mov dword [0x1001c744], edx
jmp 0x1000d0c6
mov eax, dword [0x1001c744]
mov ecx, dword [eax + 4]
mov dword [0x1001c744], ecx
cmp dword [0x1001c744], 0
je 0x1000d106
cmp dword [0x1001c744], 0
je 0x1000d104
mov edx, dword [0x1001c744]
cmp dword [edx + 8], 0
je 0x1000d104
mov eax, dword [0x1001c744]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1000d104
mov edx, dword [0x1001c744]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1000d104
jmp 0x1000d05e
jmp 0x1000d0b8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000d1d0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000d1c7
mov eax, dword [ebp - 0x18]
mov dword [0x1001c744], eax
mov ecx, dword [0x1001c744]
mov dword [ecx], 0x52727464
mov edx, dword [0x1001c744]
mov dword [edx + 8], 0
mov eax, dword [0x1001c744]
mov ecx, dword [0x1001c740]
mov dword [eax + 4], ecx
mov edx, dword [0x1001c744]
mov dword [0x1001c740], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1001c744]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1000d197
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1000d1b7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1000d18e
mov eax, dword [0x1001c744]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000d05e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000df10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001c740]
mov dword [ebp - 4], eax
jmp 0x1000df29
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000df50
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1000df4e
call sub.KERNEL32.dll_GetLastError
jmp 0x1000df52
jmp 0x1000df20
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000e3f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1001c750], eax
je 0x1000e414
mov eax, 0x10dd
jmp 0x1000e5bc
cmp dword [0x1001c754], 0
je 0x1000e427
mov eax, dword [0x1001c754]
jmp 0x1000e5bc
cmp dword [ebp + 0xc], 0
jne 0x1000e437
mov eax, 0x57
jmp 0x1000e5bc
cmp dword [ebp + 8], 0
jne 0x1000e447
mov eax, 6
jmp 0x1000e5bc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1000e470
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x1001c754], ecx
mov edx, dword [ebp + 8]
mov dword [0x1001c758], edx
mov eax, dword [ebp - 8]
jmp 0x1000e5bc
push 0x18
call fcn.1000fcf6
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000e4cb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x1001c754], ecx
cmp dword [ebp - 4], 0
je 0x1000e4ba
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1001005e
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x1001c758], ecx
mov eax, dword [ebp - 8]
jmp 0x1000e5bc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1000e3d0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000e3d0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1000e50b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1000e527
mov dword [ebp - 8], 9
cmp dword [0x1001c748], 0
je 0x1000e522
jmp 0x1000e499
jmp 0x1000e490
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1000e54e
mov dword [ebp - 8], 9
cmp dword [0x1001c748], 0
je 0x1000e549
jmp 0x1000e499
jmp 0x1000e490
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1000e579
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000e490
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x1001c760]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1001c760], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e5d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1001c750], eax
je 0x1000e5ed
mov eax, 0x10dd
jmp 0x1000e6d0
mov eax, dword [0x1001c760]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000e66c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1000e648
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1000e648
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1000d470
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1001005e
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1000e5f5
mov dword [0x1001c760], 0
call fcn.1000dd50
mov ecx, dword [0x1001c75c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1000e6ba
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1001005e
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1000e684
mov dword [0x1001c75c], 0
mov dword [0x1001c750], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000ebb0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1001c754], 0
je 0x1000ebc9
mov eax, dword [0x1001c754]
jmp 0x1000ec68
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1000ebda
xor eax, eax
jmp 0x1000ec68
push 8
call fcn.1000fcf6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000ec32
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1000ec1b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1001005e
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1001c754], eax
mov dword [0x1001c758], 0
mov eax, dword [ebp - 8]
jmp 0x1000ec68
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1000ec4a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000ebfa
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1001c75c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1001c75c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x100114a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001264e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1001c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1001c024]
cmp eax, 0xffffffff
jne 0x100114d6
xor ebx, ebx
jmp 0x100114df
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10011521
nop dword [eax]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x10011560
test esi, esi
jne 0x10011564
push 0x100110e0
push 0x1001caf0
call fcn.10010dd0
mov eax, dword [0x1001c024]
add esp, 8
cmp eax, 0xffffffff
je 0x10011521
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1001154e
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1001154e
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100115a6
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1001158f
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10011564
cmp dword [ebx + 0x18], 0
je 0x100114f0
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100115cd
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100115cd
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10011100
cmp dword [ebx + 0x18], 0
jne 0x100115b0
jmp 0x100114f0
Function at 0x403774
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [0x423f70]
push edi
push 3
call fcn.004060b1
xor ebx, ebx
cmp eax, ebx
je 0x4037a0
call eax
movzx eax, ax
push eax
push 0x42b000
call fcn.00405c7f
jmp 0x4037ea
mov edi, 0x420560
push ebx
push edi
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [0x42b000], 0x7830
call fcn.00405c08
cmp byte [0x420560], bl
jne 0x4037df
push ebx
push edi
push 0x407342
push str..DEFAULTControl_PanelInternational
push 0x80000003
call fcn.00405c08
push edi
push 0x42b000
call sub.KERNEL32.dll_lstrcatA
call 0x403a3d
mov eax, dword [0x423f78]
mov ebp, 0x42a400
and eax, 0x20
push ebp
mov dword [0x423fe0], eax
mov dword [0x423ffc], 0x10000
call fcn.004058f5
test eax, eax
jne 0x40389a
mov ecx, dword [esi + 0x48]
cmp ecx, ebx
je 0x40389a
mov edx, dword [esi + 0x4c]
mov eax, dword [0x423f98]
mov edi, 0x422f00
push ebx
add edx, eax
push edi
add ecx, eax
push edx
push ecx
push dword [esi + 0x44]
call fcn.00405c08
mov al, byte [0x422f00]
cmp al, bl
je 0x40389a
cmp al, 0x22
jne 0x403859
mov edi, 0x422f01
push 0x22
push edi
call fcn.0040583f
mov byte [eax], bl
push edi
call sub.KERNEL32.dll_lstrlenA
lea eax, [eax + edi - 4]
cmp eax, edi
jbe 0x40388d
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40388d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403887
test al, 0x10
jne 0x40388d
push edi
call fcn.0040585b
push edi
call fcn.00405814
push eax
push ebp
call fcn.00405d21
push ebp
call fcn.004058f5
test eax, eax
jne 0x4038b0
push dword [esi + 0x118]
push ebp
call fcn.00405d43
push RegEnumValueA
push ebx
push ebx
push 1
push 0x67
push dword [0x423f60]
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [0x423748], eax
cmp dword [esi + 0x50], 0xffffffff
mov edi, 0x423700
je 0x403964
mov ecx, dword [0x423f60]
invalid
invalid

Function at 0x4058a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7d0], 0x81
mov byte [ebp - 0x7cf], 0x89
mov byte [ebp - 0x7ce], 0xee
push 0xb
lea eax, [ebp - 0x7dc]
push eax
call fcn.00403982
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.004038e3
add esp, 0xc
jmp 0x4058ea
Function at 0x412260
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4448b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x455100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00411e80
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4122f3
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 0x10
cmp dword [edi + 8], 0x38e38e3
je 0x412453
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0041f904
mov edx, dword [ebp + 0x14]
mov esi, eax
mov ecx, dword [ebx]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
lea ecx, [esi + 0x10]
push dword [edx]
push dword [eax]
call fcn.00412cb0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4474b0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4474b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4123f5
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.0042ecc0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00420130
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x4123d7
cmp ebx, 0x200
jae 0x4123d5
shl ebx, 3
cmp ebx, ecx
jae 0x4123d7
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00419370
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00411e80
mov edx, dword [eax]
jmp 0x4123f8
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x412423
mov dword [ecx + eax*8], esi
jmp 0x412432
cmp edi, edx
jne 0x41242c
mov dword [ecx + eax*8], esi
jmp 0x412436
cmp dword [ecx + eax*8 + 4], ebx
jne 0x412436
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.unordered_map_set_too_long
call fcn.0041d0c1
int3
Function at 0x412cb0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444938
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x455100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x60], edi
mov dword [edi + 0x24], 0
mov dword [edi], vtable.std::_Func_impl_no_alloc_class__lambda_63f463d75a819564167d45a619c4f924___void__struct_HookParam_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [edi + 0x24], edi
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.0041b0a0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push str.EMBED_SHARED_MEM
push eax
call fcn.00411690
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x412d2b
mov eax, dword [eax]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [edi + 0x30], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x412d77
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412d6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e79
push ecx
push edx
call fcn.0041f934
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x412dc9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412dbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e79
push ecx
push edx
call fcn.0041f934
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x2c], 7
call fcn.0041b0a0
add esp, 8
push 0
sub esp, 0x18
mov byte [ebp - 4], 4
mov edx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push edx
call fcn.00411690
add esp, 0xc
lea ecx, [edi + 0x34]
call fcn.00412e90
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x412e42
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412e38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e7e
push ecx
push edx
call fcn.0041f934
add esp, 8
push 0x9f8
push 0
push 0
push 6
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0x28], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fd93
mov esp, ebp
pop ebp
ret 8
call fcn.0042484f
call fcn.0042484f
int3
Function at 0x414e20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
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
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4