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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189176
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x102d5908]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
or dword [esi + 8], 1
mov ecx, dword [esi + 0x90]
cmp ecx, 0x102d8d28
jne 0x1008b9af
push eax
lea ecx, [esi + 0x90]
call fcn.10053290
jmp 0x1008b9bd
cmp ecx, eax
je 0x1008b9bd
push 0xffffffffffffffff
push 0
push eax
call fcn.10050470
cmp dword [ebx + 0x18], 0
mov dword [ebp - 0x14], 0
jle 0x1008ba40
mov dword [ebp - 0x10], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1008b9f2
mov ecx, dword [esi + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1008b9ed
mov edi, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
jmp 0x1008ba20
cmp edx, dword [esi + 0x18]
jne 0x1008b9ff
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x10]
inc eax
push eax
call fcn.100a3600
mov eax, dword [esi + 0x1c]
push 0
inc dword [eax]
push dword [esi + 0x10]
call fcn.1007fb00
mov edx, dword [esi + 0x14]
mov edi, eax
mov ecx, dword [esi + 0x1c]
add esp, 8
mov dword [ecx + edx*4 + 4], edi
inc dword [esi + 0x14]
mov ecx, dword [ebx + 0x1c]
push edi
mov edi, dword [ebp - 0x10]
add ecx, edi
call fcn.1008c170
mov ecx, dword [ebp - 0x14]
add edi, 0x60
inc ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebx + 0x18]
jl 0x1008b9d1
cmp dword [ebx + 0x20], 0
mov dword [ebp - 0x1c], 0
jle 0x1008bb53
lea edi, [esi + 0x60]
mov dword [ebp - 0x14], 0
jmp 0x1008ba60
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1008ba7f
mov eax, dword [edi + 4]
mov ecx, dword [esi]
cmp eax, ecx
jge 0x1008ba7a
mov esi, dword [esi + eax*4 + 4]
inc eax
mov dword [edi + 4], eax
jmp 0x1008baab
cmp ecx, dword [edi + 8]
jne 0x1008ba8b
mov eax, dword [edi + 8]
mov ecx, edi
inc eax
push eax
call fcn.100a3600
mov eax, dword [edi + 0xc]
push 0
inc dword [eax]
push dword [edi]
call fcn.1007fb20
mov edx, dword [edi + 4]
mov esi, eax
mov ecx, dword [edi + 0xc]
add esp, 8
mov dword [ecx + edx*4 + 4], esi
inc dword [edi + 4]
mov eax, dword [ebx + 0x24]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], eax
mov edx, dword [eax]
or dword [esi + 8], 1
mov ecx, dword [esi + 0x10]
cmp ecx, 0x102d8d28
jne 0x1008bad3
push edx
lea ecx, [esi + 0x10]
call fcn.10053290
jmp 0x1008bae1
cmp ecx, edx
je 0x1008bae4
push 0xffffffffffffffff
push 0
push edx
call fcn.10050470
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x18]
call fcn.100cbbd0
cmp esi, eax
je 0x1008bb3f
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
or dword [esi + 8], 2
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x10], eax
jne 0x1008bb36
push 0x2c
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1008bb27
mov ecx, eax
call fcn.100badd0
jmp 0x1008bb29
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x14]
push eax
call fcn.100c0180
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], 0x1c
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebx + 0x20]
jl 0x1008ba60
cmp dword [ebx + 0x28], 0
mov dword [ebp - 0x1c], 0
jle 0x1008bbdf
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
lea ebx, [ebx]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1008bb91
mov ecx, dword [esi + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1008bb8c
mov edi, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x24], eax
jmp 0x1008bbbf
cmp edx, dword [esi + 0x28]
jne 0x1008bb9e
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x20]
inc eax
push eax
call fcn.100a3600
mov eax, dword [esi + 0x2c]
push 0
inc dword [eax]
push dword [esi + 0x20]
call fcn.1007fab0
mov edx, dword [esi + 0x24]
mov edi, eax
mov ecx, dword [esi + 0x2c]
add esp, 8
mov dword [ecx + edx*4 + 4], edi
inc dword [esi + 0x24]
mov ecx, dword [ebx + 0x2c]
push edi
mov edi, dword [ebp - 0x18]
add ecx, edi
call fcn.1008b960
mov ecx, dword [ebp - 0x1c]
add edi, 0x58
inc ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x28]
jl 0x1008bb70
cmp dword [ebx + 0x30], 0
mov dword [ebp - 0x1c], 0
jle 0x1008bc65
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1008bc17
mov ecx, dword [esi + 0x34]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1008bc12
mov edi, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x34], eax
jmp 0x1008bc45
cmp edx, dword [esi + 0x38]
jne 0x1008bc24
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
inc eax
push eax
call fcn.100a3600
mov eax, dword [esi + 0x3c]
push 0
inc dword [eax]
push dword [esi + 0x30]
call fcn.1007fae0
mov edx, dword [esi + 0x34]
mov edi, eax
mov ecx, dword [esi + 0x3c]
add esp, 8
mov dword [ecx + edx*4 + 4], edi
inc dword [esi + 0x34]
mov ecx, dword [ebx + 0x34]
push edi
mov edi, dword [ebp - 0x18]
add ecx, edi
call fcn.1008bf50
mov ecx, dword [ebp - 0x1c]
add edi, 0x20
inc ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x30]
jl 0x1008bbf6
cmp dword [ebx + 0x38], 0
mov dword [ebp - 0x1c], 0
jle 0x1008bce9
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x4c]
test edi, edi
je 0x1008bc94
mov eax, dword [esi + 0x44]
mov ecx, dword [edi]
cmp eax, ecx
jge 0x1008bc8f
mov edi, dword [edi + eax*4 + 4]
inc eax
mov dword [esi + 0x44], eax
jmp 0x1008bcc2
cmp ecx, dword [esi + 0x48]
jne 0x1008bca1
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x40]
inc eax
push eax
call fcn.100a3600
mov eax, dword [esi + 0x4c]
push 0
inc dword [eax]
push dword [esi + 0x40]
call fcn.1007fac0
mov edx, dword [esi + 0x44]
mov edi, eax
mov ecx, dword [esi + 0x4c]
add esp, 8
mov dword [ecx + edx*4 + 4], edi
inc dword [esi + 0x44]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + ecx*8]
or dword [edi + 8], 1
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ecx*8 + 4]
inc ecx
or dword [edi + 8], 2
mov dword [edi + 0x14], eax
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x38]
jl 0x1008bc75
cmp dword [ebx + 0x40], 0
mov dword [ebp - 0x1c], 0
jle 0x1008bd6f
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1008bd21
mov ecx, dword [esi + 0x54]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1008bd1c
mov edi, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x54], eax
jmp 0x1008bd4f
cmp edx, dword [esi + 0x58]
jne 0x1008bd2e
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x50]
inc eax
push eax
call fcn.100a3600
mov eax, dword [esi + 0x5c]
push 0
inc dword [eax]
push dword [esi + 0x50]
call fcn.1007fb00
mov edx, dword [esi + 0x54]
mov edi, eax
mov ecx, dword [esi + 0x5c]
add esp, 8
mov dword [ecx + edx*4 + 4], edi
inc dword [esi + 0x54]
mov ecx, dword [ebx + 0x44]
push edi
mov edi, dword [ebp - 0x18]
add ecx, edi
call fcn.1008c170
mov ecx, dword [ebp - 0x1c]
add edi, 0x60
inc ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x40]
jl 0x1008bd00
cmp dword [ebx + 0x48], 0
mov dword [ebp - 0x1c], 0
jle 0x1008bdf4
mov esi, dword [ebp + 8]
nop
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x1008bd9f
mov eax, dword [esi + 0x74]
mov ecx, dword [edi]
cmp eax, ecx
jge 0x1008bd9a
mov edi, dword [edi + eax*4 + 4]
inc eax
mov dword [esi + 0x74], eax
jmp 0x1008bdcd
cmp ecx, dword [esi + 0x78]
jne 0x1008bdac
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x70]
inc eax
push eax
call fcn.100a3600
mov eax, dword [esi + 0x7c]
push 0
inc dword [eax]
push dword [esi + 0x70]
call fcn.1007fad0
mov edx, dword [esi + 0x74]
mov edi, eax
mov ecx, dword [esi + 0x7c]
add esp, 8
mov dword [ecx + edx*4 + 4], edi
inc dword [esi + 0x74]
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + ecx*8]
or dword [edi + 8], 1
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + ecx*8 + 4]
inc ecx
or dword [edi + 8], 2
mov dword [edi + 0x14], eax
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x48]
jl 0x1008bd80
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0x50], ecx
jle 0x1008bedc
mov edi, dword [ebp + 8]
sub edi, 0xffffff80
jmp 0x1008be10
mov eax, dword [ebx + 0x54]
mov esi, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1008be3b
mov eax, dword [edi + 4]
mov ecx, dword [esi]
cmp eax, ecx
jge 0x1008be36
mov esi, dword [esi + eax*4 + 4]
inc eax
mov dword [edi + 4], eax
jmp 0x1008bebe
cmp ecx, dword [edi + 8]
jne 0x1008be47
mov eax, dword [edi + 8]
mov ecx, edi
inc eax
push eax
call fcn.100a3600
mov eax, dword [edi + 0xc]
push 0x18
inc dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1008be7c
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1008be78
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x1008beb1
xor esi, esi
jmp 0x1008beb1
push 0x102d5d48
mov ecx, eax
call fcn.1007c2d0
mov esi, eax
test esi, esi
je 0x1008bea1
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
jmp 0x1008bea3
xor esi, esi
mov ecx, dword [ebp - 0x18]
push 0x10083340
push esi
call fcn.1007c290
mov edx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov dword [eax + edx*4 + 4], esi
inc dword [edi + 4]
push 0xffffffffffffffff
push 0
push dword [ebp - 0x14]
mov ecx, esi
call fcn.10050470
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x50]
jl 0x1008be10
mov esi, dword [ebx + 0x10]
call fcn.100cbad0
cmp esi, eax
je 0x1008bf37
mov esi, dword [ebx + 0x10]
mov ebx, dword [ebp + 8]
or dword [ebx + 8], 2
cmp dword [ebx + 0x94], 0
jne 0x1008bf2b
push 0x30
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x1008bf1c
mov ecx, eax
call fcn.100bab40
jmp 0x1008bf1e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x94], eax
mov ecx, dword [ebx + 0x94]
push esi
call fcn.100c0120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4