Function at 0x10044dc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100aa376
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xcc]
lea eax, [ebp + 0x2c]
xor ebx, ebx
cmp eax, ebx
mov edi, ecx
mov dword [esp + 0x20], eax
je 0x10044e1e
mov eax, dword [eax]
cmp eax, ebx
je 0x10044e1e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x88
mov dword [esp + 0xc8], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x10044e77
mov dword [eax], ebx
mov dword [eax + 0x18], ebx
mov ecx, 0xf
mov dword [eax + 0x1c], ecx
mov byte [eax + 8], bl
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], ebx
mov byte [eax + 0x24], bl
mov dword [eax + 0x54], ecx
mov dword [eax + 0x50], ebx
mov byte [eax + 0x40], bl
mov dword [eax + 0x70], ecx
mov dword [eax + 0x6c], ebx
mov byte [eax + 0x5c], bl
mov dword [eax + 0x78], ebx
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x80], ebx
mov dword [eax + 0x84], ebx
mov esi, eax
jmp 0x10044e79
xor esi, esi
push 0xffffffffffffffff
lea eax, [edi + 4]
push ebx
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x28], esi
call fcn.100021d0
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x20]
lea ecx, [esi + 0x20]
push eax
call fcn.100021d0
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push edx
call fcn.100021d0
mov eax, dword [edi]
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0x58]
lea ecx, [esi + 0x58]
push edx
mov dword [esi], eax
call fcn.100021d0
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
mov ecx, dword [edi + 0x7c]
mov dword [esi + 0x7c], ecx
mov edx, dword [edi + 0x80]
mov dword [esi + 0x80], edx
mov eax, dword [edi + 0x84]
xor ecx, ecx
mov dword [esi + 0x84], eax
add ebp, 0x18
mov edx, dword [ebp + 4]
cmp edx, ebx
mov dword [esp + 0x18], ecx
je 0x10045029
mov eax, dword [ebp + 8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x10045025
cmp edx, ebx
je 0x10044f15
mov eax, dword [ebp + 8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x10044f1f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 4]
mov edx, dword [edx + ecx*4]
cmp edx, ebx
mov dword [esp + 0x24], edx
je 0x10044f6c
mov ecx, 0x10
cmp dword [edi + 0x1c], ecx
jb 0x10044f3c
mov eax, dword [edi + 8]
jmp 0x10044f3f
lea eax, [edi + 8]
cmp dword [edx + 0x1c], ecx
jb 0x10044f49
mov ecx, dword [edx + 8]
jmp 0x10044f4c
lea ecx, [edx + 8]
cmp ecx, ebx
jne 0x10044f57
cmp eax, ebx
sete al
jmp 0x10044f64
cmp eax, ebx
je 0x10044f68
call fcn.100823a0
mov edx, dword [esp + 0x24]
cmp al, bl
jne 0x10044f74
mov ecx, dword [esp + 0x18]
add ecx, 1
jmp 0x10044ee6
mov eax, 0xf
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
push edi
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 1
call fcn.100450c0
mov edi, dword [esp + 0x24]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x54]
push eax
lea ecx, [edi + 0x20]
call fcn.100021d0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [edi + 0x3c]
call fcn.100021d0
call fcn.10044a70
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea esi, [esp + 0x2c]
call fcn.10044a70
jmp 0x10045072
cmp edx, ebx
jne 0x1004502d
xor ecx, ecx
jmp 0x10045035
mov ecx, dword [ebp + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebx
je 0x10045052
mov eax, dword [ebp + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x10045052
mov eax, dword [ebp + 8]
mov dword [eax], esi
add eax, 4
mov dword [ebp + 8], eax
jmp 0x10045072
mov esi, dword [ebp + 8]
cmp edx, esi
jbe 0x1004505f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebp
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, ebp
call fcn.10060a90
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10045087
mov eax, dword [eax]
cmp eax, ebx
je 0x10045087
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.100a4489
add esp, 0xb4
ret 4