joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7e9f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5060c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4c7eea
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004c803a
test al, al
jne 0x4c7ee4
sub edx, 2
cmp edx, edi
jne 0x4c7eca
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4c7f0c
lea eax, [edi + 2]
cmp edx, eax
je 0x4c7f0c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004c7deb
add esp, 0x10
jmp 0x4c8006
push esi
lea ecx, [ebp - 0x255]
call fcn.004c803a
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c7f4f
push dword [ebp - 0x25c]
jmp 0x4c7efc
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4c7f8c
cmp word [ebp - 0x226], 0
je 0x4c7fad
cmp word [ebp - 0x226], ax
jne 0x4c7f8c
cmp word [ebp - 0x224], 0
je 0x4c7fad
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004c7deb
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4c7ff9
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4c7f66
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4c7fe1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4c8006
push 0x4c7c1b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004ce3e0
add esp, 0x10
jmp 0x4c7fd6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2700
leave
ret

Function at 0x4c891c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4c892d
pop esi
ret
push ebx
push edi
push esi
call fcn.004c88e5
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004c0748
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4c8955
push ebx
push esi
push edi
call fcn.004a3d80
add esp, 0xc
push 0
call fcn.004c0672
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4c8d25
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c896a
Function at 0x4cac68
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004c0387
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 0x4cacd7
cmp esi, dword [ebp - 4]
je 0x4cacd2
cmp dword [ebp + 0xc], 0
je 0x4cacd2
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4cacaf
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004ca7ba
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4cacd9
xor eax, eax
inc eax
jmp 0x4cacd9
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4cad3e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5060c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004c0387
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004c0387
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4cadb5
cmp word [ecx], dx
je 0x4cadb5
mov eax, dword [0x4e481c]
push edi
dec eax
push eax
push 0x4e4708
call fcn.004cacdd
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4cae28
cmp word [eax], dx
je 0x4cae28
mov eax, dword [edi]
test eax, eax
je 0x4cadd9
cmp word [eax], dx
je 0x4cadd9
lea eax, [ebp - 0x10]
push eax
call fcn.004ca6c0
jmp 0x4cade2
lea eax, [ebp - 0x10]
push eax
call fcn.004ca75b
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4cae52
mov eax, dword [0x4e4704]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4e43f8
call fcn.004cacdd
add esp, 0xc
test al, al
je 0x4cae52
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4cae1d
cmp word [eax], di
je 0x4cae1d
lea eax, [ebp - 0x10]
push eax
call fcn.004ca6c0
pop ecx
jmp 0x4cae54
lea eax, [ebp - 0x10]
push eax
call fcn.004ca75b
jmp 0x4cae1a
mov eax, dword [edi]
test eax, eax
je 0x4cae3f
cmp word [eax], dx
je 0x4cae3f
lea eax, [ebp - 0x10]
push eax
call fcn.004ca675
pop ecx
jmp 0x4cae52
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4caf1d
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004cab62
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4caf1d
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4caf1d
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4caf1d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4caeaa
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004c4f8b
test ebx, ebx
je 0x4caf18
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004c4f8b
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4caf1d
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4caf1d
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004bb800
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4caf1f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2700
leave
ret
Function at 0x4cefc5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004cef41
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4cf134
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4cf134
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4cf0e9
jg 0x4cf021
test eax, eax
je 0x4cf0df
push 1
push 0x1000
call fcn.004c1b1c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4cf044
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4cf0d6
push 0x8000
push ebx
call fcn.004be75e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4cf06d
jg 0x4cf068
cmp ecx, 0x1000
jb 0x4cf06d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004c42da
add esp, 0x10
cmp eax, 0xffffffff
je 0x4cf0b2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4cf068
jl 0x4cf099
test ecx, ecx
jne 0x4cf05a
push dword [ebp - 0xc]
push ebx
call fcn.004be75e
push esi
call fcn.004c0672
add esp, 0xc
xor ebx, ebx
jmp 0x4cf142
cmp byte [edi + 0x24], 0
je 0x4cf0c9
cmp dword [edi + 0x20], 5
jne 0x4cf0c9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4cf0d4
mov ebx, dword [edi + 0x18]
jmp 0x4cf0d6
xor ebx, ebx
push esi
call fcn.004c0672
pop ecx
jmp 0x4cf142
test ecx, ecx
jg 0x4cf0ab
jl 0x4cf0e9
test eax, eax
jae 0x4cf0ab
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c25b7
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4cf109
cmp byte [edi + 0x1c], 0
je 0x4cf0ab
jmp 0x4cf13a
push ebx
call fcn.004c3986
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4cf0ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4cf142
cmp byte [edi + 0x1c], 0
je 0x4cf13f
mov ebx, dword [edi + 0x18]
jmp 0x4cf142
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004c25b7
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4d0340
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4d036d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4d036d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x7ee769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7f2190
cmp edx, dword [eax]
je 0x7ee78b
add eax, 8
inc ecx
cmp eax, 0x7f2220
jl 0x7ee77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7f2190]
jne 0x7ee8b9
mov eax, dword [0x7f2bb0]
cmp eax, 1
je 0x7ee893
test eax, eax
jne 0x7ee7bc
cmp dword [0x7f20e4], 1
je 0x7ee893
cmp edx, 0xfc
je 0x7ee8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7ee7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.007ef670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007ef490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7ee836
lea eax, [ebp - 0x1a4]
push eax
call fcn.007ef490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7f145c
push edi
call fcn.007eff00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.007ef670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007ef680
lea eax, [ebp - 0xa0]
push 0x7f143c
push eax
call fcn.007ef680
push dword [esi + 0x7f2194]
lea eax, [ebp - 0xa0]
push eax
call fcn.007ef680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.007efe75
add esp, 0x2c
pop edi
jmp 0x7ee8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x7f2194]
push 0
push eax
push dword [esi]
call fcn.007ef490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3dd15bc9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3fbe0cd1
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10002fc0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10002ffe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10002ff6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10003000
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10002fe6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100030d0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x100030e6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10003101
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x40bdf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x40be0e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x40be34
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x40be20
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.0040bd70
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x40be54
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x40bef0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x6d0810], 0
jne 0x40bf48
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x6d0808], eax
mov eax, dword [ebp - 8]
mov dword [0x6d080c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x6d0810], eax
mov eax, 0x6d0808
mov esp, ebp
pop ebp
ret
Function at 0x40f980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
push esi
push edi
push 0x40
lea eax, [esp + 0x1c]
mov esi, ecx
push 0
push eax
call fcn.004cebf0
push 0xf8
lea eax, [esp + 0x68]
push 0
push eax
call fcn.004cebf0
mov eax, dword [ebp + 8]
add esp, 0x18
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
or eax, edx
mov ecx, dword [esi + 4]
movlpd qword [esp + 8], xmm0
je 0x40fa56
mov eax, dword [ecx + 0x4c]
lea edi, [esp + 8]
push edi
push 0x40
lea edi, [esp + 0x20]
mov ecx, dword [eax + 8]
push edi
mov edi, dword [ebp + 8]
push edx
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x40fa56
mov eax, 0x5a4d
cmp word [esp + 0x18], ax
jne 0x40fa56
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
cdq
mov esi, eax
movlpd qword [esp + 0x10], xmm0
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
je 0x40fa56
mov eax, dword [esp + 8]
lea edi, [esp + 0x10]
push edi
push 0xf8
lea edi, [esp + 0x60]
mov eax, dword [eax + 0x4c]
push edi
push edx
push esi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x40fa56
cmp dword [esp + 0x58], 0x4550
jne 0x40fa56
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40fbd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0x18
mov dword [esp + 0x30], ecx
mov ecx, esp
call fcn.0040cfe0
lea ecx, [esp + 0x34]
call fcn.0040d6b0
xor ecx, ecx
add esp, 0x18
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x34], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], eax
cmp edx, 8
jb 0x40fc62
mov ecx, dword [esp + 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd08
push edx
push ecx
call fcn.004b4fdc
add esp, 8
mov edi, dword [esp + 0x48]
lea ebx, [esp + 0x34]
mov esi, dword [esp + 0x34]
cmp edi, 8
mov eax, dword [esp + 0x44]
mov edx, 0x811c9dc5
cmovae ebx, esi
xor ecx, ecx
add eax, eax
je 0x40fc9a
mov edi, eax
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x40fc85
mov edi, dword [esp + 0x48]
xor edx, dword [ebp + 0xc]
lea eax, [esp + 0x34]
mov ebx, dword [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [ebx + 0xc]
call fcn.00410cd0
cmp dword [eax + 4], 0
je 0x40fccf
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0xc]
call fcn.00410080
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
cmp edi, 8
jb 0x40fcff
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x40fcf5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd0d
push ecx
push esi
call fcn.004b4fdc
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004e34cc
call fcn.004e34cc
int3
Function at 0x410080
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], ecx
jb 0x41009c
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4100b8
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4100a7
mov edi, dword [edx + 0x18]
lea eax, [ebp - 0x10]
mov ebx, dword [ebp - 8]
xor edi, esi
push edi
push edx
push eax
mov ecx, ebx
call fcn.00410cd0
mov esi, dword [eax + 4]
test esi, esi
je 0x410135
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4100fc
cmp eax, esi
jne 0x4100f4
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x410104
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x410104
cmp eax, esi
jne 0x410104
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [ebx + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
call fcn.00411210
push 0x2c
push esi
call fcn.004b4fdc
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x410a60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fc0c5
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, ebx
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x410a90
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x410ab4
mov ebx, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x410aa0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, edi
xor eax, edx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00410cd0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x410aec
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0x5d1745d
je 0x410c4d
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.004b57fb
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
lea ecx, [esi + 8]
push ebx
call fcn.00409600
mov ecx, dword [ebx + 0x18]
xorps xmm0, xmm0
mov dword [esi + 0x20], ecx
movq qword [esi + 0x24], xmm0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5370d0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x5370d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x410be7
divss xmm2, xmm3
push ecx
movss dword [esp], xmm2
call fcn.004037c0
add esp, 4
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.004b5020
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x410bc8
cmp ebx, 0x200
jae 0x410bc6
shl ebx, 3
cmp ebx, ecx
jae 0x410bc8
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00411000
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 8]
push ebx
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00410cd0
mov edx, dword [eax]
jmp 0x410bed
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, ebx
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + 0xc]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x410c1b
mov dword [ecx + eax*8], esi
jmp 0x410c2d
cmp edi, edx
jne 0x410c24
mov dword [ecx + eax*8], esi
jmp 0x410c31
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x410c31
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004b3e6b
int3
Function at 0x4123c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc183
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
push edi
mov dword [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
lea ecx, [ebx + 0x54]
mov byte [ebp - 4], 4
call fcn.00413aa0
lea ecx, [ebx + 0x74]
mov byte [ebp - 4], 5
call fcn.00413aa0
xor eax, eax
mov dword [ebx + 0x94], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 7
mov word [ebx + 0x94], ax
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc0], 7
mov word [ebx + 0xac], ax
lea edi, [ebx + 0xc4]
mov dword [ebp - 0x14], edi
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 9
push 0x44
mov dword [ebp - 0x18], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004b57fb
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret