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

Disassembly:
mov eax, 0x102255c1
call fcn.10210210
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], edi
push dword [edi + 4]
call fcn.1014ca12
and dword [esp + 0xa4], 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014cd9a
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1017a8c3
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014d00a
mov ecx, eax
mov byte [esp + 0xa4], 1
call fcn.1014d3dd
mov bl, al
mov byte [esp + 0xa4], 0
mov ecx, dword [esp + 0x34]
neg bl
sbb bl, bl
inc bl
test ecx, ecx
je 0x1017a8fd
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x1017a91c
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.1017f2f7
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1017a91c
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov esi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov bl, al
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], bl
call fcn.1014d43e
test al, al
je 0x1017acce
lea ecx, [esp + 0x1c]
call fcn.1014d43e
test al, al
je 0x1017a9f9
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014d00a
mov ecx, eax
mov byte [esp + 0xa4], 5
call fcn.1014d3dd
mov byte [esp + 0xa4], 4
mov bl, al
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1017a9a9
mov edx, dword [ecx]
call dword [edx + 4]
and dword [esp + 0x60], 0
test bl, bl
je 0x1017a9c4
lea ecx, [esp + 0x18]
call fcn.1017f54b
movzx eax, ax
push eax
call fcn.1017bd63
pop ecx
test al, al
jne 0x1017a9f5
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014cec9
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1017a9e4
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x50], 0
lea ecx, [esp + 0x1c]
call fcn.1014d43e
test al, al
jne 0x1017a970
mov bl, byte [esp + 0x17]
lea ecx, [esp + 0x1c]
call fcn.1014d43e
test al, al
je 0x1017acb2
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014d00a
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xa8], 7
call fcn.1001064d
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014d00a
mov esi, eax
mov byte [esp + 0xa4], 8
lea ecx, [esp + 0x2c]
push dword [esi]
call fcn.10156fec
mov ebx, dword [esi + 4]
mov byte [esp + 0xa4], 7
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
test ecx, ecx
je 0x1017aa7c
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x78], 0
lea ecx, [esp + 0x1c]
call fcn.1014d43e
test al, al
je 0x1017ab56
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014d00a
mov ecx, eax
mov byte [esp + 0xa4], 9
call fcn.1014d3dd
mov bl, al
mov byte [esp + 0xa4], 7
mov ecx, dword [esp + 0x80]
neg bl
sbb bl, bl
inc bl
test ecx, ecx
je 0x1017aad5
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x80], 0
test bl, bl
jne 0x1017ab52
lea ecx, [esp + 0x18]
call fcn.1017f54b
movzx eax, ax
push eax
mov dword [esp + 0x44], eax
call fcn.1017bd63
pop ecx
test al, al
je 0x1017ab52
lea ecx, [esp + 0x18]
call fcn.10167f03
test dword [eax + 8], 0x80000000
je 0x1017ab1b
lea ecx, [esp + 0x18]
call fcn.10167f03
mov byte [esp + 0x17], 1
and dword [eax + 8], 0x7fffffff
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
call fcn.10010758
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014cec9
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x1017aa34
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x68], 0
jmp 0x1017aa34
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.1014d43e
test al, al
jne 0x1017abab
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014ce0f
mov esi, eax
mov byte [esp + 0xa4], 0xa
lea ecx, [esp + 0x2c]
push dword [esi]
call fcn.10156fec
mov ebx, dword [esi + 4]
mov byte [esp + 0xa4], 7
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
test ecx, ecx
je 0x1017abab
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x70], 0
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x1017abb8
mov ecx, dword [esi - 4]
jmp 0x1017abba
xor ecx, ecx
mov eax, dword [edi]
push ecx
push esi
mov ecx, edi
call dword [eax + 0xc8]
mov ebp, dword [esp + 0x48]
test al, al
jne 0x1017ac6a
push ecx
push ecx
mov edi, esp
push ebp
mov ecx, edi
and dword [edi], 0
call fcn.10156fec
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
call fcn.1014ce84
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.1014d00a
cmp dword [eax], edi
jne 0x1017ac10
cmp dword [eax + 4], ebx
jne 0x1017ac10
xor bl, bl
jmp 0x1017ac12
mov bl, 1
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1017ac24
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x58], 0
test bl, bl
je 0x1017ac5e
lea ecx, [esp + 0x18]
call fcn.10167f03
lea ecx, [esp + 0x18]
or dword [eax + 8], 0x80000000
lea eax, [esp + 0x34]
push eax
call fcn.1014cec9
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
test ecx, ecx
je 0x1017abf5
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x34], 0
jmp 0x1017abf5
mov edi, dword [esp + 0x44]
mov bl, 1
mov byte [esp + 0x17], bl
jmp 0x1017ac6e
mov bl, byte [esp + 0x17]
mov byte [esp + 0xa4], 6
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1017ac88
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x2c], 0
mov byte [esp + 0xa4], 4
test ebp, ebp
je 0x1017aca1
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
and dword [esp + 0x48], 0
lea ecx, [esp + 0x1c]
call fcn.1014d43e
test al, al
jne 0x1017a95f
test bl, bl
je 0x1017acc0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x9c]
test esi, esi
je 0x1017acce
add esi, 0xfffffff8
push esi
call fcn.101dad34
pop ecx
or dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.1014cd4f
mov ecx, dword [esp + 0x9c]
mov al, 1
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret