joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d2a0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov esi, ebx
mov dword [0x41660c], eax
mov dword [0x4143d4], edx
call fcn.0040e9b0
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsA]
mov dword [0x414576], eax
xor eax, eax
mov dword [0x416c2c], eax
call dword [sym.imp.KERNEL32.DLL_GetVersion]
mov edx, eax
mov byte [0x41457c], al
shr eax, 0x10
push 0x104
mov word [0x41457e], ax
xor eax, eax
mov ebx, 0x208
mov ax, word [0x41457e]
and edx, 0xffff
mov dword [0x414580], eax
xor eax, eax
sar edx, 8
mov al, byte [0x41457c]
and edx, 0xff
mov dword [0x414584], eax
xor eax, eax
mov byte [0x41457d], dl
mov al, dl
mov edx, dword [0x414584]
push 0x416610
shl edx, 8
push 0
or edx, eax
mov dword [0x414588], eax
mov dword [0x41458c], edx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edx, 0x416714
xor eax, eax
mov dword [0x414544], 0x416610
call fcn.0040eae0
mov dword [0x414550], 0x416714
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.0040eb80
mov edx, eax
mov bl, byte [eax]
mov dword [0x416608], eax
cmp bl, 0x22
je 0x40d394
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x40d751], 2
je 0x40d3ac
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x40d751], 2
je 0x40d3b3
inc eax
jmp 0x40d384
inc eax
cmp bl, byte [eax]
je 0x40d3a4
cmp byte [eax], 0
je 0x40d3a4
inc eax
cmp byte [eax], 0x22
jne 0x40d399
cmp byte [eax], 0
je 0x40d384
inc eax
jmp 0x40d384
test dl, dl
je 0x40d384
inc eax
jmp 0x40d377
mov dword [0x414540], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
test eax, eax
je 0x40d427
call fcn.0040ebc0
mov edx, eax
mov bx, word [eax]
mov dword [0x416604], eax
cmp bx, 0x22
je 0x40d3fa
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x40d751], 2
je 0x40d41c
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x40d751], 2
je 0x40d42c
add eax, 2
jmp 0x40d3e8
add eax, 2
cmp bx, word [eax]
je 0x40d411
cmp word [eax], 0
je 0x40d411
add eax, 2
cmp word [eax], 0x22
jne 0x40d402
cmp word [eax], 0
je 0x40d3e8
add eax, 2
jmp 0x40d3e8
cmp word [eax], 0
je 0x40d3e8
add eax, 2
jmp 0x40d3db
mov eax, 0x40d260
mov dword [0x41454c], eax
test edi, edi
jne 0x40d43e
mov eax, 1
pop edi
pop esi
pop ecx
ret
push 0x104
push 0x41691c
push esi
mov ebx, 0x208
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edx, 0x416a20
mov eax, esi
mov dword [0x414548], 0x41691c
call fcn.0040eae0
mov dword [0x414554], 0x416a20
mov eax, 1
pop edi
pop esi
pop ecx
ret
Function at 0x40dc10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edx
sub esp, 4
mov dword [esp], eax
mov eax, dword [0x4145b4]
test eax, eax
je 0x40dc2c
cmp dword [0x41453c], 0xfffffffe
jne 0x40dc32
xor eax, eax
add esp, 4
pop edx
pop ecx
ret
mov eax, esp
call fcn.0040dbc0
test eax, eax
je 0x40dc2c
push 0x40
push 0x1000
mov ecx, dword [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edx, eax
test eax, eax
je 0x40dc2c
mov eax, dword [esp]
sub eax, 4
cmp eax, dword [esp]
ja 0x40dc2a
mov dword [esp], eax
cmp eax, 0x38
jb 0x40dc2a
mov dword [edx], eax
mov eax, edx
call fcn.0040db40
mov ecx, eax
mov eax, dword [eax]
mov dword [esp], eax
or al, 1
mov dword [ecx], eax
mov dword [edx + 0x14], 0
lea eax, [ecx + 4]
inc dword [edx + 0x18]
call fcn.0040c400
mov eax, 1
add esp, 4
pop edx
pop ecx
ret

Function at 0x40dcc0
Capabilities:
Get file attributes

Disassembly:
push ecx
push edx
push esi
sub esp, 0x140
mov ecx, eax
cmp word [0x41457e], 0x8000
jae 0x40dcdf
cmp byte [0x41457c], 4
jae 0x40dd2e
mov dl, 0x2a
mov esi, ecx
mov al, byte [esi]
cmp al, dl
je 0x40dcfb
cmp al, 0
je 0x40dcf9
inc esi
mov al, byte [esi]
cmp al, dl
je 0x40dcfb
inc esi
cmp al, 0
jne 0x40dce3
sub esi, esi
test esi, esi
jne 0x40dd1f
mov dl, 0x3f
mov esi, ecx
mov al, byte [esi]
cmp al, dl
je 0x40dd1b
cmp al, 0
je 0x40dd19
inc esi
mov al, byte [esi]
cmp al, dl
je 0x40dd1b
inc esi
cmp al, 0
jne 0x40dd03
sub esi, esi
test esi, esi
je 0x40dd37
mov eax, 0xffffffff
add esp, 0x140
pop esi
pop edx
pop ecx
ret
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
jmp 0x40dd24
mov eax, esp
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40dd24
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp]
add esp, 0x140
pop esi
pop edx
pop ecx
ret
Function at 0x40fa83
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0x44
call fcn.0040a961
push esi
push edi
sub esp, 0xc
push eax
push ebx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov eax, edx
shr eax, 4
inc eax
mov esi, edx
and esi, 0xf
xor edx, edx
mov dx, word [ebp + 8]
push edx
and eax, 0xffff
mov dword [ebp - 0x14], eax
push eax
push 6
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceExA]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x40fae1
push 6
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x40fb30
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp - 0xc]
push ecx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x40fb30
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x40fb30
xor edx, edx
lea ecx, [eax + 2]
cmp edx, esi
jae 0x40fb26
xor ebx, ebx
mov bx, word [eax]
lea eax, [ebx + ebx]
add eax, ecx
inc edx
jmp 0x40fb12
xor ebx, ebx
mov bx, word [eax]
mov dword [ebp - 0x10], ecx
jmp 0x40fb36
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x40fb6a
test ebx, ebx
je 0x40fb5a
push edx
push edx
push edx
push edx
push ebx
mov ecx, dword [ebp - 0x10]
push ecx
push edx
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
lea edi, [eax + 1]
jmp 0x40fb5d
lea edi, [edx + 1]
push edi
push 0x40
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov esi, eax
jmp 0x40fb6c
mov esi, edx
test ebx, ebx
je 0x40fb89
push 0
push 0
push edi
push esi
push ebx
mov edi, dword [ebp - 0x10]
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
jmp 0x40fb96
push edi
push 0x4142d4
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
mov eax, esi
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret 8
Function at 0x410e90
Capabilities:
Set environment variable

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
push ebp
sub esp, 0x14
mov ebp, eax
mov dword [esp], 2
mov edx, 0x3d
mov dword [esp + 4], 1
call fcn.004112c0
mov ebx, eax
test eax, eax
je 0x410ebe
cmp eax, ebp
jne 0x410ecd
mov eax, 0xffffffff
add esp, 0x14
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
sub eax, ebp
mov dword [esp + 0xc], eax
inc eax
call fcn.0040c2e0
mov edx, eax
mov dword [esp + 8], eax
test eax, eax
je 0x410ebe
mov ecx, dword [esp + 0xc]
mov esi, ebp
mov edi, eax
push edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, dword [esp + 0xc]
lea esi, [ebx + 1]
mov byte [edx + eax], 0
mov eax, esi
call fcn.00411320
mov ebx, eax
test eax, eax
je 0x410f93
inc eax
call fcn.0040c2e0
mov dword [esp + 0x10], eax
test eax, eax
je 0x410f7d
mov ecx, ebx
mov edi, eax
push edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, edi
mov byte [ebx], 0
mov edx, dword [esp + 0x10]
push edx
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
mov edx, eax
mov eax, dword [esp + 8]
call fcn.0040c400
mov eax, dword [esp + 0x10]
call fcn.0040c400
test edx, edx
jne 0x410f99
cmp dword [esp + 0x10], 0
jne 0x410ebe
xor eax, eax
add esp, 0x14
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
mov eax, edx
call fcn.0040c400
mov eax, 0xffffffff
add esp, 0x14
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
mov dword [esp + 0x10], eax
jmp 0x410f3e
mov eax, ebp
call fcn.00411120
test eax, eax
jne 0x410ebe
cmp dword [0x416c30], 0
je 0x410ec3
mov eax, ebp
call fcn.00411320
lea ebx, [eax + 1]
mov eax, dword [esp]
imul eax, ebx
call fcn.0040c2e0
mov ecx, eax
test eax, eax
je 0x411001
imul ebx, dword [esp + 4]
mov edx, ebp
call fcn.00411350
cmp eax, 0xffffffff
jne 0x41101a
mov eax, ecx
call fcn.0040c400
mov eax, 0xe
call fcn.0040fe42
mov eax, 0xffffffff
add esp, 0x14
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
mov eax, 5
call fcn.0040fe42
mov eax, 0xffffffff
add esp, 0x14
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
mov eax, ecx
call fcn.004115f0
add esp, 0x14
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x427b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x427b82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427b78
mov eax, 1
add ebx, ebx
jne 0x427b9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427b90
jne 0x427bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427b90
xor ecx, ecx
sub eax, 3
jb 0x427bc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427c32
mov ebp, eax
add ebx, ebx
jne 0x427bcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427bfc
inc ecx
add ebx, ebx
jne 0x427be8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427bdd
jne 0x427bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427bdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427c0d
jmp 0x427b7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427c1c
add edi, ecx
jmp 0x427b7e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427c3a
cmp byte [edi], 0
jne 0x427c3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x427c3f
lea edi, [esi + 0x25000]
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x444b68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x444b68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444b6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x444b70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x444b78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x444b74], eax
mov eax, dword [0x444b74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x444b78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x444b78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x444b6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x444b70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444b68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x442030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x2c2255c]
push ebx
mov ebx, dword [0x2c22280]
push esi
mov esi, dword [0x442f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push str.zolihetujejijitewi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2c2255c]
mov dword [0x444d0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x2c2255c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x10027110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6133
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100c1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x448
call fcn.100a48b8
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100b16c0
mov eax, dword [esi]
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
movups xmmword [edi + 0x80], xmm0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0xf
mov byte [edi + 0x80], 0
movups xmmword [edi + 0x98], xmm0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0xf
mov byte [edi + 0x98], 0
mov byte [ebp - 4], 2
mov ecx, edi
mov word [edi + 0xb1], 0
mov byte [edi + 0xb3], 0
push eax
mov dword [edi + 0xb0], 0
mov dword [edi + 0x3ec], 0
mov dword [edi + 0x3f0], 0
mov dword [edi + 0x3f4], 0
mov byte [edi + 0x3f8], 0
mov dword [edi + 0x3fc], 0
mov byte [edi + 0x400], 0
mov dword [edi + 0x404], 0
mov dword [edi + 0x408], 0
mov dword [edi + 0x40c], 0
mov dword [edi + 0x410], 0
mov dword [edi + 0x414], 0
mov dword [edi + 0x418], 0
mov word [edi + 0x428], 0
call fcn.10020e10
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], 0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], 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 0x1002f1d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c1040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002f28c
cmp byte [esi + 0x3d], 0
je 0x1002f28c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002f27a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002f241
sub eax, 1
je 0x1002f245
sub eax, 2
jne 0x1002f27a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a489c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002f263
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002f27a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a489c
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a489c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100a489c
mov esp, ebp
pop ebp
ret
Function at 0x10031a90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100d1300], 0
push ebx
push esi
push edi
je 0x10031c1e
mov ecx, dword [0x100ffa08]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10031c1e
mov ecx, dword [0x100ffa8c]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x10031c1e
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10031af0
xor edx, edx
test ecx, ecx
je 0x10031b19
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031b00
cmp edi, 0x5ff56dc5
je 0x10031b28
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x10031c1e
mov ecx, dword [ebp - 4]
jmp 0x10031ad4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x10031c1e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x10031c1e
movss xmm1, dword [0x100b72d0]
xor ebx, ebx
cmp edx, 4
jl 0x10031beb
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10031b8c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10031ba7
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10031bc2
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10031bd5
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x10031b71
cmp ebx, edx
jl 0x10031bef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x10031c1e
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10031c13
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10031c00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10033ba0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a68e5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
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 - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.100352f0
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x10033d10
cmp dword [0x10105180], 0xfffffff
jne 0x10033c2a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x1010517c
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.100a48b8
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x10105180]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b7570]
mov eax, dword [0x10105194]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b7570]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x10105178]
jbe 0x10033cc9
call fcn.10035100
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100352f0
mov ecx, dword [0x10105180]
mov edx, dword [eax]
jmp 0x10033ccc
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x10105180], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x10105190]
mov ecx, dword [0x10105184]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x1010517c]
jne 0x10033cfd
mov dword [ecx + eax*8], esi
jmp 0x10033d0c
cmp ebx, edx
jne 0x10033d06
mov dword [ecx + eax*8], esi
jmp 0x10033d10
cmp dword [ecx + eax*8 + 4], edi
jne 0x10033d10
mov dword [ecx + eax*8 + 4], esi
lea eax, [esi + 0xc]
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