joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009823
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
call fcn.10009823
add byte [ebx], bh
inc ecx
dec ecx
xor dh, byte ds:[0xeb04c483]
add esp, 4
jmp 0x1000982d
cmp eax, 0x42324e35
add esp, 4
jmp 0x1000982d
pop edx
push edx
push esi
add esp, 4
call 0x10009840
add byte [edx + esi], dh
dec edi
cmp bh, byte [0xc4833532]
add al, 0x5a
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edx
call 0x100098a9
add byte [edx + 0x4e], al
inc esi
cmp eax, 0x834d453b
les eax, [ecx + eax*4]
xor byte [ecx], ch
add byte [ecx + 0xe612c2], al
add byte [edx + 0x53], bl
xor ebx, 0x37b4
and ebx, 0x14b18
and ebx, 0x1158c
pop ebx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x100098ea
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x10009944
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x10009812
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x10009812
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x1000992e
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x10009938
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x1000998d
push esi
sub esi, 0x2598
call 0x10009961
add byte [edi], dh
xor al, byte [ebx + 0x45]
cmp al, 0x83
les eax, [ecx + eax*4]
out 0x86, al
mov al, byte [eax]
add byte [esi + 0x56], bl
sub esi, 0x570d
pop esi
push esi
push ecx
add esp, 4
or esi, 0x26b6
pop esi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x100099f5
push edi
xor edi, 0xb176
add edi, 0x13f7a
pop edi
push ebx
push esi
add esp, 4
call 0x100099af
add byte [edi], bh
dec eax
dec esi
inc edx
inc esi
cmp eax, 0x833a3642
les eax, [ecx + eax*4]
ret
Function at 0x10009840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
call fcn.10009823
add byte [ebx], bh
inc ecx
dec ecx
xor dh, byte ds:[0xeb04c483]
add esp, 4
jmp 0x1000982d
cmp eax, 0x42324e35
add esp, 4
jmp 0x1000982d
pop edx
push edx
push esi
add esp, 4
call 0x10009840
add byte [edx + esi], dh
dec edi
cmp bh, byte [0xc4833532]
add al, 0x5a
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edx
call 0x100098a9
add byte [edx + 0x4e], al
inc esi
cmp eax, 0x834d453b
les eax, [ecx + eax*4]
xor byte [ecx], ch
add byte [ecx + 0xe612c2], al
add byte [edx + 0x53], bl
xor ebx, 0x37b4
and ebx, 0x14b18
and ebx, 0x1158c
pop ebx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x100098ea
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x10009944
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x10009812
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x10009812
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x1000992e
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x10009938
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x1000998d
push esi
sub esi, 0x2598
call 0x10009961
add byte [edi], dh
xor al, byte [ebx + 0x45]
cmp al, 0x83
les eax, [ecx + eax*4]
out 0x86, al
mov al, byte [eax]
add byte [esi + 0x56], bl
sub esi, 0x570d
pop esi
push esi
push ecx
add esp, 4
or esi, 0x26b6
pop esi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x100099f5
push edi
xor edi, 0xb176
add edi, 0x13f7a
pop edi
push ebx
push esi
add esp, 4
call 0x100099af
add byte [edi], bh
dec eax
dec esi
inc edx
inc esi
cmp eax, 0x833a3642
les eax, [ecx + eax*4]
ret
Function at 0x100098a9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
call fcn.10009823
add byte [ebx], bh
inc ecx
dec ecx
xor dh, byte ds:[0xeb04c483]
add esp, 4
jmp 0x1000982d
cmp eax, 0x42324e35
add esp, 4
jmp 0x1000982d
pop edx
push edx
push esi
add esp, 4
call 0x10009840
add byte [edx + esi], dh
dec edi
cmp bh, byte [0xc4833532]
add al, 0x5a
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edx
call 0x100098a9
add byte [edx + 0x4e], al
inc esi
cmp eax, 0x834d453b
les eax, [ecx + eax*4]
xor byte [ecx], ch
add byte [ecx + 0xe612c2], al
add byte [edx + 0x53], bl
xor ebx, 0x37b4
and ebx, 0x14b18
and ebx, 0x1158c
pop ebx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x100098ea
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x10009944
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x10009812
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x10009812
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x1000992e
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x10009938
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x1000998d
push esi
sub esi, 0x2598
call 0x10009961
add byte [edi], dh
xor al, byte [ebx + 0x45]
cmp al, 0x83
les eax, [ecx + eax*4]
out 0x86, al
mov al, byte [eax]
add byte [esi + 0x56], bl
sub esi, 0x570d
pop esi
push esi
push ecx
add esp, 4
or esi, 0x26b6
pop esi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x100099f5
push edi
xor edi, 0xb176
add edi, 0x13f7a
pop edi
push ebx
push esi
add esp, 4
call 0x100099af
add byte [edi], bh
dec eax
dec esi
inc edx
inc esi
cmp eax, 0x833a3642
les eax, [ecx + eax*4]
ret
Function at 0x10009961
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
call fcn.10009823
add byte [ebx], bh
inc ecx
dec ecx
xor dh, byte ds:[0xeb04c483]
add esp, 4
jmp 0x1000982d
cmp eax, 0x42324e35
add esp, 4
jmp 0x1000982d
pop edx
push edx
push esi
add esp, 4
call 0x10009840
add byte [edx + esi], dh
dec edi
cmp bh, byte [0xc4833532]
add al, 0x5a
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edx
call 0x100098a9
add byte [edx + 0x4e], al
inc esi
cmp eax, 0x834d453b
les eax, [ecx + eax*4]
xor byte [ecx], ch
add byte [ecx + 0xe612c2], al
add byte [edx + 0x53], bl
xor ebx, 0x37b4
and ebx, 0x14b18
and ebx, 0x1158c
pop ebx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x100098ea
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x10009944
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x10009812
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x10009812
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x1000992e
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x10009938
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x1000998d
push esi
sub esi, 0x2598
call 0x10009961
add byte [edi], dh
xor al, byte [ebx + 0x45]
cmp al, 0x83
les eax, [ecx + eax*4]
out 0x86, al
mov al, byte [eax]
add byte [esi + 0x56], bl
sub esi, 0x570d
pop esi
push esi
push ecx
add esp, 4
or esi, 0x26b6
pop esi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x100099f5
push edi
xor edi, 0xb176
add edi, 0x13f7a
pop edi
push ebx
push esi
add esp, 4
call 0x100099af
add byte [edi], bh
dec eax
dec esi
inc edx
inc esi
cmp eax, 0x833a3642
les eax, [ecx + eax*4]
ret
Function at 0x100099af
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push eax
add esp, 4
call fcn.10009823
add byte [ebx], bh
inc ecx
dec ecx
xor dh, byte ds:[0xeb04c483]
add esp, 4
jmp 0x1000982d
cmp eax, 0x42324e35
add esp, 4
jmp 0x1000982d
pop edx
push edx
push esi
add esp, 4
call 0x10009840
add byte [edx + esi], dh
dec edi
cmp bh, byte [0xc4833532]
add al, 0x5a
mov edx, dword [ebp - 0xccc]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xccc]
add ecx, 2
mov dword [ebp - 0xccc], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xcd0]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcd0]
add edx, 2
mov dword [ebp - 0xcd0], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x3c], ax
push edx
call 0x100098a9
add byte [edx + 0x4e], al
inc esi
cmp eax, 0x834d453b
les eax, [ecx + eax*4]
xor byte [ecx], ch
add byte [ecx + 0xe612c2], al
add byte [edx + 0x53], bl
xor ebx, 0x37b4
and ebx, 0x14b18
and ebx, 0x1158c
pop ebx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x100098ea
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1670], edx
jmp 0x10009944
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x10009812
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x10009812
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x1000992e
mov dword [ebp - 0x162c], 0xffffffff
jmp 0x10009938
mov dword [ebp - 0x162c], 1
mov ecx, dword [ebp - 0x162c]
mov dword [ebp - 0x1670], ecx
cmp dword [ebp - 0x1670], 0
jne 0x1000998d
push esi
sub esi, 0x2598
call 0x10009961
add byte [edi], dh
xor al, byte [ebx + 0x45]
cmp al, 0x83
les eax, [ecx + eax*4]
out 0x86, al
mov al, byte [eax]
add byte [esi + 0x56], bl
sub esi, 0x570d
pop esi
push esi
push ecx
add esp, 4
or esi, 0x26b6
pop esi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x778], edx
jmp 0x100099f5
push edi
xor edi, 0xb176
add edi, 0x13f7a
pop edi
push ebx
push esi
add esp, 4
call 0x100099af
add byte [edi], bh
dec eax
dec esi
inc edx
inc esi
cmp eax, 0x833a3642
les eax, [ecx + eax*4]
ret
Function at 0x10020f10
Capabilities:
Encode data using xor

Disassembly:
add ch, byte [eax - 0x75]
xchg esp, edx
call 0xdb370fbb
push 0xe8d68f8b
add dword [ecx], eax
pop eax
pop eax
test esi, eax
push es
xor eax, 0xffffffbf
in al, dx
add al, byte [edx]
pushal
push ebx
xor ebx, 0x4f
mov ecx, 0xaea0202
add al, byte [edx]
add al, byte [edx]
inc esi
dec ebp
dec edx
inc edi
dec ecx
cmp al, 0x39
test esi, eax
push es
and ebx, 0xffffffb7
sbb al, byte [edx]
add ch, ch
or byte [ebx + 0x47], al
push eax
dec ecx
push eax
dec esi
pop ebx
enter 0x6a87, 0xfffffffffffffff8
xchg dword [edx - 8], ebp
add dword [ecx], eax
dec esi
enter 0x6b87, 0xfffffffffffffff8
add dword [ecx], eax
jno 0x10020eca
xchg dword [eax + edi*8 + 1], ebp
add dword [ebx - 0x38], esp
xchg dword [ebp - 8], ebp
add dword [ecx], eax
enter 0x6e87, 0xfffffffffffffff8
xchg dword [esi - 8], ebp
add dword [ecx], eax
dec esi
enter 0x6f87, 0xfffffffffffffff8
clc
add dword [ecx], eax
imul ecx, eax, 0xffffff87
jo 0x10020f19
add dword [ecx], eax
enter 0x7187, 0xfffffffffffffff8
add dword [ecx], eax
je 0x10020ef4
xchg dword [edx - 8], esi
add dword [ecx], eax
arpl ax, cx
xchg dword [ebx - 8], esi
add dword [ecx], eax
je 0x10020f02
xchg dword [eax + edi*8 + 1], esi
add dword [ebx - 0x38], edi
xchg dword [ebp - 8], esi
add dword [ecx], eax
pop ecx
enter 0x7687, 0xfffffffffffffff8
add dword [ecx], eax
add ah, byte [esi - 0x73]
pop ss
sbb al, byte [edx]
add al, byte [edx]
mov edx, dword [edi + 0x101e44a]
lea eax, [edi + 0x101e44a]
lea ecx, [edx + 0x32]
mov ecx, dword [edi + 0x101e446]
lea edx, [edi + 0x101e446]
mov edx, dword [edi + 0x101ecce]
pop ecx
xor ecx, 0xffffff96
mov ch, 2
add al, byte [ebx + 0x3592ff9]
pop ecx
add eax, dword [edx]
in eax, dx
Function at 0x1002efb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1331
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x101a12fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1002f02f
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0x100efbd8
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.10005f10
jmp 0x1002f0db
cmp dword [ebp - 0x14], 1
je 0x1002f058
mov ecx, dword [ebp + 8]
push 0x100efbd8
call fcn.10005540
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp - 0x10]
add esi, 2
push str.GUIDInfo::ReadValue
push esi
call fcn.100cac00
push esi
mov edi, eax
mov dword [ebp - 0x1c], esi
push 0
push edi
mov dword [ebp - 0x20], edi
call fcn.100dd9d6
add esp, 0x14
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov dword [ebp - 4], 1
mov word [edi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
push edi
push ecx
push ecx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp + 8]
test eax, eax
je 0x1002f0b7
push 0x100efbd8
mov ecx, esi
call fcn.10005540
jmp 0x1002f0c1
push edi
push esi
call fcn.1009edd0
add esp, 8
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], 1
test edi, edi
je 0x1002f0db
push 0
push edi
call fcn.100cacb0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10042910
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x10042963
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [ebp - 4], eax
add eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp esi, eax
je 0x1004299d
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x1004299d
mov eax, dword [edi]
jmp 0x10042990
mov esi, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x100429e0
cmp esi, dword [edx + ecx*8]
jne 0x10042990
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x100429c7
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 4]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x100429fc
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x10042a1e
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.10044270
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10042a04
mov dword [ecx], edi
jmp 0x10042a1e
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10042a1e
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.100441b0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100445e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x10044633
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1004465f
cmp dword [ecx], edi
jne 0x10044657
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [edx + ecx + 4], eax
jmp 0x10044667
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10044667
cmp dword [ecx], edi
jne 0x1004466a
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 4]
cmp dword [edi + 0x2c], 0x10
jb 0x1004468d
push dword [edi + 0x18]
call fcn.100dd8b4
add esp, 4
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
push edi
mov byte [edi + 0x18], 0
call fcn.100dd8b4
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10044840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0
push 1
push 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], vtable.TaskThread__void____cdecl___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], 0
mov byte [esi + 8], 0
push 0
mov byte [esi + 0x20], 1
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push esi
push 0x10044710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x24], eax
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x100461a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2bf6
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x101a12fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x82a]
mov ebx, dword [ebp + 0xc]
call fcn.10045110
mov esi, dword [0x100ef38c]
mov dword [ebp - 4], 0
test edi, edi
je 0x100462c3
push edi
push 0x400
push 0x101b8f18
call esi
lea eax, [ebp - 0x828]
push edi
push eax
call fcn.1009ef60
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x10046219
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete al
cmp dword [ebp - 0x814], 8
mov byte [ebp - 0x829], al
jb 0x1004624a
push dword [ebp - 0x828]
call fcn.100dd8b4
mov al, byte [ebp - 0x829]
add esp, 4
test al, al
je 0x100462c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100462c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov ecx, esp
push eax
push str.winerror__x
push ecx
call fcn.1009f310
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
call fcn.1009ce80
cmp dword [ebp - 0x814], 0x10
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x828]
push eax
push edi
push str.Warning:_Failed_to_create_database_folder__s._GetLastError_____s_n
call fcn.10044d60
add esp, 0x28
mov byte [ebp - 4], 0
cmp dword [ebp - 0x814], 0x10
jb 0x100462c3
push dword [ebp - 0x828]
call fcn.100dd8b4
add esp, 4
test ebx, ebx
je 0x10046397
push ebx
lea eax, [ebp - 0x410]
push 0x400
push eax
call esi
lea eax, [ebp - 0x410]
push 0x5c
push eax
call dword [0x100ef3a4]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x10046309
lea ecx, [edi + 1]
push ecx
lea eax, [ebp - 0x810]
push 0x400
push eax
call esi
mov byte [edi], 0
jmp 0x1004631e
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push 0x400
push eax
call esi
add esp, 0xc
push str.SaveDatabaseInProgramDirectory
push str.Engine
call fcn.100cad20
add esp, 8
test al, al
je 0x10046362
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x829]
call fcn.100451c0
test al, al
je 0x10046362
push str.dd32
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x410]
push eax
jmp 0x10046373
push str.dd32
lea eax, [ebp - 0x810]
push eax
push 0x101b8f18
push str._s_s._s
push 0x101b9320
call fcn.1002a120
add esp, 0x14
push 0x101b9320
push str.Database_file:__s_n
call fcn.10044d60
add esp, 8
cmp byte [ebp - 0x82a], 0
mov dword [ebp - 4], 0xffffffff
jbe 0x100463da
cmp byte [0x101bac41], 0
je 0x100463cf
dec dword [0x101bafc4]
jne 0x100463da
push 0x101bb980
mov dword [0x101bafc0], 0
call dword [0x101bc9d8]
jmp 0x100463da
push 0x101bc340
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dd9b4
mov esp, ebp
pop ebp
ret
Function at 0x10046450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov esi, ecx
test ebx, ebx
je 0x100464ad
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov al, byte [edi + eax]
mov byte [edx + ecx], al
inc dword [esi + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
jne 0x100464a8
test eax, eax
je 0x100464a1
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov dword [esi + 0xc], 0
setne al
test al, al
je 0x100464b6
mov dword [esi + 0xc], 0
inc edi
cmp edi, ebx
jb 0x10046461
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8