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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1039eaa0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1049b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edi
cmp edi, 5
ja case.0x1018b98d.0
jmp dword [edi*4 + 0x1018bc70]
mov edi, dword [esi + 8]
lea ecx, [eax + 0x78]
mov eax, dword [esi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x1018ba00
mov edi, dword [esi + 8]
lea ecx, [eax + 0x60]
mov eax, dword [esi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x1018ba00
mov edi, dword [esi + 8]
lea ecx, [eax + 0x68]
mov eax, dword [esi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x1018ba00
mov edi, dword [esi + 8]
lea ecx, [eax + 0x70]
mov eax, dword [esi + 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x1018ba00
cmp dword [ebp - 0x14], 5
lea ecx, [eax + 0x58]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
je 0x1018bc47
call fcn.1015a5e0
mov edx, eax
neg edx
mov dword [ebp - 4], 0
mov dword [ebp + 8], edx
lea ecx, [edx + 0x270f]
cmp ecx, 0x270e
ja 0x1018ba33
push ebx
call fcn.10302a50
mov edx, dword [ebp + 8]
add esp, 4
inc edx
add edx, eax
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
cmp byte [esi + 5], 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
je 0x1018ba8f
mov edx, dword [esi + 0x3c]
test edx, edx
jne 0x1018ba54
mov edx, dword [esi + 0x34]
jmp 0x1018ba65
mov ecx, dword [esi + 0x38]
mov eax, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov edx, dword [eax + edx]
add edx, ecx
add edx, dword [esi + 0x34]
push dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
lea ecx, [ebp - 0x20]
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 0x20]
push ecx
push dword [esi + 0x1c]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x14]
add ecx, edx
push ebx
call eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 8], edx
cmp byte [esi], 0
je 0x1018bab2
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x1018baa6
cmp eax, 3
je 0x1018baa6
cmp eax, 2
jne 0x1018bab2
mov dword [ebp - 4], 1
jmp 0x1018bc35
cmp byte [esi + 1], 0
jne 0x1018bc2e
cmp byte [esi + 2], 0
jne 0x1018bc2e
cmp byte [esi + 3], 0
jne 0x1018bc2e
cmp byte [esi + 4], 0
jne 0x1018bc2e
cmp byte [esi + 6], 0
je 0x1018bb21
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1018baee
mov edi, 0x10459698
jmp 0x1018baf6
cmp dword [edi + 0x14], 0xf
jbe 0x1018baf6
mov edi, dword [edi]
push eax
push edi
push ebx
call fcn.10302fb0
add esp, 0xc
push 0
push 0xffffffffffffffff
push ebx
call fcn.10303890
add esp, 0xc
push 0
push dword [esi + 0x10]
push ebx
call fcn.10302e90
add esp, 0xc
jmp 0x1018bc18
cmp byte [esi + 7], 0
mov dword [ebp + 8], edx
je 0x1018bbc1
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1018bb42
mov edi, 0x10459698
jmp 0x1018bb4a
cmp dword [edi + 0x14], 0xf
jbe 0x1018bb4a
mov edi, dword [edi]
push eax
push edi
push ebx
call fcn.10302fb0
add esp, 0xc
push 0
push 0xffffffffffffffff
push ebx
call fcn.10303890
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 3
mov eax, dword [edi + 4]
test eax, eax
jne 0x1018bb88
push ebx
call fcn.10303000
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x1018bc18
push dword [edi]
push 0xffffd8f0
push eax
call fcn.103031e0
add esp, 0xc
push 0xffffffffffffffff
push dword [edi + 4]
call fcn.103039d0
mov eax, dword [edi + 4]
add esp, 8
cmp ebx, eax
je 0x1018bbb8
push 1
push ebx
push eax
call fcn.10303a30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
jmp 0x1018bc18
mov eax, dword [esi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x1018bbd5
mov edi, 0x10459698
jmp 0x1018bbdd
cmp dword [edi + 0x14], 0xf
jbe 0x1018bbdd
mov edi, dword [edi]
push eax
push edi
push ebx
call fcn.10302fb0
add esp, 0xc
push 0
push 0xffffffffffffffff
push ebx
call fcn.10303890
add esp, 0xc
push ebx
call fcn.10303000
mov eax, dword [ebp - 0x10]
add esp, 4
push dword [eax + 8]
push ebx
call fcn.10302f80
push 2
push dword [ebp + 0xc]
push ebx
call fcn.10302e90
add esp, 0x14
push dword [ebp + 8]
push ebx
call fcn.10303240
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.10167660
jmp 0x1018bc47
mov dword [ebp - 4], 2
push 0xfffffffffffffffe
push ecx
call fcn.10303720
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 6
jl 0x1018b988
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8