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

Disassembly:
push 0xffffffffffffffff
push 0x1017cd58
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, dword [esp + 0x94]
mov ebp, ecx
lea eax, [ebp + 0x198]
lea edi, [eax + 4]
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x60], 0x10199608
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], edi
call dword [0x10199070]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x64]
mov dword [esp + 0x70], eax
xor ebx, ebx
lea esi, [ebp + 0x1b4]
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x78], ecx
push eax
mov ecx, esi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x44], esi
call fcn.100053b0
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], ecx
je 0x1000d8a9
cmp eax, esi
je 0x1000d8ae
call fcn.10158fad
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x38], edx
je 0x1000dcd7
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.100087e0
add esp, 8
cmp dword [esp + 0x58], 0x10
jb 0x1000d8e2
mov edx, dword [esp + 0x44]
push edx
call fcn.10158c57
add esp, 4
lea eax, [esp + 0x64]
push eax
lea ecx, [ebp + 0x1c0]
push ecx
mov ecx, ebp
call fcn.100062f0
mov ebx, dword [ebp + 0x1d8]
cmp dword [ebp + 0x1d4], ebx
lea esi, [ebp + 0x1d0]
jbe 0x1000d90e
call fcn.10158fad
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x1000d91b
call fcn.10158fad
lea edx, [esp + 0x64]
push edx
push ebx
push edi
mov dword [esp + 0x3c], edi
call fcn.10001f20
mov edi, dword [esi + 8]
add esp, 0xc
cmp dword [esi + 4], edi
mov ebx, eax
jbe 0x1000d93d
call fcn.10158fad
mov eax, esi
cmp esi, eax
je 0x1000d948
call fcn.10158fad
cmp edi, ebx
jne 0x1000daa1
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.1000bc60
mov ecx, dword [ebp + 0x17c]
mov ebx, dword [ecx]
lea esi, [ebp + 0x178]
mov edx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], edx
test esi, esi
je 0x1000d986
lea eax, [ebp + 0x178]
cmp esi, eax
je 0x1000d98b
call fcn.10158fad
cmp ebx, dword [esp + 0x30]
je 0x1000daa1
test esi, esi
jne 0x1000d99e
call fcn.10158fad
cmp ebx, dword [esi + 4]
jne 0x1000d9a8
call fcn.10158fad
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x54], 2
je 0x1000da87
cmp ebx, dword [esi + 4]
jne 0x1000d9bf
call fcn.10158fad
mov esi, dword [ebx + 0x14]
cmp esi, dword [ebx + 0x18]
lea edi, [ebx + 0x10]
jbe 0x1000d9cf
call fcn.10158fad
mov ebp, edi
mov ecx, dword [esp + 0x14]
cmp ebx, dword [ecx + 4]
jne 0x1000d9df
call fcn.10158fad
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x1000d9ec
call fcn.10158fad
test ebp, ebp
je 0x1000d9f4
cmp ebp, edi
je 0x1000d9f9
call fcn.10158fad
cmp esi, ebx
je 0x1000da87
test ebp, ebp
jne 0x1000da0a
call fcn.10158fad
cmp esi, dword [ebp + 8]
jb 0x1000da14
call fcn.10158fad
xor eax, eax
mov dl, byte [esi + eax + 4]
cmp dl, byte [esp + eax + 0x64]
jne 0x1000da71
add eax, 1
cmp eax, 0x14
jb 0x1000da16
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
jne 0x1000da3a
call fcn.10158fad
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [edi + 8]
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
push eax
push ecx
push esi
push edx
lea eax, [esi + 0x30]
push eax
call fcn.10002080
mov ebx, dword [esp + 0x30]
add esp, 0x18
add dword [edi + 8], 0xffffffd0
jmp 0x1000d9d1
cmp esi, dword [ebp + 8]
jb 0x1000da7b
call fcn.10158fad
mov ebx, dword [esp + 0x18]
add esi, 0x30
jmp 0x1000d9d1
lea ecx, [esp + 0x14]
call fcn.100d7a40
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
jmp 0x1000d978
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.100087e0
add esp, 8
cmp dword [esp + 0x58], 0x10
jb 0x1000dac7
mov eax, dword [esp + 0x44]
push eax
call fcn.10158c57
add esp, 4
lea ecx, [esp + 0x64]
push ecx
lea edx, [ebp + 0x264]
push edx
mov ecx, ebp
call fcn.100062f0
mov ebx, dword [ebp + 0x27c]
cmp dword [ebp + 0x278], ebx
lea esi, [ebp + 0x274]
jbe 0x1000daf3
call fcn.10158fad
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x1000db00
call fcn.10158fad
lea eax, [esp + 0x64]
push eax
push ebx
push edi
mov dword [esp + 0x3c], edi
call fcn.10001f20
mov edi, dword [esi + 8]
add esp, 0xc
cmp dword [esi + 4], edi
mov ebx, eax
jbe 0x1000db22
call fcn.10158fad
cmp esi, esi
je 0x1000db2b
call fcn.10158fad
cmp edi, ebx
jne 0x1000dcbb
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.1000bc60
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x17c]
mov ebx, dword [edx]
add eax, 0x178
mov esi, eax
mov ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], ecx
test esi, esi
je 0x1000db6c
cmp esi, eax
je 0x1000db71
call fcn.10158fad
cmp ebx, dword [esp + 0x30]
je 0x1000dcbb
test esi, esi
jne 0x1000db84
call fcn.10158fad
cmp ebx, dword [esi + 4]
jne 0x1000db8e
call fcn.10158fad
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x54], 2
jne 0x1000dca1
cmp ebx, dword [esi + 4]
jne 0x1000dba5
call fcn.10158fad
mov esi, dword [ebx + 0x14]
cmp esi, dword [ebx + 0x18]
lea edi, [ebx + 0x10]
jbe 0x1000dbb5
call fcn.10158fad
mov ebp, edi
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax + 4]
jne 0x1000dbc5
call fcn.10158fad
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x1000dbd2
call fcn.10158fad
test ebp, ebp
je 0x1000dbda
cmp ebp, edi
je 0x1000dbdf
call fcn.10158fad
cmp esi, ebx
je 0x1000dca1
test ebp, ebp
jne 0x1000dbf0
call fcn.10158fad
cmp esi, dword [ebp + 8]
jb 0x1000dbfa
call fcn.10158fad
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.100087e0
add esp, 8
cmp dword [esp + 0x58], 0x10
jb 0x1000dc20
mov eax, dword [esp + 0x44]
push eax
call fcn.10158c57
add esp, 4
cmp esi, dword [ebp + 8]
jb 0x1000dc2a
call fcn.10158fad
xor eax, eax
lea esp, [esp]
mov cl, byte [esi + eax + 4]
cmp cl, byte [esp + eax + 0x64]
jne 0x1000dc8b
add eax, 1
cmp eax, 0x14
jb 0x1000dc30
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 4]
jne 0x1000dc54
call fcn.10158fad
mov eax, dword [esp + 0x20]
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [edi + 8]
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x28]
push edx
push eax
push esi
push ecx
lea edx, [esi + 0x30]
push edx
call fcn.10002080
mov ebx, dword [esp + 0x30]
add esp, 0x18
add dword [edi + 8], 0xffffffd0
jmp 0x1000dbb7
cmp esi, dword [ebp + 8]
jb 0x1000dc95
call fcn.10158fad
mov ebx, dword [esp + 0x18]
add esi, 0x30
jmp 0x1000dbb7
lea ecx, [esp + 0x14]
call fcn.100d7a40
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
jmp 0x1000db64
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x34]
push edx
call fcn.10007330
mov edi, dword [esp + 0x20]
push edi
call dword [0x10199074]
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101593ee
add esp, 0x7c
ret 8
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x1001896c
jmp 0x1000d7e0
mov eax, 2
ret 8