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

Disassembly:
push 0xffffffffffffffff
push 0x10148d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
call fcn.100a7730
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x103271bc]
mov dword [esp + 0x58], edi
call fcn.1005fbe0
push 0x10000
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x5c], 1
call fcn.100a3d80
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x18]
sete bl
mov byte [esp + 0x50], 0
call fcn.1009dbf0
test bl, bl
je 0x1008b2fb
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x5c]
push edi
push eax
mov ecx, ebp
call fcn.1009cb80
mov ebx, dword [esp + 0x58]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
push 1
push ebp
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
call fcn.100aa310
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x58], 2
call edx
mov edi, eax
test edi, edi
je 0x1008b2d1
push str.constructor
lea ecx, [esp + 0x5c]
call fcn.1009ee10
mov ecx, dword [ebx + 0x10]
lea eax, [esp + 0x58]
push eax
push edi
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x5c], 3
call fcn.10059b40
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 2
call fcn.1009dbf0
mov dword [esp + 0x14], 0x2000008c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x50], 0
call fcn.100ab290
cmp dword [esp + 0x14], 0
jne 0x1008b53a
xor edi, edi
cmp dword [ebp + 0x10], 5
jne 0x1008b370
mov edi, dword [ebp + 8]
mov dword [esp + 0x5c], edi
jmp 0x1008b374
mov ebx, dword [esp + 0x58]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
mov edx, dword [esi + 4]
mov eax, dword [eax + 0xd0]
push edx
call eax
test eax, eax
mov ebp, dword [esp + 0x5c]
je 0x1008b332
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xd4]
push edi
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 4]
push eax
push ebp
call edx
jmp 0x1008b2ec
cmp dword [ebp + 0x10], edi
je 0x1008b33e
mov ecx, ebp
call fcn.1009a880
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x10]
push eax
push 0x15
call fcn.1005e9c0
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [eax]
cmp dword [eax], edi
je 0x1008b2ec
mov ecx, dword [eax]
cmp dword [ecx + 0x26], edi
je 0x1008b2ec
mov dword [esp + 0x14], 0x2000008c
jmp 0x1008b53a
mov dword [esp + 0x5c], edi
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x2c], edi
je 0x1008b38e
mov eax, dword [edi + 0xc]
test eax, 0xfff00000
jne 0x1008b38e
add eax, 1
mov dword [edi + 0xc], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 4
call fcn.100aa310
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov word [esp + 0x44], bp
mov edx, dword [esi + 8]
cmp dword [edx + 4], ebp
mov byte [esp + 0x50], 6
mov dword [esp + 0x58], ebp
jle 0x1008b4f8
mov ebp, 0x10
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebp]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x30]
push eax
push ebx
call edx
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1008b4f6
cmp dword [esp + 0x10], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + ebp]
je 0x1008b482
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x103271bc]
call fcn.1005fbe0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 0x10000
lea edi, [esp + 0x28]
push edi
lea edi, [esp + 0x30]
push edi
push eax
mov eax, dword [edx + 0x48]
mov byte [esp + 0x60], 7
call eax
lea ecx, [esp + 0x20]
mov edi, eax
mov byte [esp + 0x50], 6
call fcn.1009dbf0
test edi, edi
jne 0x1008b4b2
cmp dword [esp + 0x24], 2
je 0x1008b45c
mov eax, dword [ebx + 0x10]
test dword [eax + 0xd4], 0x100
jne 0x1008b4ad
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
push eax
call edx
mov edi, eax
test edi, edi
jne 0x1008b4b2
mov edi, dword [esp + 0x5c]
jmp 0x1008b491
push 0
lea ecx, [esp + 0x34]
push ecx
push eax
mov ecx, edi
call fcn.10081ab0
mov eax, dword [esp + 0x58]
mov edx, dword [esi + 8]
add eax, 1
add ebp, 4
cmp eax, dword [edx + 4]
mov dword [esp + 0x58], eax
jl 0x1008b3d1
jmp 0x1008b4f6
mov edi, 0x2e
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 8]
mov eax, dword [eax + ecx*4 + 0x10]
mov ecx, dword [0x103271bc]
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.1005fbe0
mov ebx, dword [ebx + 0x10]
push eax
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
mov byte [esp + 0x5c], 8
call fcn.10059b40
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 6
call fcn.1009dbf0
mov edi, dword [esp + 0x5c]
xor ebp, ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 5
call fcn.1009b200
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 4
call fcn.100ab290
cmp edi, ebp
mov byte [esp + 0x50], 0
je 0x1008b53a
mov eax, dword [edi + 0xc]
test eax, 0xfff00000
jne 0x1008b53a
add eax, 0xffffffff
cmp eax, ebp
mov dword [edi + 0xc], eax
jne 0x1008b53a
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
call fcn.100a7d40
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8