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

Disassembly:
sub esp, 0x60
xor eax, eax
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
mov edi, dword [esp + 0x78]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, ebp
call edx
mov esi, eax
test esi, esi
je 0x10174e07
jmp 0x10174df0
mov eax, dword [esi]
mov edx, dword [eax + 0x298]
mov ecx, esi
call edx
test eax, eax
jne 0x10174e07
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10174df0
test esi, esi
mov byte [esp + 0x7c], 0
jne 0x10174e24
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x2c
mov edi, dword [esp + 0x78]
cmp byte [esp + 0x7c], 0
jne 0x10174e10
mov eax, dword [esi]
mov edx, dword [eax + 0x298]
mov ecx, esi
call edx
mov edi, eax
cmp edi, 4
je 0x10174e43
cmp edi, 3
jne 0x10174e48
mov byte [esp + 0x7c], 1
mov al, byte [esi + 0x1a]
test al, 0x30
jne 0x101751c3
test al, 0x40
je 0x10174e7a
test byte [esi + 0x1b], 0x20
je 0x10174e7a
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
cmp dword [eax + 0x3c], 0
jne 0x101751c3
cmp dword [eax + 0x40], 0
jne 0x101751c3
mov eax, dword [esi]
mov edx, dword [eax + 0x2ac]
mov ecx, esi
call edx
test al, al
jne 0x101750fa
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test al, al
jne 0x101750fa
mov byte [esp + 0x74], al
mov eax, dword [esi]
mov edx, dword [eax + 0x2a4]
mov ecx, esi
call edx
test al, al
je 0x1017512f
test edi, edi
je 0x101751c3
cmp edi, 3
je 0x10174ecc
cmp edi, 2
jne 0x10174f2e
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x190]
push ecx
push ebx
mov ecx, esi
call eax
add eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x94]
push edx
push ecx
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx]
lea edx, [esp + 0x28]
push edx
push ebp
call fcn.10175270
mov ecx, eax
mov eax, dword [esp + 0x78]
add eax, 0x10
call fcn.100a9b70
cmp byte [esp + 0x74], 0
je 0x10174f43
cmp edi, 1
je 0x10174f41
cmp byte [esp + 0x7c], 0
je 0x10174f43
xor edi, edi
mov edx, dword [ebp + 4]
mov eax, dword [edx]
and eax, 0x4000000
cmp eax, 0x4000000
sete al
cmp edi, 2
je 0x10174f6b
cmp edi, 3
jne 0x10175104
test al, al
je 0x10175111
mov cl, 1
cmp edi, 2
je 0x10174f83
cmp edi, 1
jne 0x10175118
test al, al
je 0x10175125
mov byte [esp + 0x74], 1
test cl, cl
je 0x10174feb
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
push ecx
push edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x19c]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x190]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x18c]
mov ecx, esi
call eax
push eax
mov eax, dword [esp + 0xa4]
push ebp
lea ecx, [esp + 0x3c]
push ecx
push ebp
mov ecx, ebx
call fcn.10175360
mov ecx, eax
mov eax, dword [esp + 0x78]
call fcn.100a9b70
cmp byte [esp + 0x74], 0
je 0x10175064
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x19c]
push ecx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x190]
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x198]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x18c]
mov ecx, esi
call eax
push ebp
lea ecx, [esp + 0x4c]
add edi, eax
mov eax, dword [esp + 0xa4]
push ecx
push ebp
mov ecx, edi
call fcn.10175430
mov ecx, eax
mov eax, dword [esp + 0x78]
add eax, 0x20
call fcn.100a9b70
mov edx, dword [esi]
mov eax, dword [edx + 0x19c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x190]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x90]
add edi, eax
add edi, ecx
mov dword [edx], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x19c]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x190]
mov ecx, esi
call edx
add edi, eax
push edi
push ebx
mov eax, ebp
call fcn.10175570
mov ecx, dword [esp + 0x94]
mov dword [ecx], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x19c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x190]
mov ecx, esi
call eax
add edi, eax
push edi
push ebx
mov eax, ebp
call fcn.10175670
mov ecx, dword [esp + 0x98]
mov dword [ecx], eax
jmp 0x101751c3
mov byte [esp + 0x74], 1
jmp 0x10174ec2
cmp edi, 1
jne 0x10175111
test al, al
je 0x10174f6b
xor cl, cl
jmp 0x10174f6d
cmp edi, 3
jne 0x10175125
test al, al
je 0x10174f83
mov byte [esp + 0x74], 0
jmp 0x10174f88
test edi, edi
je 0x101751c3
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x190]
mov ecx, esi
call edx
add eax, dword [esp + 0x9c]
mov ecx, esi
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18c]
call edx
add eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push eax
push ecx
push ebx
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call fcn.1030ad1f
mov edi, eax
mov eax, dword [esp + 0x78]
mov ecx, edi
call fcn.100a9b70
lea ecx, [edi + 0x10]
add eax, 0x10
call fcn.100a9b70
mov eax, dword [esp + 0x78]
lea ecx, [edi + 0x20]
add eax, 0x20
call fcn.100a9b70
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10174e20
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x2c