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

Disassembly:
mov eax, 0x102240e6
call fcn.10210210
sub esp, 0x4c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x64], 2
lea ecx, [esp + 0x48]
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.1014ca12
push ecx
push ecx
mov esi, esp
mov byte [esp + 0x6c], 3
mov ecx, esi
and dword [esi], 0
push dword [esp + 0x78]
call fcn.10156fec
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x50]
mov dword [esi + 4], eax
call fcn.1014ce84
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
call fcn.1014d00a
mov esi, eax
mov byte [esp + 0x64], 4
lea ecx, [esp + 0x30]
push dword [esi]
call fcn.10156fec
mov esi, dword [esi + 4]
mov byte [esp + 0x64], 3
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], esi
test ecx, ecx
je 0x1016b968
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.1014cf58
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 5
call fcn.1014d3dd
mov ebp, dword [esp + 0x30]
test al, al
je 0x1016bb81
lea ecx, [esp + 0x28]
call fcn.1014d3dd
test al, al
je 0x1016bb81
test ebp, ebp
je 0x1016b9b3
mov eax, dword [ebp]
mov ecx, ebp
push esi
call dword [eax + 0x1f8]
jmp 0x1016b9b5
xor eax, eax
test eax, eax
jne 0x1016bb81
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1016b9d7
mov eax, dword [ecx]
push dword [esp + 0x2c]
call dword [eax + 0x1f8]
mov ecx, dword [esp + 0x28]
jmp 0x1016b9d9
xor eax, eax
test eax, eax
je 0x1016bb81
test ecx, ecx
je 0x1016b9f7
mov eax, dword [ecx]
push dword [esp + 0x2c]
call dword [eax + 0x1f8]
mov dword [esp + 0x10], eax
jmp 0x1016b9fc
and dword [esp + 0x10], 0
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 6
call fcn.1014d43e
test al, al
je 0x1016bae3
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x4c]
call fcn.1014d00a
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 7
call fcn.1014d3dd
test al, al
je 0x1016bacd
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1016ba5e
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
call dword [eax + 0x1f8]
jmp 0x1016ba60
xor eax, eax
cmp eax, edi
jne 0x1016babe
push esi
lea ecx, [esp + 0x24]
call fcn.10156fec
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x64], 6
test esi, esi
je 0x1016ba8b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
and dword [esp + 0x10], 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
call fcn.1014cf58
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1016baab
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x40], 0
lea ecx, [esp + 0x4c]
call fcn.1014d43e
test al, al
jne 0x1016ba22
jmp 0x1016badf
mov byte [esp + 0x64], 6
test esi, esi
je 0x1016badf
mov eax, dword [esi]
mov ecx, esi
jmp 0x1016badc
mov byte [esp + 0x64], 6
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1016badf
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x20]
push ecx
push ecx
mov esi, esp
mov dword [esp + 0x18], esp
push ebp
mov ecx, esi
and dword [esi], 0
call fcn.10156fec
mov eax, dword [esp + 0x20]
mov dword [esi + 4], eax
push ecx
push ecx
mov esi, esp
mov byte [esp + 0x74], 8
push edi
mov ecx, esi
and dword [esi], 0
call fcn.10156fec
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x74], 6
mov ecx, dword [ebx]
call fcn.10174e5e
push ecx
mov ecx, ebx
call fcn.1016b1fd
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
push ecx
push ecx
mov esi, esp
mov byte [esp + 0x74], 9
mov dword [esi], ecx
mov ecx, esi
push dword [esp + 0x80]
call fcn.10156fec
mov eax, dword [esp + 0x84]
mov dword [esi + 4], eax
mov byte [esp + 0x74], 6
mov ecx, dword [ebx]
call fcn.10174e5e
mov byte [esp + 0x64], 5
test edi, edi
je 0x1016bb7a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov bl, 1
jmp 0x1016bd47
lea eax, [esp + 0x40]
mov byte [ebx + 0xd], 1
push eax
lea ecx, [esp + 0x4c]
call fcn.1014d00a
mov esi, eax
mov byte [esp + 0x64], 0xa
lea ecx, [esp + 0x70]
push dword [esi]
call fcn.10156fec
mov eax, dword [esi + 4]
mov byte [esp + 0x64], 5
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x1016bbbe
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
jmp 0x1016bc4b
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
call fcn.1014d00a
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 0xb
call fcn.1014d41f
mov esi, dword [esp + 0x20]
test al, al
je 0x1016bbf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x94]
test al, al
jne 0x1016bc5e
lea ecx, [esp + 0x20]
call fcn.1014d3dd
test al, al
jne 0x1016bc6f
push esi
lea ecx, [esp + 0x74]
call fcn.10156fec
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov byte [esp + 0x64], 5
test esi, esi
je 0x1016bc2b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
and dword [esp + 0x20], 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
call fcn.1014cf58
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1016bc4b
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x40], 0
lea ecx, [esp + 0x4c]
call fcn.1014d43e
test al, al
jne 0x1016bbc5
jmp 0x1016bc82
push 1
push esi
mov ecx, ebx
call fcn.1016b5cc
mov bl, al
jmp 0x1016bd33
xor edi, edi
mov byte [esp + 0x64], 5
inc edi
test esi, esi
je 0x1016bc82
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x70]
call fcn.1014d43e
test al, al
je 0x1016bd45
test edi, edi
je 0x1016bd45
push dword [esp + 0x70]
lea ecx, [esp + 0x3c]
call fcn.10156fec
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.1014cca2
push 0x40
call fcn.101dbffe
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x64], 0xc
test eax, eax
je 0x1016bce1
mov ecx, eax
call fcn.10168955
jmp 0x1016bce3
xor eax, eax
mov byte [esp + 0x64], 5
lea ecx, [esp + 0x10]
and dword [esp + 0x10], 0
push eax
call fcn.1016f30b
lea eax, [esp + 0x48]
mov byte [esp + 0x64], 0xd
mov esi, dword [esp + 0x10]
mov ecx, esi
push eax
push dword [ebx]
call fcn.10168bf8
test al, al
je 0x1016bd31
push esi
mov ecx, ebx
call fcn.1016870d
mov ecx, ebx
call fcn.1016cbdc
mov ecx, dword [ebx]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov bl, 1
jmp 0x1016bd33
xor bl, bl
mov byte [esp + 0x64], 5
test esi, esi
je 0x1016bd47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1016bd47
xor bl, bl
mov byte [esp + 0x64], 3
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1016bd5e
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x28], 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 2
call fcn.1014cd4f
mov byte [esp + 0x64], 1
test ebp, ebp
je 0x1016bd7d
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
mov byte [esp + 0x64], 0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1016bd8f
mov eax, dword [ecx]
call dword [eax + 4]
or dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1016bda1
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x5c]
mov al, bl
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 8