joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40566a
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x40b040]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x40569b
xor eax, eax
jmp 0x405824
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x40c720]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x4056d7
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.0040782d
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4057b2
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x4057f0
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x40573b
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x40572c
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x40570c
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40577b
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x405784
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x4056fd
jmp 0x405786
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x40581f
cmp dword [ebp - 0x6c], edi
je 0x4057f0
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x4057e5
call fcn.004033d8
mov dword [eax], 9
call fcn.004033e1
mov dword [eax], esi
jmp 0x40581a
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4057da
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x405786
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x405786
push dword [ebp - 0x6c]
call fcn.004033ea
pop ecx
jmp 0x40581a
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x405808
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x405808
xor eax, eax
jmp 0x405822
call fcn.004033d8
mov dword [eax], 0x1c
call fcn.004033e1
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x405822
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00401c4f
add ebp, 0x3a0
leave
ret
Function at 0x405be6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x405c14
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x405c1b
cmp ebx, dword [eax + 4]
jae 0x405c1b
xor eax, eax
jmp 0x405e0b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x405c2c
xor eax, eax
inc eax
jmp 0x405e0a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x405c42
cmp ecx, edx
jae 0x405d87
cmp dword [eax + 4], 0
je 0x405c4b
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x405c33
cmp dword [ebp + 8], 0
je 0x405c6d
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x405d87
cmp eax, esi
jae 0x405d87
mov eax, dword [0x40be98]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x405c92
cmp dword [esi*4 + 0x40bea0], edi
je 0x405d8b
inc esi
cmp esi, eax
jl 0x405c80
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405e07
cmp dword [ebp - 8], 0x1000000
jne 0x405e07
test byte [ebp - 0xc], 0xcc
je 0x405d10
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x405e07
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x405e07
cmp word [eax + 0x18], 0x10b
jne 0x405e07
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x405e07
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x405d10
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x405d10
test byte [ecx + 0x27], 0x80
jne 0x405d87
push 1
push 0x40bee0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x405c24
mov ecx, dword [0x40be98]
test ecx, ecx
mov edx, ecx
jle 0x405d44
lea eax, [ecx*4 + 0x40be9c]
cmp dword [eax], edi
je 0x405d44
dec edx
sub eax, 4
test edx, edx
jg 0x405d38
test edx, edx
jne 0x405d75
push 0xf
pop ebx
cmp ecx, ebx
jg 0x405d51
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x405d69
lea eax, [edx*4 + 0x40bea0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x405d57
cmp ecx, 0x10
jge 0x405d75
inc ecx
mov dword [0x40be98], ecx
push 0
push 0x40bee0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x405c24
xor eax, eax
jmp 0x405e0a
test esi, esi
jle 0x405c24
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x40bee0
call ebx
test eax, eax
jne 0x405c24
cmp dword [esi*4 + 0x40bea0], edi
je 0x405de1
mov eax, dword [0x40be98]
lea esi, [eax - 1]
test esi, esi
jl 0x405dcf
cmp dword [esi*4 + 0x40bea0], edi
je 0x405dcb
dec esi
jns 0x405dbf
test esi, esi
jge 0x405ddf
cmp eax, 0x10
jge 0x405dda
inc eax
mov dword [0x40be98], eax
lea esi, [eax - 1]
jmp 0x405de1
je 0x405df9
xor ecx, ecx
test esi, esi
jl 0x405df9
lea eax, [ecx*4 + 0x40bea0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x405de7
push 0
push 0x40bee0
call ebx
jmp 0x405c24
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405e0f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x405fe3
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x40c720]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x405fe3
test cl, 0x48
je 0x405e7a
cmp byte [eax + 5], 0xa
je 0x405e7a
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405ecc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x405eb4
call fcn.004033d8
mov dword [eax], 9
call fcn.004033e1
mov dword [eax], esi
jmp 0x405ec4
cmp eax, 0x6d
je 0x405fe3
push eax
call fcn.004033ea
pop ecx
or eax, 0xffffffff
jmp 0x405fe5
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x405fde
test eax, eax
je 0x405ef3
cmp byte [ebx], 0xa
jne 0x405ef3
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x405efc
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x405fd8
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x405fc8
cmp al, 0xd
je 0x405f2e
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x405fba
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x405f48
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x405f43
add dword [ebp + 0x10], 2
jmp 0x405f9c
mov dword [ebp + 0x10], eax
jmp 0x405fb6
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405f70
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x405fb6
cmp dword [ebp - 0xc], 0
je 0x405fb6
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x405f91
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x405f9c
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x405fb9
cmp ebx, dword [ebp + 0xc]
jne 0x405fa1
cmp byte [ebp - 1], 0xa
jne 0x405fa1
mov byte [ebx], 0xa
jmp 0x405fb9
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004068df
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x405fba
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x405f12
jmp 0x405fd8
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x405fd8
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x405fe5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4069fe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40beec], ebx
push esi
push edi
jne 0x406a7e
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x406ab9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x40beec], eax
je 0x406ab9
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x40bef0], eax
call esi
cmp dword [0x40bbc4], 2
mov dword [0x40bef4], eax
jne 0x406a7e
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x40befc], eax
je 0x406a7e
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x40bef8], eax
mov eax, dword [0x40bef8]
test eax, eax
je 0x406ac3
call eax
test eax, eax
je 0x406aaa
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40befc]
test eax, eax
je 0x406aaa
test byte [ebp - 8], 1
jne 0x406ac3
cmp dword [0x40bbd0], 4
jb 0x406abd
or byte [ebp + 0x12], 0x20
jmp 0x406ae2
xor eax, eax
jmp 0x406af2
or byte [ebp + 0x12], 4
jmp 0x406ae2
mov eax, dword [0x40bef0]
test eax, eax
je 0x406ae2
call eax
mov ebx, eax
test ebx, ebx
je 0x406ae2
mov eax, dword [0x40bef4]
test eax, eax
je 0x406ae2
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40beec]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407939
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00404790
mov eax, dword [0x40b040]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004068df
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x407a6c
push 2
push esi
push dword [ebp + 8]
call fcn.004068df
add esp, 0xc
cmp eax, ebx
je 0x407a6c
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x407a0c
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004078d0
push 0x8000
push dword [ebp + 8]
call fcn.004084e0
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x4079c2
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0040566a
add esp, 0xc
cmp eax, 0xffffffff
je 0x4079e2
sub edi, eax
test edi, edi
jg 0x4079ba
jmp 0x4079fa
call fcn.004033e1
cmp dword [eax], 5
jne 0x4079f7
call fcn.004033d8
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.004084e0
pop ecx
pop ecx
jmp 0x407a54
jge 0x407a54
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004068df
push dword [ebp + 8]
call fcn.004053eb
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x407a54
call fcn.004033d8
mov dword [eax], 0xd
call fcn.004033e1
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.004068df
add esp, 0xc
mov eax, esi
pop edi
jmp 0x407a6e
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00401c4f
leave
ret
Function at 0x408758
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00404790
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4087f3
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x40bbc4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4087f3
cmp eax, 1
je 0x408814
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4087f3
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4087c0
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4087ef
xor eax, eax
inc eax
jmp 0x408833
cmp edi, eax
jae 0x4087f7
xor eax, eax
jmp 0x408833
cmp eax, esi
jae 0x4087fe
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x40bbc4]
jmp 0x408817
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100029d0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010df9d
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [0x1014a524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 4]
mov dword [ebp - 0x2c], edi
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov esi, dword [edi]
movsd xmm0, qword [esi]
call fcn.100e1540
lea ecx, [esi + 8]
mov dword [edi], ecx
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov edi, dword [ebx + 4]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov esi, dword [edi]
movsd xmm0, qword [esi]
call fcn.100e1540
lea ecx, [esi + 8]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x18]
mov esi, dword [ebx]
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp dword [eax], ecx
jae 0x10002a8e
push eax
mov eax, dword [ebx + 8]
add eax, esi
push eax
call fcn.10016ce0
mov eax, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x10]
cmp dword [eax], ecx
jae 0x10002a8e
push eax
mov eax, dword [ebx + 4]
add eax, esi
push eax
call fcn.10016160
mov ecx, dword [ebp - 0x10]
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0
cmp dword [ecx], eax
jae 0x10002b85
mov eax, dword [ebx]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.1001be10
mov edi, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x18], edi
mov ebx, eax
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
mov esi, dword [edi]
movsd xmm0, qword [esi]
call fcn.100e1540
lea ecx, [esi + 8]
mov dword [edi], ecx
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], eax
lea eax, [ebx + 0x10]
push ebx
push eax
lea eax, [ebx + 0x20]
mov byte [ebp - 4], 2
push eax
lea eax, [ebx + 0x30]
mov dword [ebp - 0x30], ebx
push eax
lea eax, [ebx + 0x40]
push eax
lea eax, [ebx + 0x48]
push eax
lea eax, [ebx + 0x58]
push eax
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x68]
push eax
lea eax, [ebx + 0x70]
push eax
lea eax, [ebx + 0x78]
push eax
lea eax, [ebx + 0x80]
push eax
lea eax, [ebx + 0x88]
push eax
lea eax, [ebx + 0x90]
push eax
lea eax, [ebx + 0x98]
push eax
lea eax, [ebx + 0xa0]
push eax
lea eax, [ebx + 0xa8]
push eax
lea eax, [ebx + 0xb0]
push eax
lea eax, [ebx + 0xb8]
push eax
call fcn.10002f30
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
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
mov dword [ecx], 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 8
Function at 0x10008300
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e2b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1014a524]
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.10007660
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10008393
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 [edi + 8], 0xccccccc
je 0x100084f1
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100e1469
mov ecx, dword [ebx]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], esi
add esp, 4
mov dword [esi + 8], ecx
movq qword [esi + 0xc], xmm0
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1011e810]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1011e810]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10008490
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100f3870
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100e14f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1000846f
cmp ebx, 0x200
jae 0x1000846d
shl ebx, 3
cmp ebx, ecx
jae 0x1000846f
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100122f0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10007660
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x10008493
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
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 0x100084c1
mov dword [ecx + eax*8], esi
jmp 0x100084d0
cmp edi, edx
jne 0x100084ca
mov dword [ecx + eax*8], esi
jmp 0x100084d4
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100084d4
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 8
push str.unordered_map_set_too_long
call fcn.100cd797
int3
Function at 0x1000dc70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ec83
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1014a524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x1c], eax
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov eax, dword [edx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edx + 0x24]
mov dword [ebp - 4], 0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov eax, dword [edx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [esi + 0x2c], eax
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
lea eax, [edx + 0x30]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x30]
call fcn.100c5280
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f100
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010effb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1014a524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.1000dc70
movq xmm0, qword [esi + 0x38]
movq qword [edi + 0x38], xmm0
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
movq xmm0, qword [esi + 0x44]
movq qword [edi + 0x44], xmm0
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
movsd xmm0, qword [esi + 0x50]
movsd qword [edi + 0x50], xmm0
movsd xmm0, qword [esi + 0x58]
movsd qword [edi + 0x58], xmm0
movzx eax, byte [esi + 0x60]
mov byte [edi + 0x60], al
movzx eax, byte [esi + 0x61]
mov byte [edi + 0x61], al
movzx eax, byte [esi + 0x62]
mov byte [edi + 0x62], al
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov dword [edi + 0x68], eax
lea eax, [esi + 0x70]
mov dword [edi + 0x6c], ecx
lea ecx, [edi + 0x70]
push eax
mov dword [ebp - 4], 0
call fcn.100c3890
mov eax, dword [esi + 0x80]
lea ecx, [edi + 0x80]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov eax, dword [esi + 0x84]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x88]
mov dword [ecx + 8], eax
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov eax, dword [esi + 0x8c]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x90]
mov dword [ebp + 8], ecx
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x94]
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x98]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x9c]
mov dword [ecx + 0x1c], eax
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov eax, dword [esi + 0xa0]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0xa4]
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov eax, dword [esi + 0xa8]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0xac]
mov dword [ecx + 0x2c], eax
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
lea eax, [esi + 0xb0]
mov byte [ebp - 4], 3
push eax
add ecx, 0x30
call fcn.100c5280
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov eax, dword [esi + 0xb8]
mov dword [edi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [edi + 0xbc], eax
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov eax, dword [esi + 0xc0]
mov dword [edi + 0xc0], eax
mov eax, dword [esi + 0xc4]
mov dword [edi + 0xc4], eax
mov eax, edi
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4