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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
test byte [esi + 0x1b], 0x40
push edi
jne 0x10177490
mov eax, dword [esi]
mov edx, dword [eax + 0x27c]
mov ecx, esi
call edx
test al, al
je 0x10177490
mov ebx, dword [esi + 8]
mov edi, dword [ebx + 0xc]
call fcn.100ad450
cmp eax, ebx
je 0x10177490
mov eax, dword [esi + 0x78]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x101772c4
lea edx, [esp + 0x10]
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0x10]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x14]
nop
cmp eax, ebx
je 0x10177458
mov ebp, dword [eax]
cmp ebp, ebx
je 0x10177458
mov edx, dword [esi]
mov eax, dword [edx + 0x190]
mov ecx, esi
call eax
mov edi, dword [esp + 0x48]
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x19c]
add esi, dword [ebp + 8]
mov ecx, edi
call eax
cmp esi, eax
jle 0x101773ea
mov edx, dword [edi]
mov eax, dword [ebp]
mov edx, dword [edx + 0x280]
push eax
mov ecx, edi
call edx
test al, al
jne 0x101773ea
push 0x1c
call fcn.102f361c
add esp, 4
cmp eax, ebx
je 0x10177358
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
and ecx, 1
xor edx, ecx
and edx, 1
xor dword [eax + 0x14], edx
and byte [eax + 0x18], 0xfe
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov edi, eax
jmp 0x1017735a
xor edi, edi
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x54]
sub ecx, eax
mov dword [edi + 4], ecx
mov edx, dword [ebp + 8]
sub edx, eax
mov dword [edi + 8], edx
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [ebp]
mov dword [edi], edx
mov eax, dword [ebp]
call fcn.100dea40
mov esi, eax
mov eax, dword [esp + 0x48]
call fcn.100dea40
cmp esi, eax
jne 0x101773a0
or byte [ebp + 0x18], 1
jmp 0x101773a4
or byte [edi + 0x18], 1
mov esi, dword [esp + 0x48]
cmp dword [esi + 0x78], ebx
jne 0x101773de
push 0x1c
call fcn.102f361c
add esp, 4
cmp eax, ebx
je 0x101773d5
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], fcn.1017b230
mov dword [eax + 0x14], ebx
mov byte [eax + 0x18], bl
jmp 0x101773d7
xor eax, eax
mov dword [esi + 0x78], eax
mov byte [eax + 0x18], 1
mov esi, dword [esi + 0x78]
push edi
mov edi, dword [esi + 0xc]
call fcn.10160ba0
test byte [ebp + 0x18], 1
jne 0x10177440
mov ecx, dword [ebp]
test byte [ecx + 0x1b], 0x20
jne 0x10177440
mov eax, dword [ecx]
mov eax, dword [eax + 0x1bc]
push ebx
lea edx, [esp + 0x24]
push edx
call eax
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 0x21c]
call eax
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x224]
add esi, dword [ebp + 4]
call eax
add eax, dword [ebp + 0xc]
add dword [esp + 0x24], esi
add dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x30]
call fcn.100a9b70
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov esi, dword [esp + 0x4c]
je 0x10177458
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
jmp 0x101772d0
lea eax, [esp + 0x30]
call fcn.10177a20
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x10177490
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x1017747a
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x14], edx
jmp 0x10177481
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10177490
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x10