Function at 0x4ff300
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525de9
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x56afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebx + 0x1b4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x2c], 0
call fcn.004f82a0
mov dword [ebx + 0x1a8], eax
call fcn.004fa050
mov dword [ebx + 0x174], eax
call fcn.004f9fe0
mov dword [ebx + 0x2c], eax
call fcn.004f72f0
xor ecx, ecx
mov edx, 0x10
lea esi, [eax + 1]
mov eax, esi
mov dword [ebx + 0x28], esi
mul edx
mov dword [ebp - 0x48], esi
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4ff3c0
push 0x4fd3a0
push 0x4fcb40
push esi
lea edi, [eax + 4]
mov dword [eax], esi
push 0x10
push edi
call fcn.00523810
jmp 0x4ff3c2
xor edi, edi
mov eax, dword [ebx + 0x2c]
xor ecx, ecx
mov esi, 4
mov dword [ebp - 4], 0xffffffff
mul esi
mov dword [ebx + 0x1c], edi
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov dword [ebx + 0x24], eax
xor ecx, ecx
mov eax, dword [ebx + 0x2c]
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x2c]
shl eax, 2
push eax
push 0
push dword [ebx + 0x24]
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x2c]
shl eax, 2
push eax
push 0
push dword [ebx + 0x20]
call sub.msvcrt.dll_memset
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
call dword [eax + 0x24]
mov dword [ebx + 0xb0], eax
xor esi, esi
mov dword [ebp - 0x10], esi
or byte [eax + 0x30], 4
call fcn.004f9c50
xor edx, edx
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
cmp dword [ebx + 0x28], edx
jle 0x4ff578
xor eax, eax
mov dword [ebp - 0x24], eax
mov esi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x2c]
add esi, eax
mov dword [ebp - 0x30], ecx
cmp ecx, dword [esi]
je 0x4ff4e1
lea edi, [ecx + 0x1f]
mov edx, 4
shr edi, 5
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov edx, dword [esi]
add esp, 4
add edx, 0x1f
mov dword [ebp - 0x18], eax
shr edx, 5
xor ecx, ecx
test edx, edx
je 0x4ff4b4
mov ebx, eax
lea ebx, [ebx]
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edx
jb 0x4ff4a0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
sub edi, edx
lea eax, [eax + edx*4]
shl edi, 2
push edi
push 0
push eax
call sub.msvcrt.dll_memset
push dword [esi + 4]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
mov esi, dword [ebp - 0x24]
add esi, dword [ebx + 0x1c]
cmp edi, dword [esi + 8]
je 0x4ff560
add edi, 0x1f
xor ecx, ecx
shr edi, 5
mov edx, 4
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov edx, dword [esi + 8]
add esp, 4
add edx, 0x1f
mov dword [ebp - 0x18], eax
shr edx, 5
xor ecx, ecx
test edx, edx
je 0x4ff535
mov ebx, eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edx
jb 0x4ff521
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
sub edi, edx
lea eax, [eax + edx*4]
shl edi, 2
push edi
push 0
push eax
call sub.msvcrt.dll_memset
push dword [esi + 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov eax, dword [ebp - 0x24]
inc edx
add eax, 0x10
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
cmp edx, dword [ebx + 0x28]
jl 0x4ff457
xor esi, esi
mov ecx, dword [ebx + 0x1a8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x4ff873
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 0x1f]
shr edx, 5
mov dword [ebp - 0x48], edx
lea esp, [esp]
mov dword [ebp - 0x5c], eax
xor ecx, ecx
mov eax, edx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov ecx, dword [ebp - 0x5c]
add ecx, 0x1f
mov dword [ebp - 0x58], eax
shr ecx, 5
shl ecx, 2
push ecx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x10
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 4], 1
call dword [eax + 4]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [ebp - 0x20], edi
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebx + 0x1c]
mov edx, edi
mov dword [ebp - 0x3c], eax
shl eax, 4
shr edx, 5
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx + eax + 4]
mov eax, dword [ecx + edx*4]
lea edx, [ecx + edx*4]
mov ecx, edi
and ecx, 0x1f
bts eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 0x30], eax
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x4ff792
mov eax, dword [ecx]
call dword [eax + 4]
movzx ecx, al
xor ecx, 0x811c9dc5
mov dword [ebp - 0x14], eax
imul edx, ecx, 0x1000193
movzx ecx, ah
movzx eax, byte [ebp - 0x11]
mov esi, dword [ebp - 0x14]
xor edx, ecx
movzx ecx, byte [ebp - 0x12]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
xor edx, edx
xor ecx, eax
imul eax, ecx, 0x1000193
mov dword [ebp - 0x34], eax
div dword [ebx + 0x15c]
mov eax, dword [ebx + 0x164]
lea edi, [edx*4]
mov eax, dword [edi + eax]
test eax, eax
je 0x4ff69b
nop
cmp dword [eax + 4], esi
je 0x4ff6db
mov eax, dword [eax]
test eax, eax
jne 0x4ff690
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 4
mov dword [ebp - 0x4c], edx
test edx, edx
je 0x4ff6bf
mov eax, dword [ebp - 0x20]
mov dword [edx], 0
mov dword [edx + 4], esi
mov dword [edx + 8], eax
jmp 0x4ff6c1
xor edx, edx
mov eax, dword [ebx + 0x164]
mov ecx, dword [edi + eax]
mov dword [edx], ecx
mov ecx, dword [ebx + 0x164]
mov dword [edi + ecx], edx
inc dword [ebx + 0x160]
mov eax, dword [ebp - 0x34]
xor edx, edx
div dword [ebx + 0x168]
mov eax, dword [ebx + 0x170]
lea edi, [edx*4]
mov eax, dword [edi + eax]
test eax, eax
je 0x4ff70b
lea ebx, [ebx]
cmp dword [eax + 4], esi
je 0x4ff74b
mov eax, dword [eax]
test eax, eax
jne 0x4ff700
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, eax
add esp, 4
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x4ff72f
mov eax, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
jmp 0x4ff731
xor ecx, ecx
mov eax, dword [ebx + 0x170]
mov eax, dword [edi + eax]
mov dword [ecx], eax
mov eax, dword [ebx + 0x170]
mov dword [edi + eax], ecx
inc dword [ebx + 0x16c]
mov ecx, dword [ebp - 0x10]
mov edi, ecx
mov edx, dword [ebp - 0x58]
mov esi, ecx
shr edi, 5
and esi, 0x1f
inc ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + edi*4]
bts eax, esi
mov dword [edx + edi*4], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp - 0x38]
mov edx, dword [eax + edx + 0xc]
mov eax, dword [edx + edi*4]
bts eax, esi
mov dword [edx + edi*4], eax
mov eax, dword [ecx]
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x2c], eax
test ecx, ecx
jne 0x4ff633
mov edi, dword [ebp - 0x20]
push 0xc0
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4ff7ba
push edi
push ebx
mov ecx, eax
call fcn.0050b600
mov edi, eax
mov dword [ebp - 0x2c], eax
jmp 0x4ff7bf
xor edi, edi
mov dword [ebp - 0x2c], edi
push 0x88
mov byte [ebp - 4], 1
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4ff7ee
push edi
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.00508800
mov esi, eax
jmp 0x4ff7f0
xor esi, esi
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov dword [edi + 4], esi
je 0x4ff835
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov dword [ebp - 0x40], eax
mov eax, dword [edi]
call dword [eax + 4]
mov dword [ebp - 0x44], eax
lea ecx, [esi + 0x10]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004ff9b0
mov eax, dword [edi]
mov ecx, edi
inc dword [ebp - 0x24]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x4ff800
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [eax + ecx*4], edi
mov eax, dword [ebx + 0x20]
mov dword [eax + ecx*4], esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax]
push dword [ebp - 0x58]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], edi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov esi, dword [ebp - 0x10]
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x48]
test edi, edi
jne 0x4ff5a0
mov esi, dword [ebp - 0x10]
lea ecx, [ebx + 0x3c]
push esi
call fcn.004ff250
push esi
lea ecx, [ebx + 0x48]
call fcn.004ff250
push esi
lea ecx, [ebx + 0x54]
call fcn.004ff1d0
push esi
lea ecx, [ebx + 0x30]
call fcn.004ff250
shl esi, 5
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [ebx + 0x5c], eax
xor ecx, ecx
test esi, esi
je 0x4ff8d0
mov eax, dword [ebx + 0x5c]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, esi
jb 0x4ff8c1
mov esi, dword [ebx + 0x1a8]
mov ecx, ebx
mov eax, dword [ebx]
push 0x10000
mov edi, dword [esi]
call dword [eax + 0x34]
push eax
mov ecx, esi
call dword [edi + 8]
mov dword [ebx + 0x1ac], eax
mov ecx, eax
push 0
mov edx, dword [eax]
call dword [edx]
mov eax, dword [ebx + 0x24]
mov eax, dword [eax]
cmp dword [eax + 0xbc], 0
jne 0x4ff920
xor edx, edx
lea eax, [edx + 1]
cdq
idiv dword [ebx + 0x2c]
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + edx*4]
cmp dword [eax + 0xbc], 0
je 0x4ff908
jmp 0x4ff922
xor edx, edx
push 0
push SysReAllocString
push 0
push 0
mov dword [ebx + 0x178], edx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [ebx + 0x17c], eax
test eax, eax
je 0x4ff96d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x4c]
push dword [ebx + 0x174]
mov ecx, ebx
push 4
push 1
call fcn.005012e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4ff97f
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x6c]
call fcn.004f7bb0
push 0x563cc8
lea eax, [ebp - 0x6c]
push eax
call sub.msvcrt.dll__CxxThrowException
int3