Function at 0x101d3910
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ff559
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x102519c8]
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.101cc880
mov dword [ebx + 0x1a8], eax
call fcn.101ce640
mov dword [ebx + 0x174], eax
call fcn.101ce5d0
mov dword [ebx + 0x2c], eax
call fcn.101cb8e0
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 0x101d39d0
push 0x101d1990
push 0x101d1130
push esi
lea edi, [eax + 4]
mov dword [eax], esi
push 0x10
push edi
call fcn.101fa570
jmp 0x101d39d2
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.101ce240
xor edx, edx
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
cmp dword [ebx + 0x28], edx
jle 0x101d3b88
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 0x101d3af1
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 0x101d3ac4
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 0x101d3ab0
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 0x101d3b70
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 0x101d3b45
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 0x101d3b31
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 0x101d3a67
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 0x101d3e83
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 0x101d3da2
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 0x101d3cab
nop
cmp dword [eax + 4], esi
je 0x101d3ceb
mov eax, dword [eax]
test eax, eax
jne 0x101d3ca0
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 0x101d3ccf
mov eax, dword [ebp - 0x20]
mov dword [edx], 0
mov dword [edx + 4], esi
mov dword [edx + 8], eax
jmp 0x101d3cd1
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 0x101d3d1b
lea ebx, [ebx]
cmp dword [eax + 4], esi
je 0x101d3d5b
mov eax, dword [eax]
test eax, eax
jne 0x101d3d10
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 0x101d3d3f
mov eax, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
jmp 0x101d3d41
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 0x101d3c43
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 0x101d3dca
push edi
push ebx
mov ecx, eax
call fcn.101dfc00
mov edi, eax
mov dword [ebp - 0x2c], eax
jmp 0x101d3dcf
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 0x101d3dfe
push edi
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.101dce00
mov esi, eax
jmp 0x101d3e00
xor esi, esi
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov dword [edi + 4], esi
je 0x101d3e45
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.101d3fc0
mov eax, dword [edi]
mov ecx, edi
inc dword [ebp - 0x24]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x101d3e10
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 0x101d3bb0
mov esi, dword [ebp - 0x10]
lea ecx, [ebx + 0x3c]
push esi
call fcn.101d3850
push esi
lea ecx, [ebx + 0x48]
call fcn.101d3850
push esi
lea ecx, [ebx + 0x54]
call fcn.101d37d0
push esi
lea ecx, [ebx + 0x30]
call fcn.101d3850
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 0x101d3ee0
mov eax, dword [ebx + 0x5c]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, esi
jb 0x101d3ed1
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 0x101d3f30
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 0x101d3f18
jmp 0x101d3f32
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 0x101d3f7d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x4c]
push dword [ebx + 0x174]
mov ecx, ebx
push 4
push 1
call fcn.101d58f0
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 0x101d3f8f
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x6c]
call fcn.101cc190
push 0x10237728
lea eax, [ebp - 0x6c]
push eax
call sub.msvcrt.dll__CxxThrowException
int3