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

Disassembly:
push 0xffffffffffffffff
push 0x1005b8cb
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10140664]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x48], ebx
jne 0x1000b39d
cmp byte [esi + 0x58], bl
je 0x1000b3a0
push 0x9c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x70], ebx
je 0x1000b390
mov edx, dword [esi + 0x14]
mov ecx, dword [0x1013f430]
sub edx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
sub edi, dword [esi + 8]
push ecx
push edx
mov edx, dword [esi + 0x28]
push edi
push edx
mov ecx, eax
call fcn.1000aba0
jmp 0x1000b392
xor eax, eax
mov dword [esp + 0x70], 0xffffffff
mov dword [esi + 0x48], eax
cmp byte [esi + 0x58], bl
mov edi, dword [esp + 0x78]
je 0x1000b3af
mov eax, dword [esi + 0x48]
mov dword [esp + 0x78], eax
jmp 0x1000b3c3
push edi
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
mov dword [esp + 0x80], edi
call fcn.1000a150
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x58]
mov edx, dword [esi + 0x14]
mov ebp, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sub ebp, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
neg ecx
add dword [esp + 0x20], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ebx, dword [edi + 0x50]
add ebx, ecx
mov ecx, dword [esp + 0x1c]
neg eax
add dword [esp + 0x24], eax
add ecx, eax
cmp byte [esi + 0x58], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
je 0x1000b460
cmp dword [esi + 0x28], esi
je 0x1000b460
mov eax, ecx
neg eax
mov dword [esp + 0x14], eax
mov eax, ebx
neg eax
add dword [esp + 0x20], eax
add ebx, eax
mov eax, dword [esp + 0x14]
add ecx, eax
add dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edx
call fcn.10008210
mov ebx, dword [esp + 0x78]
mov edx, ecx
push edx
mov ecx, ebx
call fcn.10008420
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1000b4c1
cmp byte [esi + 0x32], 0
je 0x1000b4ae
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esi + 0x50]
push edx
lea edx, [esp + 0x2c]
push edx
push ebx
call eax
jmp 0x1000b4de
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esi + 0x50]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
call edx
jmp 0x1000b4de
cmp byte [esi + 0x32], 0
jne 0x1000b4de
mov eax, dword [esi + 0x4c]
push eax
mov ecx, ebx
call fcn.10008730
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.100085d0
mov eax, dword [esi + 0x3c]
test eax, eax
mov dword [esp + 0x78], eax
je 0x1000b542
jmp 0x1000b4f4
mov eax, dword [esp + 0x78]
mov ebp, dword [eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], edx
call fcn.10008210
push ecx
mov ecx, ebx
call fcn.10008420
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
push ebx
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 0x78], eax
jne 0x1000b4f0
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.10008420
cmp byte [esi + 0x58], 0
je 0x1000b587
xor ecx, ecx
push ecx
mov ecx, dword [esi + 8]
xor eax, eax
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x10]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x90], esp
push edi
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.10008b80
jmp 0x1000b594
lea eax, [esp + 0x58]
push eax
push edi
mov ecx, esi
call fcn.1000a190
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
push 0
mov ecx, esi
call eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4