Function at 0x48e8d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5cd9
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4d5104]
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.00487840
mov dword [ebx + 0x1a8], eax
call fcn.00489600
mov dword [ebx + 0x174], eax
call fcn.00489590
mov dword [ebx + 0x2c], eax
call fcn.00486870
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 0x48e990
push 0x48c950
push 0x48c0f0
push esi
lea edi, [eax + 4]
mov dword [eax], esi
push 0x10
push edi
call fcn.004834b0
jmp 0x48e992
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.00489200
xor edx, edx
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
cmp dword [ebx + 0x28], edx
jle 0x48eb48
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 0x48eab1
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 0x48ea84
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 0x48ea70
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 0x48eb30
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 0x48eb05
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 0x48eaf1
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 0x48ea27
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 0x48ee43
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 0x48ed62
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 0x48ec6b
nop
cmp dword [eax + 4], esi
je 0x48ecab
mov eax, dword [eax]
test eax, eax
jne 0x48ec60
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 0x48ec8f
mov eax, dword [ebp - 0x20]
mov dword [edx], 0
mov dword [edx + 4], esi
mov dword [edx + 8], eax
jmp 0x48ec91
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 0x48ecdb
lea ebx, [ebx]
cmp dword [eax + 4], esi
je 0x48ed1b
mov eax, dword [eax]
test eax, eax
jne 0x48ecd0
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 0x48ecff
mov eax, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
jmp 0x48ed01
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 0x48ec03
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 0x48ed8a
push edi
push ebx
mov ecx, eax
call fcn.0049ab90
mov edi, eax
mov dword [ebp - 0x2c], eax
jmp 0x48ed8f
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 0x48edbe
push edi
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.00497d90
mov esi, eax
jmp 0x48edc0
xor esi, esi
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov dword [edi + 4], esi
je 0x48ee05
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.0048ef80
mov eax, dword [edi]
mov ecx, edi
inc dword [ebp - 0x24]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x48edd0
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 0x48eb70
mov esi, dword [ebp - 0x10]
lea ecx, [ebx + 0x3c]
push esi
call fcn.0048e810
push esi
lea ecx, [ebx + 0x48]
call fcn.0048e810
push esi
lea ecx, [ebx + 0x54]
call fcn.0048e790
push esi
lea ecx, [ebx + 0x30]
call fcn.0048e810
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 0x48eea0
mov eax, dword [ebx + 0x5c]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, esi
jb 0x48ee91
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 0x48eef0
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 0x48eed8
jmp 0x48eef2
xor edx, edx
push 0
push closesocket
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 0x48ef3d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x4c]
push dword [ebx + 0x174]
mov ecx, ebx
push 4
push 1
call fcn.004908b0
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 0x48ef4f
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x6c]
call fcn.00487140
push 0x4d1330
lea eax, [ebp - 0x6c]
push eax
call sub.msvcrt.dll__CxxThrowException
int3