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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
mov edi, ecx
mov ecx, ebp
call fcn.1014abf0
mov ecx, dword [edi + 0x78]
mov esi, dword [ebp + 0x90]
mov dword [esp + 0x44], eax
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x94]
xor edx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0xc]
add eax, 0xffffff85
cmp eax, 0x11
mov dword [esp + 0x14], 4
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
mov ebx, 2
ja case.0x1017426d.132
movzx eax, byte [eax + 0x10174cc4]
jmp dword [eax*4 + 0x10174c9c]
mov dword [esp + 0x18], 7
jmp 0x101742ca
mov dword [esp + 0x18], edx
jmp 0x101742ca
mov dword [esp + 0x18], 4
jmp 0x101742ca
mov dword [esp + 0x18], 1
jmp 0x101742ca
mov dword [esp + 0x18], 3
jmp 0x101742ca
mov dword [esp + 0x18], ebx
jmp 0x101742ca
mov dword [esp + 0x18], 5
jmp 0x101742ca
mov dword [esp + 0x18], 6
jmp 0x101742ca
mov dword [esp + 0x18], 0xa
jmp 0x101742ca
mov dword [esp + 0x10], ebx
cmp ecx, 8
je 0x101742f9
cmp ecx, 0x10
je 0x101742e3
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffe
or ecx, ebx
mov dword [esp + 0x10], ecx
jmp 0x10174311
mov dword [esp + 0x14], 8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
jmp 0x10174311
mov dword [esp + 0x14], 4
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
xor ecx, ecx
xor ebx, ebx
cmp dword [esp + 0x54], ecx
mov dword [esp + 0x20], ecx
jbe 0x101744e3
test byte [esp + 0x10], 1
je 0x101744c6
cmp ecx, 0x3f
ja 0x1017435e
cmp ecx, dword [edi + 0x90]
jae 0x1017435e
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebp, 1
shl ebp, cl
shr edx, 5
test dword [eax + edx*4], ebp
setne al
test al, al
jne 0x101744be
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x30]
lea ebp, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebp], eax
call fcn.100ea3e0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
shl edx, 0xc
xor edx, dword [ebp]
and edx, 0x3000
xor dword [ebp], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp]
add ecx, edx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
and eax, 0xffe0
shl ecx, 0x15
and ecx, 0x1fe00000
or ecx, eax
or ecx, 0x2000001e
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x44]
mov eax, dword [edi + 0x50]
add edx, ebx
mov edx, dword [eax + edx*4]
mov eax, dword [edi + 0x34]
mov edx, dword [eax + edx*4]
mov eax, dword [edi + 0x30]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + ebx*4]
movzx eax, byte [edi + 0x9c]
shl eax, 0xe
xor eax, dword [esi + 0x10]
mov dword [esp + 0x10], edx
and eax, 0x4000
xor dword [esi + 0x10], eax
movzx eax, byte [edi + 0x9d]
mov edx, dword [esi + 0x10]
shl eax, 0xd
xor eax, edx
and eax, 0x2000
xor eax, edx
mov edx, dword [esp + 0x38]
shr edx, 0x15
and ecx, 0xffffffbf
and edx, 7
or ecx, 0x3a0
cmp edx, 5
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
ja case.0x10174426.0
jmp dword [edx*4 + 0x10174cd8]
and eax, 0xfe45ffff
or eax, 0x450000
jmp 0x10174456
and eax, 0xfe69ffff
or eax, 0x690000
jmp 0x10174456
and eax, 0xfe8dffff
or eax, 0x8d0000
jmp 0x10174456
and eax, 0xfe00ffff
mov ecx, dword [esp + 0x3c]
mov edx, eax
and ecx, 0xff
and edx, 0xffff601f
shl ecx, 5
or ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esi + 0x10], eax
add edx, edx
add edx, edx
mov eax, ecx
xor eax, edx
and eax, 0x1f
xor eax, ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x38]
cmp byte [ebx + ecx], 0
je 0x10174498
and eax, 0xfe00ffff
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x60]
cmp dword [edx + 0x1c], 0
je 0x101744b5
push 0x10
push ebp
lea eax, [esp + 0x48]
push eax
mov ecx, edx
call fcn.100fd200
mov eax, dword [eax]
jmp 0x101744ba
mov eax, 2
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x98]
add dword [esp + 0x1c], eax
add ebx, 1
add ecx, eax
cmp ebx, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
jb 0x10174323
cmp dword [esp + 0x58], 0
jbe 0x101746c4
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
jmp 0x10174500
test byte [esp + 0x10], 1
je 0x101746a6
cmp ecx, 0x3f
ja 0x1017453b
cmp ecx, dword [edi + 0x90]
jae 0x1017453b
mov edx, dword [edi + 0x8c]
mov eax, ecx
and ecx, 0x1f
mov ebp, 1
shl ebp, cl
shr eax, 5
test dword [edx + eax*4], ebp
setne al
test al, al
jne 0x1017469e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x30]
lea ebp, [esi + 8]
and ecx, 0xffffff81
or ecx, 1
mov dword [ebp], ecx
push edx
mov ecx, esi
call fcn.100ea3e0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
shl eax, 0xc
xor eax, dword [ebp]
and eax, 0x3000
xor dword [ebp], eax
mov ecx, dword [ebp]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
lea ecx, [edx + eax]
mov edx, dword [esi + 0xc]
and edx, 0xffe0
shl ecx, 0x15
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, ebx
mov eax, dword [edx + eax*4]
mov edx, dword [edi + 0x34]
mov eax, dword [edx + eax*4]
mov edx, dword [edi + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + ebx*4]
movzx edx, byte [edi + 0x9e]
shl edx, 0xe
xor edx, dword [esi + 0x10]
mov dword [esp + 0x10], eax
and edx, 0x4000
xor dword [esi + 0x10], edx
movzx eax, byte [edi + 0x9f]
mov edx, dword [esi + 0x10]
shl eax, 0xd
xor eax, edx
and eax, 0x2000
xor eax, edx
mov edx, dword [esp + 0x38]
shr edx, 0x15
and ecx, 0xffffffbf
and edx, 7
or ecx, 0x3a0
cmp edx, 5
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
ja case.0x10174607.0
jmp dword [edx*4 + 0x10174cf0]
and eax, 0xfe45ffff
or eax, 0x450000
jmp 0x10174637
and eax, 0xfe69ffff
or eax, 0x690000
jmp 0x10174637
and eax, 0xfe8dffff
or eax, 0x8d0000
jmp 0x10174637
and eax, 0xfe00ffff
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
add eax, eax
and ecx, 0xff
add eax, eax
shl ecx, 5
and edx, 0xffff6000
and eax, 0x1f
or ecx, edx
or ecx, eax
mov dword [esi + 0x10], ecx
mov eax, dword [edi + 0x38]
cmp byte [ebx + eax], 0
je 0x1017467a
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
mov ecx, dword [esp + 0x60]
cmp dword [ecx + 0x1c], 0
je 0x10174695
push 0x10
push ebp
lea edx, [esp + 0x50]
push edx
call fcn.100fd200
mov eax, dword [eax]
jmp 0x1017469a
mov eax, 2
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x98]
add dword [esp + 0x1c], eax
add ecx, eax
add ebx, 1
sub dword [esp + 0x40], 1
mov dword [esp + 0x20], ecx
jne 0x10174500
cmp dword [esp + 0x5c], 0
jbe 0x10174835
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
jmp 0x101746e0
test byte [esp + 0x10], 1
je 0x10174817
cmp ecx, 0x3f
ja 0x1017471b
cmp ecx, dword [edi + 0x90]
jae 0x1017471b
mov eax, dword [edi + 0x8c]
mov edx, ecx
and ecx, 0x1f
mov ebp, 1
shl ebp, cl
shr edx, 5
test dword [eax + edx*4], ebp
setne al
test al, al
jne 0x1017480f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x30]
lea ebp, [esi + 8]
and al, 0x81
or al, 1
push ecx
mov ecx, esi
mov dword [ebp], eax
call fcn.100ea3e0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
shl edx, 0xc
xor edx, dword [ebp]
add eax, ecx
and edx, 0x3000
xor dword [ebp], edx
mov edx, dword [esi + 0xc]
and edx, 0xffe0
shl eax, 0x15
and eax, 0x1fe00000
or eax, edx
or eax, 0x2000001e
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x50]
add eax, ebx
mov edx, dword [ecx + eax*4]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + 0x30]
mov eax, dword [edx + ebx*4]
movzx edx, byte [edi + 0x9c]
shl edx, 0xe
xor edx, dword [esi + 0x10]
mov dword [esp + 0x10], eax
and edx, 0x4000
xor dword [esi + 0x10], edx
movzx edx, byte [edi + 0x9d]
mov eax, dword [esi + 0x10]
shl edx, 0xd
xor edx, eax
and edx, 0x2000
push 7
xor edx, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push 1
push 0
mov ecx, esi
mov dword [esi + 0x10], edx
call fcn.100f2ee0
mov ecx, dword [edi + 0x38]
cmp byte [ebx + ecx], 0
je 0x101747e9
push 0
push 1
push 0
push 0
mov ecx, esi
call fcn.100ea4b0
mov edx, dword [esp + 0x60]
cmp dword [edx + 0x1c], 0
je 0x10174806
push 0x10
push ebp
lea eax, [esp + 0x50]
push eax
mov ecx, edx
call fcn.100fd200
mov eax, dword [eax]
jmp 0x1017480b
mov eax, 2
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x98]
add dword [esp + 0x1c], eax
add ecx, eax
add ebx, 1
sub dword [esp + 0x40], 1
mov dword [esp + 0x20], ecx
jne 0x101746e0
cmp dword [edi + 0xa8], 0
jne 0x10174965
cmp dword [edi + 0xac], 0
jne 0x10174965
cmp dword [edi + 0xb0], 0
jne 0x10174965
cmp dword [edi + 0xb4], 0xf
jne 0x10174965
test byte [esp + 0x10], 1
je 0x10174c85
mov eax, dword [edi + 0xa0]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0xc]
mov ecx, dword [ebp + 0x84]
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0xa4]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x24]
push 1
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [edx + 0x10]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x60], eax
call dword [edx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x30]
lea ebx, [esi + 8]
and al, 0xb1
or al, 0x31
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x5c]
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x68]
mov edx, dword [ecx + eax*4]
push 0
push edx
push 1
mov ecx, esi
call fcn.100f2e20
mov ecx, dword [edi + 0x44]
add ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
add ecx, dword [esp + 0x58]
mov edx, dword [edi + 0x50]
add ecx, dword [esp + 0x5c]
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx + eax*4]
push 0
push edx
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x60]
and ch, 0x8f
or ch, 0xc
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], ecx
cmp dword [ebp + 0x1c], 0
je 0x10174bbf
push 0x10
push ebx
lea edx, [esp + 0x68]
push edx
mov ecx, ebp
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10174bc4
test byte [esp + 0x10], 1
je 0x10174c85
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x24]
lea ebx, [esi + 8]
push 0
and ecx, 0xef7fff81
push 0
or ecx, 0x600201
push edx
mov dword [ebx], ecx
push 2
mov ecx, esi
call fcn.100f2e20
mov eax, dword [edi + 0x44]
add eax, dword [esp + 0x54]
mov ecx, dword [edi + 0x50]
add eax, dword [esp + 0x58]
push 0
add eax, dword [esp + 0x60]
push 0
mov edx, dword [ecx + eax*4]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + edx*4]
push ecx
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
cmp dword [ebp + 0x1c], 0
je 0x101749e1
push 0x10
push ebx
lea edx, [esp + 0x68]
push edx
mov ecx, ebp
call fcn.100fd200
mov eax, dword [eax]
jmp 0x101749e6
mov eax, 2
test al, 1
mov dword [esp + 0x10], eax
je 0x10174c85
mov ebx, dword [edi + 0xa8]
mov eax, dword [edi + 0xac]
mov ecx, dword [edi + 0xb0]
and ebx, 0xf
shl ebx, 4
and eax, 0xf
or ebx, eax
mov eax, dword [edi + 0xb4]
and ecx, 0xf
shl ebx, 4
or ebx, ecx
test al, 1
mov ecx, 2
jne 0x10174a35
or bh, 0x10
cmp dword [edi + 0x98], ecx
jne 0x10174a35
sub dword [esp + 0x14], ecx
test al, 2
jne 0x10174a48
or bh, 0x20
cmp dword [edi + 0x98], ecx
jne 0x10174a48
sub dword [esp + 0x14], ecx
test al, 4
jne 0x10174a5b
or bh, 0x40
cmp dword [edi + 0x98], ecx
jne 0x10174a5b
sub dword [esp + 0x14], ecx
test al, 8
jne 0x10174a6e
or bh, 0x80
cmp dword [edi + 0x98], ecx
jne 0x10174a6e
sub dword [esp + 0x14], ecx
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 + 0x24]
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], ebx
mov dword [esi + 0xc], eax
cmp dword [ebp + 0x1c], 0
je 0x10174ad3
push 0x10
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10174ad8
mov eax, 2
test al, 1
mov dword [esp + 0x10], eax
je 0x10174c85
mov eax, dword [edi + 0xa0]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0xc]
mov ecx, dword [ebp + 0x84]
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0xa4]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x24]
push 1
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [edx + 0x10]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x60], eax
call dword [edx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x30]
lea ebx, [esi + 8]
and al, 0xb1
or al, 0x31
push ecx
mov ecx, esi
mov dword [ebx], eax
call fcn.100ea3e0
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x5c]
push eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi + 0x68]
mov edx, dword [ecx + eax*4]
push 0
push edx
push 1
mov ecx, esi
call fcn.100f2e20
mov eax, dword [esp + 0x28]
push eax
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 edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x60]
and dh, 0x8f
or dh, 0xc
mov dword [esi + 0x14], ecx
mov dword [esi + 0xc], edx
cmp dword [ebp + 0x1c], 0
je 0x10174bbf
push 0x10
push ebx
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10174bc4
mov eax, 2
test al, 1
mov dword [esp + 0x10], eax
je 0x10174c85
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
call dword [edx + 0xc]
test byte [eax + 0x16], 4
je 0x10174c85
cmp dword [edi + 0x98], 1
jne 0x10174c85
cmp dword [edi + 0xb4], 0
je 0x10174c85
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
and ecx, 0xff7fff81
or ecx, 0x600001
push 0
push 0
mov dword [ebx], ecx
call fcn.1006dd40
mov edx, dword [esi + 0xc]
and eax, 0xff
shl eax, 0x15
and edx, 0xffe0
or eax, edx
or eax, 0x2000001c
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x5c]
mov edx, dword [ecx + eax*4]
add edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + edx*4 - 4]
add esp, 8
push 7
push 0
push ecx
push 1
push 0
mov ecx, esi
call fcn.100f2ee0
cmp dword [ebp + 0x1c], 0
je 0x10174c7c
push 0x10
push ebx
lea edx, [esp + 0x68]
push edx
mov ecx, ebp
call fcn.100fd200
mov eax, dword [eax]
jmp 0x10174c81
mov eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x3c
ret 0x14