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

Disassembly:
push 0xffffffffffffffff
push 0x1011cc04
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1016b2e8]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1016b2e8]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
xor ebp, ebp
cmp esi, ebp
je 0x100192a5
cmp dword [edi], 0x10
jb 0x100192a5
mov byte [esp + 0x15], 1
call fcn.10001530
push 0x10
add eax, 8
push esi
add eax, 0x42
push 0x10
push eax
call fcn.100618da
mov edi, dword [edi]
add esp, 0x10
add esi, 0x10
push esi
lea eax, [esp + 0x1c]
sub edi, 0x10
push eax
call fcn.100189a0
mov dword [esp + 0x110], ebp
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
sub esi, eax
mov dword [esp + 0x3c], ebp
cmp esi, 2
jbe 0x10018f62
lea esi, [ebp + 2]
jmp 0x10018f66
cmp esi, ebp
je 0x10018f93
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov edi, eax
cmp eax, ecx
jb 0x10018f79
call fcn.10061d20
mov edx, dword [esp + 0x24]
push esi
add edx, edi
push edx
lea eax, [esp + 0x44]
push esi
push eax
call fcn.100618da
add esp, 0x10
add dword [esp + 0x38], esi
movzx esi, word [esp + 0x3c]
call fcn.10001530
add eax, 8
lea ecx, [esp + 0x40]
mov word [eax + 0x40], si
push ecx
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
call fcn.100033d0
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x5c], 0
mov byte [esp + 0x110], 2
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
lea esp, [esp]
sub esi, eax
cmp esi, 1
jbe 0x10018fee
mov esi, 1
jmp 0x10018ff6
cmp esi, ebp
je 0x10019205
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
mov edi, eax
cmp eax, edx
jb 0x10019009
call fcn.10061d20
mov eax, dword [esp + 0x24]
push esi
add eax, edi
push eax
lea ecx, [esp + 0x1e]
push esi
push ecx
call fcn.100618da
movzx eax, byte [esp + 0x26]
add dword [esp + 0x48], esi
add esp, 0x10
push eax
lea eax, [esp + 0x44]
call fcn.10003840
mov edi, dword [esp + 0x50]
sub edi, dword [esp + 0x4c]
je 0x10019205
cmp edi, ebp
ja 0x10019049
call fcn.10061d20
mov ebx, dword [esp + 0x4c]
cmp ebx, ebp
je 0x10019205
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
sub esi, eax
cmp esi, edi
jbe 0x10019065
mov esi, edi
cmp esi, ebp
je 0x10019205
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
mov edi, eax
cmp eax, edx
jb 0x10019080
call fcn.10061d20
mov eax, dword [esp + 0x24]
push esi
add eax, edi
push eax
push esi
push ebx
call fcn.100618da
add dword [esp + 0x48], esi
add esp, 0x10
lea edi, [esp + 0x58]
call fcn.10009ee0
mov ecx, edi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.100094f0
test eax, eax
je 0x10019205
lea eax, [esp + 0xbc]
push eax
call fcn.100131a0
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0x114], 3
call fcn.100131a0
mov edx, edi
push edx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x118], 4
call fcn.100192d0
test al, al
je 0x1001920c
xor bl, bl
cmp byte [esp + 0x16], bl
jbe 0x1001913f
nop
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x4c]
movzx esi, bl
cmp esi, ecx
jb 0x10019114
call fcn.10061d20
mov eax, dword [esp + 0x4c]
movzx ecx, byte [eax + esi]
lea edx, [esp + 0x74]
push edx
push ecx
call fcn.100015d0
add eax, 4
push eax
lea ecx, [esp + 0xc8]
call fcn.1001ad50
inc bl
cmp bl, byte [esp + 0x16]
jb 0x10019100
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jb 0x1001915d
mov edx, dword [esp + 0x94]
push edx
call fcn.100618cf
add esp, 4
mov edi, 0xf
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebp
mov byte [esp + 0x94], 0
cmp dword [esp + 0x8c], esi
jb 0x1001918e
mov eax, dword [esp + 0x78]
push eax
call fcn.100618cf
add esp, 4
mov byte [esp + 0x110], 2
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebp
mov byte [esp + 0x78], 0
cmp dword [esp + 0xf0], esi
jb 0x100191c2
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.100618cf
add esp, 4
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebp
mov byte [esp + 0xdc], 0
cmp dword [esp + 0xd4], esi
jb 0x100191f1
mov edx, dword [esp + 0xc0]
push edx
call fcn.100618cf
add esp, 4
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, esi
sub ecx, eax
jne 0x10018fe0
jmp 0x10019226
mov byte [esp + 0x15], 0
jmp 0x10019226
lea esi, [esp + 0x74]
mov byte [esp + 0x15], 0
call fcn.1001ce90
lea esi, [esp + 0xbc]
call fcn.1001ce90
cmp dword [esp + 0x70], 0x10
jb 0x1001923a
mov edx, dword [esp + 0x5c]
push edx
call fcn.100618cf
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x5c], 0
cmp eax, ebp
je 0x1001925c
push eax
call fcn.100618cf
add esp, 4
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
call fcn.100618cf
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, ebp
je 0x10019286
push eax
call fcn.100618cf
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.100618cf
mov al, byte [esp + 0x19]
add esp, 4
jmp 0x100192a7
xor al, al
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.10061731
add esp, 0x100
ret