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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
mov esi, dword [ebx + 0x90]
mov eax, 1
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x78]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
cmp eax, 8
mov ebp, 2
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
je 0x101754d0
cmp eax, 0x10
je 0x101754c1
mov dword [esp + 0x10], ebp
jmp 0x101754e2
mov ebp, 2
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], ebp
jmp 0x101754de
mov dword [esp + 0x38], 1
xor ebp, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ebp
test byte [esp + 0x10], 1
je 0x10175533
mov eax, dword [edi + 0xa0]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x14]
cmp eax, 4
ja case.default.0x101754fc
jmp dword [eax*4 + 0x10175d08]
mov dword [esp + 0x28], 0
jmp 0x1017552f
mov dword [esp + 0x28], 2
jmp 0x1017552f
mov dword [esp + 0x28], 3
jmp 0x1017552f
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffe
or ecx, 2
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x30], eax
lea esp, [esp]
test byte [esp + 0x10], 1
je 0x10175792
cmp eax, dword [esp + 0x50]
jae 0x10175703
cmp ecx, 0x3f
ja 0x10175585
cmp ecx, dword [edi + 0x90]
jae 0x10175585
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
setne al
test al, al
jne 0x101756f6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea ebx, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, eax
shl ebp, 0xc
xor ebp, dword [ebx]
shl ecx, 0x15
and ebp, 0x3000
xor dword [ebx], ebp
mov edx, dword [ebx]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0xc]
and edx, 0xffe0
and ecx, 0x1fe00000
or ecx, edx
or ecx, 0x2000001e
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
add eax, ebp
mov eax, dword [edx + eax*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + eax*4]
movzx edx, byte [edi + 0x9c]
shl edx, 0xe
xor edx, dword [esi + 0x10]
mov dword [esp + 0x3c], eax
and edx, 0x4000
xor dword [esi + 0x10], edx
movzx eax, byte [edi + 0x9d]
mov edx, dword [esi + 0x10]
shl eax, 0xd
xor eax, edx
and eax, 0x2000
xor eax, edx
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x30]
mov ebp, dword [edx + ebp*4]
mov edx, dword [esp + 0x10]
shr edx, 0x15
and ecx, 0xffffffbf
and edx, 7
or ecx, 0x3a0
cmp edx, 5
mov dword [esi + 0xc], ecx
ja case.0x10175647.0
jmp dword [edx*4 + 0x10175d1c]
and eax, 0xfe45ffff
or eax, 0x450000
jmp 0x10175677
and eax, 0xfe69ffff
or eax, 0x690000
jmp 0x10175677
and eax, 0xfe8dffff
or eax, 0x8d0000
jmp 0x10175677
and eax, 0xfe00ffff
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x10]
and eax, 0xff
and ecx, 0xffff601f
shl eax, 5
or eax, ecx
lea ecx, [ebp*4]
xor ecx, eax
and ecx, 0x1f
mov dword [esi + 0x10], eax
xor ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x38]
cmp byte [eax + edx], 0
je 0x101756bb
and ecx, 0xfe00ffff
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x54]
cmp dword [ecx + 0x1c], 0
je 0x101756e9
push 0x10
push ebx
lea edx, [esp + 0x48]
push edx
call fcn.100fd200
mov eax, dword [eax]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
jmp 0x1017578a
mov ebp, dword [esp + 0x34]
mov eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
jmp 0x1017578a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea ebx, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov ecx, dword [esp + 0x20]
mov edx, ebp
shl edx, 0xc
xor edx, dword [ebx]
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
and edx, 0x3000
xor dword [ebx], edx
mov edx, dword [esp + 0x14]
add ecx, edx
shl ecx, 0x15
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
and ecx, 0x1fe00000
and eax, 0xfc00
or ecx, eax
or ecx, 0x200003fe
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x54]
cmp dword [ecx + 0x1c], 0
je 0x10175781
push 0x10
push ebx
lea edx, [esp + 0x4c]
push edx
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10175786
mov eax, 2
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x98]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, 3
mov dword [esp + 0x30], eax
jb 0x10175540
cmp dword [edi + 0x94], 0x77
je 0x10175961
test byte [esp + 0x10], 1
je 0x10175957
cmp ecx, 0x3f
ja 0x101757f8
cmp ecx, dword [edi + 0x90]
jae 0x101757f8
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr edx, 5
test dword [eax + edx*4], ebx
setne al
test al, al
jne 0x10175953
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea ebx, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, eax
shl ebp, 0xc
xor ebp, dword [ebx]
shl ecx, 0x15
and ebp, 0x3000
xor dword [ebx], ebp
mov edx, dword [ebx]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0xc]
and edx, 0xffe0
and ecx, 0x1fe00000
or ecx, edx
or ecx, 0x2000001e
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x50]
add eax, ebp
mov eax, dword [edx + eax*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + eax*4]
movzx edx, byte [edi + 0x9c]
shl edx, 0xe
xor edx, dword [esi + 0x10]
mov dword [esp + 0x3c], eax
and edx, 0x4000
xor dword [esi + 0x10], edx
movzx eax, byte [edi + 0x9d]
mov edx, dword [esi + 0x10]
shl eax, 0xd
xor eax, edx
and eax, 0x2000
xor eax, edx
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x30]
mov ebp, dword [edx + ebp*4]
mov edx, dword [esp + 0x10]
shr edx, 0x15
and ecx, 0xffffffbf
and edx, 7
or ecx, 0x3a0
cmp edx, 5
mov dword [esi + 0xc], ecx
ja case.0x101758ba.0
jmp dword [edx*4 + 0x10175d34]
and eax, 0xfe45ffff
or eax, 0x450000
jmp 0x101758ea
and eax, 0xfe69ffff
or eax, 0x690000
jmp 0x101758ea
and eax, 0xfe8dffff
or eax, 0x8d0000
jmp 0x101758ea
and eax, 0xfe00ffff
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov dword [esi + 0x10], eax
and ecx, 0xff
shl ecx, 5
lea eax, [ebp*4]
and eax, 0x1f
or ecx, eax
mov eax, dword [esi + 0x10]
and eax, 0xffff6000
or ecx, eax
mov dword [esi + 0x10], ecx
mov ecx, dword [edi + 0x38]
cmp byte [edx + ecx], 0
je 0x1017592f
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
mov ecx, dword [esp + 0x54]
cmp dword [ecx + 0x1c], 0
je 0x1017594a
push 0x10
push ebx
lea eax, [esp + 0x4c]
push eax
call fcn.100fd200
mov eax, dword [eax]
jmp 0x1017594f
mov eax, 2
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x54]
add dword [esp + 0x14], 2
add dword [esp + 0x50], 1
cmp dword [edi + 0xa8], 0
jne 0x10175a7b
cmp dword [edi + 0xac], 0
jne 0x10175a7b
cmp dword [edi + 0xb0], 0
jne 0x10175a7b
cmp dword [edi + 0xb4], 0xf
jne 0x10175a7b
mov ecx, dword [esp + 0x10]
test cl, 1
je 0x10175cf6
mov eax, dword [edi + 0xa0]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, dword [ebx + 0x84]
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0xa4]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push 3
push 8
push eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x54], eax
call dword [edx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea ebp, [esi + 8]
and al, 0xb1
or al, 0x31
push ecx
mov ecx, esi
mov dword [ebp], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x5c]
push ecx
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x68]
mov eax, dword [edx + ecx*4]
push 0
push eax
push 1
mov ecx, esi
call fcn.100f2e20
mov edx, dword [edi + 0x44]
add edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x50]
push ecx
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + ecx*4]
push 0
push eax
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
and dh, 0x8f
or dh, 0xc
push ebp
lea eax, [esp + 0x58]
mov dword [esi + 0x14], ecx
push eax
mov ecx, ebx
mov dword [esi + 0xc], edx
call fcn.10142640
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x38
ret 0xc
test byte [esp + 0x10], 1
je 0x10175bf5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x20]
push 0
lea ebp, [esi + 8]
push 0
and eax, 0xef7fff81
push ecx
or eax, 0x600201
push 2
mov ecx, esi
mov dword [ebp], eax
call fcn.100f2e20
mov edx, dword [edi + 0x44]
add edx, dword [esp + 0x50]
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + ecx*4]
push 0
push 0
push eax
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
cmp dword [ebx + 0x1c], 0
je 0x10175aee
push 0x10
push ebp
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10175af3
mov eax, 2
test al, 1
mov dword [esp + 0x10], eax
je 0x10175bf5
mov ebp, dword [edi + 0xa8]
mov edx, dword [edi + 0xac]
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
and ebp, 0xf
shl ebp, 4
and edx, 0xf
or ebp, edx
shl ebp, 4
and eax, 0xf
or ebp, eax
test cl, 1
jne 0x10175b44
mov eax, 8
or ebp, 0x1000
sub eax, dword [edi + 0x98]
mov dword [esp + 0x1c], eax
test cl, 2
mov eax, dword [esp + 0x1c]
jne 0x10175b5d
or ebp, 0x2000
sub eax, dword [edi + 0x98]
mov dword [esp + 0x1c], eax
test cl, 4
jne 0x10175b72
or ebp, 0x4000
sub eax, dword [edi + 0x98]
mov dword [esp + 0x1c], eax
test cl, 8
jne 0x10175b87
or ebp, 0x8000
sub eax, dword [edi + 0x98]
mov dword [esp + 0x1c], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
and al, 0x81
or al, 1
push 1
mov ecx, esi
mov dword [esi + 8], eax
call fcn.100ea3e0
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x20]
and ecx, 0xefffffff
or ch, 2
push 1
push 2
push edx
push 2
mov dword [esi + 8], ecx
mov ecx, esi
call fcn.100f2e20
mov eax, dword [esi + 0xc]
and ah, 0xfc
or al, 0xe0
mov dword [esi + 0x14], ebp
mov dword [esi + 0xc], eax
cmp dword [ebx + 0x1c], 0
je 0x10175bec
push 0x10
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10175bf1
mov eax, 2
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
test cl, 1
je 0x10175cf6
mov eax, dword [edi + 0xa0]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, dword [ebx + 0x84]
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0xa4]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push 3
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x54], eax
call dword [edx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
lea ebp, [esi + 8]
and al, 0xb1
or al, 0x31
push ecx
mov ecx, esi
mov dword [ebp], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x5c]
push ecx
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x68]
mov eax, dword [edx + ecx*4]
push 0
push eax
push 1
mov ecx, esi
call fcn.100f2e20
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0
push 0
call fcn.1006dd40
add esp, 8
push eax
push 0
push 0
mov ecx, esi
call fcn.100f2ee0
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x54]
and ah, 0x8f
or ah, 0xc
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], eax
cmp dword [ebx + 0x1c], 0
je 0x10175cdf
push 0x10
push ebp
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call fcn.100fd200
mov eax, dword [eax]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x38
ret 0xc
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov eax, 2
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x38
ret 0xc
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x38
ret 0xc