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

Disassembly:
mov eax, 0x1022451e
call fcn.10210210
sub esp, 0x18
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
push ebx
xor ebx, ebx
push ebp
mov eax, dword [ecx]
test eax, eax
je 0x1016df99
mov eax, dword [eax - 4]
jmp 0x1016df9b
mov eax, ebx
lea ebp, [eax - 1]
mov dword [esp + 8], ebp
test ebp, ebp
js 0x1016e1f2
push esi
push edi
mov eax, dword [ecx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push dword [eax + ebp*4]
call fcn.10156fec
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x1c]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xcc]
mov ecx, esi
test al, al
jne 0x1016e1d7
call fcn.1016d871
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.10156fec
mov byte [esp + 0x30], 1
mov edi, dword [esp + 0x20]
test edi, edi
je 0x1016e1d5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp eax, 3
jne 0x1016e1ca
push dword [edi + 0x18]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.10156fec
mov byte [esp + 0x30], 2
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1016e1c8
cmp dword [esi + 0x1c], 0
je 0x1016e0a6
mov ecx, esi
call fcn.10167820
test al, al
jne 0x1016e0a0
push 0x14
call fcn.101dbffe
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 3
test eax, eax
je 0x1016e062
push dword [esi + 0x1c]
mov ecx, eax
push edi
call fcn.1016d19b
jmp 0x1016e064
xor eax, eax
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
and dword [esp + 0x14], 0
push eax
call fcn.1016f3af
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x34], 4
lea ecx, [ecx + 0x3c]
call fcn.1016f776
mov byte [esp + 0x30], 2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1016e0a0
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x1c], 0
jne 0x1016e116
mov ebp, dword [esi + 8]
cmp ebp, 0x28
jne 0x1016e0c1
cmp dword [ebx + 8], 0x1c
je 0x1016e0d5
cmp dword [ebx + 8], 0x1d
je 0x1016e0d5
push 0x1a
pop eax
mov ebp, eax
jmp 0x1016e0d5
cmp ebp, 0x26
je 0x1016e0cb
cmp ebp, 0x27
jne 0x1016e0d5
cmp dword [ebx + 8], 0x1e
push 0x1a
pop eax
cmovne ebp, eax
push 0x2c
call fcn.101dbffe
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 5
test eax, eax
je 0x1016e0f9
push ebp
push dword [edi + 0x1c]
mov ecx, eax
push ebx
push esi
call fcn.1016d40a
jmp 0x1016e0fb
xor eax, eax
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
and dword [esp + 0x14], 0
push eax
call fcn.1016f3af
mov byte [esp + 0x30], 6
jmp 0x1016e195
mov ecx, esi
call fcn.10167820
test al, al
je 0x1016e1bc
mov ebp, dword [esi + 8]
cmp ebp, 0x28
jne 0x1016e140
cmp dword [ebx + 8], 0x1c
je 0x1016e154
cmp dword [ebx + 8], 0x1d
je 0x1016e154
push 0x1a
pop eax
mov ebp, eax
jmp 0x1016e154
cmp ebp, 0x26
je 0x1016e14a
cmp ebp, 0x27
jne 0x1016e154
cmp dword [ebx + 8], 0x1e
push 0x1a
pop eax
cmovne ebp, eax
push 0x2c
call fcn.101dbffe
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 7
test eax, eax
je 0x1016e17a
mov ecx, dword [edi + 0x1c]
push ebp
inc ecx
push ecx
push ebx
push esi
mov ecx, eax
call fcn.1016d40a
jmp 0x1016e17c
xor eax, eax
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
and dword [esp + 0x14], 0
push eax
call fcn.1016f3af
mov byte [esp + 0x30], 8
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ecx, [ecx + 0x3c]
call fcn.1016f776
mov byte [esp + 0x30], 2
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1016e1b8
mov eax, dword [ecx]
call dword [eax + 4]
mov ebp, dword [esp + 0x10]
mov byte [esp + 0x30], 1
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
xor ebx, ebx
mov byte [esp + 0x30], bl
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov ecx, esi
or dword [esp + 0x30], 0xffffffff
mov eax, dword [esi]
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
dec ebp
mov dword [esp + 0x10], ebp
jns 0x1016dfac
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8