joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4829a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d845
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
call fcn.004830d0
mov eax, dword [ebp + 0xc]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4829d2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00411360
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x4829f2
mov esi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4829ff
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00411360
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 8
jb 0x482a1c
mov ebx, dword [ebx]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [edi + 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x482a69
mov ecx, dword [ebp - 0x24]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x482a60
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x482b55
push ecx
call fcn.0045a450
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x482ab9
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x482ab0
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x482b55
push ecx
call fcn.0045a450
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [edi + 0x10]
test esi, esi
je 0x482b40
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [edi + 0x14], eax
test eax, eax
je 0x482b40
mov esi, dword [edi + 0x10]
push 0
mov byte [edi + 0x4c], 3
call ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [edi + 0x14]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [edi + 0x20]
add ecx, eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov al, 1
mov dword [edi + 0x48], ecx
mov byte [edi + 0x4d], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00469335
int3
Function at 0x482fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je case.0x482ff2.0
movzx ecx, byte [edi + 0x4c]
xor eax, eax
cmp ecx, 4
ja case.default.0x482ff2
jmp dword [ecx*4 + 0x4830bc]
mov ebx, dword [edi + 0x28]
xor eax, eax
mov ecx, dword [edi + 0x38]
mov edx, esi
add edx, ebx
adc eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x3c]
jb 0x483017
ja 0x483013
cmp edx, ecx
jbe 0x483017
mov esi, ecx
sub esi, ebx
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je case.0x482ff2.0
mov eax, dword [ebp + 0xc]
add dword [edi + 0x28], eax
adc dword [edi + 0x2c], 0
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x48]
lea eax, [ecx + esi]
cmp eax, edx
jbe 0x483054
mov esi, edx
sub esi, ecx
push esi
push ecx
push dword [ebp + 8]
call fcn.004638d0
add esp, 0xc
mov eax, esi
add dword [edi + 0x40], esi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [edi + 0x28]
xor eax, eax
mov edx, dword [edi + 0x38]
mov ebx, esi
add ebx, ecx
adc eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x3c]
jb 0x48308d
ja 0x483087
cmp ebx, edx
jbe 0x48308d
mov esi, edx
sub esi, ecx
je case.0x482ff2.0
push esi
push ecx
mov ecx, dword [edi + 0x18]
call fcn.00422570
push eax
push dword [ebp + 8]
call fcn.004638d0
add esp, 0xc
mov eax, esi
add dword [edi + 0x28], esi
adc dword [edi + 0x2c], 0
pop edi
pop esi
pop ebx
pop ebp
ret 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x483150
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d884
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
call fcn.004830d0
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x483180
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00411360
add esp, 8
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x48319e
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x4831f6
mov ecx, dword [ebp - 0x24]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x4831ed
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x483287
push ecx
call fcn.0045a450
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x483233
mov dword [esi + 8], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp + 8]
mov byte [esi + 0x4c], 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 8]
xor ecx, ecx
add ecx, eax
mov al, 1
mov dword [esi + 0x20], ecx
adc edx, 0
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], edx
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00469335
int3
Function at 0x483940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d8ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x18], ebx
push edi
mov dword [ebx], vtable.CDialog.0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x483985
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 4], 0
call fcn.0041c990
mov ecx, ebx
mov dword [ebp - 0x10], ebx
shr ecx, 8
mov edi, eax
movzx edx, cl
mov eax, ebx
movzx ecx, bl
xor ecx, 0x811c9dc5
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor edx, ecx
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0x20]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041fa40
mov edx, dword [eax + 4]
test edx, edx
je 0x483a30
mov ecx, dword [edi + 0x38]
and ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x2c]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x483a0f
cmp eax, edx
jne 0x483a07
mov eax, dword [edi + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x483a17
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x483a17
cmp eax, edx
jne 0x483a17
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [edi + 0x28]
mov eax, dword [edx + 4]
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.0045a450
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx], vtable.CWindowBase.0
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d96d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00413250
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea ebx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
lea edi, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae eax, ecx
cmovae ebx, ecx
add esi, eax
cmp dword [ebp - 0x18], 0x10
cmovae edi, ecx
cmp edi, esi
je 0x483f37
sub ebx, edi
nop dword [eax + eax]
movsx eax, byte [edi]
push eax
call fcn.0046958f
mov byte [ebx + edi], al
add esp, 4
inc edi
cmp edi, esi
jne 0x483f20
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
lea esi, [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
cmp edi, 0x10
mov edx, 0x811c9dc5
cmovae esi, ecx
xor ecx, ecx
test ebx, ebx
je 0x483f62
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x483f51
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00417c20
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x483f7f
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], 1
xor edx, edx
cmp ecx, eax
lea esi, [ecx + 0x20]
cmove esi, edx
cmp edi, 0x10
jb 0x483fbd
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + 1]
mov edx, ecx
cmp eax, 0x1000
jb 0x483fb4
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x483feb
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00469335
int3
Function at 0x484030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d986
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00413250
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
lea ebx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x2c]
cmp edx, 0x10
cmovae eax, dword [ebp - 0x2c]
cmovae ebx, dword [ebp - 0x2c]
add esi, eax
mov eax, dword [ebp - 0x2c]
cmp edx, 0x10
cmovae edi, eax
cmp edi, esi
je 0x4840aa
sub ebx, edi
nop dword [eax + eax]
movsx eax, byte [edi]
push eax
call fcn.0046958f
mov byte [ebx + edi], al
add esp, 4
inc edi
cmp edi, esi
jne 0x484090
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmp edx, 0x10
mov edx, 0x811c9dc5
cmovae esi, eax
xor ecx, ecx
test ebx, ebx
je 0x4840d2
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4840c1
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00417c20
mov eax, dword [eax + 4]
test eax, eax
je 0x4840f1
cmp eax, dword [ebx + 4]
jne 0x484106
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00423610
mov ecx, eax
call fcn.00423470
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
cmp eax, 0x10
jb 0x48413b
mov ecx, dword [ebp - 0x2c]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x484132
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x484164
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00469335
int3
Function at 0x486130
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dd80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x30]
call fcn.00413250
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
lea edi, [ebp - 0x30]
mov esi, dword [ebp - 0x20]
cmovae ecx, edx
cmovae eax, edx
add esi, ecx
cmp dword [ebp - 0x1c], 0x10
cmovae edi, edx
cmp edi, esi
je 0x4861a4
mov ebx, eax
sub ebx, edi
nop dword [eax]
movsx eax, byte [edi]
push eax
call fcn.0046958f
mov byte [ebx + edi], al
add esp, 4
inc edi
cmp edi, esi
jne 0x486190
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebx]
mov ecx, edi
mov dword [ebp + 8], edi
mov eax, dword [edi]
call dword [eax + 8]
mov byte [ebp - 4], 1
lea edx, [ebx + 0x24]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebx + 0x28]
push eax
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0041fa40
mov eax, dword [eax + 4]
test eax, eax
jne 0x486204
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x2c]
je 0x486225
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebx + 0x28]
call fcn.00423560
push eax
call fcn.00483ec0
mov esi, eax
test esi, esi
jne 0x486238
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 4]
push eax
call fcn.00483ec0
mov esi, eax
test esi, esi
je 0x486245
mov byte [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xc]
jmp 0x486252
mov byte [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xc]
xor esi, esi
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x486284
mov ecx, dword [ebp - 0x30]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x48627b
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4862b2
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00469335
int3
Function at 0x486970
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48de58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x2c]
call fcn.00413250
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
lea edi, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmovae ecx, edx
cmovae eax, edx
add esi, ecx
cmp dword [ebp - 0x18], 0x10
cmovae edi, edx
cmp edi, esi
je 0x4869e4
mov ebx, eax
sub ebx, edi
nop dword [eax]
movsx eax, byte [edi]
push eax
call fcn.0046958f
mov byte [ebx + edi], al
add esp, 4
inc edi
cmp edi, esi
jne 0x4869d0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx]
mov ecx, esi
mov dword [ebp + 8], esi
mov eax, dword [esi]
call dword [eax + 8]
mov byte [ebp - 4], 1
lea edx, [ebx + 0x24]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebx + 0x28]
push eax
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0041fa40
mov eax, dword [eax + 4]
test eax, eax
jne 0x486a44
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x2c]
je 0x486a63
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x24]
push eax
lea ecx, [ebx + 0x28]
call fcn.00423560
push eax
call fcn.00483ec0
test eax, eax
jne 0x486a74
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 4]
push eax
call fcn.00483ec0
test eax, eax
je 0x486a83
mov byte [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov bl, 1
jmp 0x486a90
mov byte [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
xor bl, bl
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x486ac2
mov ecx, dword [ebp - 0x2c]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x486ab9
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x486af0
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.00469335
int3
Function at 0x487a80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e0ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x10], 0
lea esi, [ecx + 0x24]
mov ebx, dword [ebp + 0xc]
push edi
movzx eax, bl
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
mov eax, ebx
sar eax, 8
movzx eax, al
xor eax, edi
imul ecx, eax, 0x1000193
mov eax, ebx
sar eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
sar eax, 0x18
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041fa40
mov eax, dword [eax + 4]
test eax, eax
je 0x487b4d
cmp eax, dword [esi + 4]
je 0x487b4d
movzx eax, bh
xor eax, edi
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 0xe]
xor ecx, eax
movzx eax, byte [ebp + 0xf]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041fa40
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x487b7e
mov ecx, dword [ebp + 8]
add eax, 0xc
push eax
call fcn.00413250
jmp 0x487b5a
mov ecx, dword [ebp + 8]
push 0x4a50e6
call fcn.00413210
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.invalid_unordered_map_K__T__key
call fcn.0045954e
int3
Function at 0x487eb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e1b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
push edi
mov dword [ebp - 0x14], ecx
mov edi, esi
cmp dword [esi + 0x14], 0x10
mov ebx, dword [esi + 0x10]
jb 0x487ee8
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x487f04
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x487ef3
push edx
push esi
lea eax, [ebp - 0x20]
mov ecx, 0x4ccf70
push eax
call fcn.00417c20
mov eax, dword [eax + 4]
test eax, eax
je 0x487f74
cmp eax, dword [0x4ccf74]
je 0x487f74
mov eax, dword [eax + 0x20]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
add ecx, 0x24
lea eax, [ebp - 0x20]
mov byte [ebp - 0x1c], 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00424f20
mov ecx, dword [ebp + 8]
push 0x4a50e7
call fcn.00413210
mov dword [ebp - 4], 0
pop edi
pop esi
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov edx, 0x4aba54
lea ecx, [ebp - 0x38]
call fcn.00414540
mov dword [ebp - 4], 1
mov edx, eax
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x4aba34
call fcn.00413cc0
add esp, 8
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x487fd6
mov ecx, dword [ebp - 0x38]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x487fcd
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x488001
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00469335
int3
Function at 0x10007054
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007093
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007093
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007093
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007093
cmp dword [ecx + 0x74], 0xe
jbe 0x10007093
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10009ac4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10009b61
push ebx
push esi
call fcn.10009a8d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10009a21
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10009b0e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10009b60
push edi
push eax
call fcn.100084f4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10009b2e
call fcn.10008542
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10009b5f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10009a21
add esp, 0x20
test eax, eax
jne 0x10009b4d
push edi
call fcn.10008542
jmp 0x10009b55
push ebx
call fcn.10008542
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10009dce
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012308
push 0x10012300
push str.FlsAlloc
push 0x1f
call fcn.10009cea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009e02
push dword [ebp + 8]
mov ecx, esi
call dword [0x10010168]
call esi
jmp 0x10009e08
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10009e4c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012318
push 0x10012310
push str.FlsGetValue
push 0x21
call fcn.10009cea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009e83
push dword [ebp + 8]
mov ecx, esi
call dword [0x10010168]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10009e8b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10012320
push 0x10012318
push str.FlsSetValue
push 0x22
call fcn.10009cea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009ec5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10010168]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]