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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov esi, dword [ebp]
mov ebx, dword [ebp + 0xd8]
lea edi, [ebx + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x80], 0
cmp dword [edi], 0
movzx eax, word [ebx + 0x18]
mov dword [esp + 0x1c], eax
movzx eax, ax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
jne 0x101710a3
push edi
push 3
push dword [ebp + 0x10]
lea eax, [ebx + 0x14]
push dword [ebp + 0xc]
push eax
push ecx
call fcn.10109150
add esp, 0x18
test eax, eax
jne 0x10171832
mov eax, dword [esp + 0x84]
mov edi, dword [edi]
and eax, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
jne 0x1017112d
mov ecx, dword [esi + 0x2e0]
mov eax, ecx
and eax, 0x400
and ecx, 1
mov dword [esp + 0x30], eax
test eax, eax
je 0x101710d8
mov edx, 0x26
jmp 0x101710e1
mov edx, ecx
neg edx
sbb edx, edx
and edx, 6
mov eax, dword [esp + 0x1c]
movzx eax, ax
lea eax, [eax*2 + 0x1a]
mov dword [esp + 0x34], eax
add eax, edx
movzx eax, word [eax + edi]
cmp byte [eax + edi], 3
jne 0x1017112d
cmp dword [esp + 0x30], 0
je 0x1017110d
mov ecx, 0x26
jmp 0x10171114
neg ecx
sbb ecx, ecx
and ecx, 6
mov eax, dword [esp + 0x34]
add eax, ecx
movzx eax, word [eax + edi]
push dword [eax + edi + 4]
push ebp
call fcn.10167f00
add esp, 8
jmp 0x10171139
xor eax, eax
cmp dword [esp + 0x38], eax
jne 0x101711c6
test eax, eax
jne 0x10171832
mov ecx, dword [esi + 0x2e0]
mov eax, ecx
and eax, 0x400
and ecx, 1
mov dword [esp + 0x38], eax
test eax, eax
je 0x10171160
mov edx, 0x26
jmp 0x10171169
mov edx, ecx
neg edx
sbb edx, edx
and edx, 6
mov eax, dword [esp + 0x1c]
movzx eax, ax
lea eax, [eax*2 + 0x1c]
mov dword [esp + 0x34], eax
add eax, edx
movzx eax, word [eax + edi]
movzx eax, byte [eax + edi]
sub eax, 2
je 0x10171194
sub eax, 1
je 0x1017119a
sub eax, 1
jne 0x101711ce
and dword [ebx + 0x74], 0xffffffef
jmp 0x101711ce
cmp dword [esp + 0x38], 0
je 0x101711a8
mov ecx, 0x26
jmp 0x101711af
neg ecx
sbb ecx, ecx
and ecx, 6
mov eax, dword [esp + 0x34]
add eax, ecx
movzx eax, word [eax + edi]
push dword [eax + edi + 4]
push ebp
call fcn.10167f00
add esp, 8
test eax, eax
jne 0x10171832
cmp dword [ebp + 0x10], 0
je 0x10171373
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
je 0x10171373
test dword [ebp + 0x13c], 0x2000
jne 0x10171373
mov eax, dword [eax + 0x80]
test eax, eax
je 0x10171213
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x10171213
test byte [eax + 0x31c], 8
jne 0x10171373
mov eax, dword [esi + 0x2e0]
test eax, 0x400
je 0x10171227
mov eax, 0x26
jmp 0x10171233
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 6
mov edx, dword [esp + 0x1c]
movzx ecx, dx
lea eax, [eax + ecx*2]
movzx eax, word [eax + edi + 0x1a]
lea ebx, [ecx*2 + 0x1a]
add eax, edi
mov dword [esp + 0x44], eax
test dx, dx
jne 0x10171258
mov ecx, dword [esi]
jmp 0x10171280
mov eax, dword [esi + 0x2e0]
test eax, 0x400
je 0x1017126c
mov eax, 0x26
jmp 0x10171278
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 6
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edi + 0x18]
mov eax, dword [esi + 0x2e0]
test eax, 0x400
je 0x10171294
mov eax, 0x26
jmp 0x101712a0
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 6
add eax, ebx
movzx eax, word [eax + edi]
sub ecx, eax
mov dword [esp + 0x48], ecx
mov eax, dword [esi + 0x2e0]
test eax, 0x400
je 0x101712c0
mov ecx, 0x26
jmp 0x101712cc
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 6
movzx eax, dx
lea eax, [eax*2 + 0x1c]
mov dword [esp + 0x38], eax
add eax, ecx
movzx eax, word [eax + edi]
add eax, edi
mov dword [esp + 0x60], eax
mov edx, dword [esi + 0x2e0]
mov eax, dword [esp + 0x28]
movzx eax, ax
test edx, 0x400
je 0x10171307
movzx ecx, word [edi + eax*2 + 0x40]
mov edx, 0x26
jmp 0x10171322
and edx, 1
lea eax, [edi + eax*2]
mov ecx, edx
neg ecx
sbb ecx, ecx
and ecx, 6
neg edx
sbb edx, edx
and edx, 6
movzx ecx, word [eax + ecx + 0x1a]
mov eax, dword [esp + 0x38]
add eax, edx
movzx eax, word [eax + edi]
sub ecx, eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x68], ecx
push eax
mov eax, dword [esp + 0x24]
push edi
movzx eax, ax
push eax
push dword [edi + 8]
lea eax, [esp + 0x50]
push 0x30
push 0
push eax
push dword [ebp + 0x10]
push esi
call fcn.10198500
mov ebx, dword [esp + 0x54]
add esp, 0x28
test eax, eax
jne 0x10171832
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
jmp 0x10171382
xor ecx, ecx
mov eax, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
movzx eax, ax
push eax
push edi
push esi
mov dword [edi], ecx
call fcn.101718a0
mov eax, dword [ebx + 0x74]
add esp, 0xc
and eax, 0xffffff7f
mov dword [ebx + 0x1c], 0
or eax, 2
mov dword [ebx + 0x74], eax
test dword [ebp + 0x13c], 0x100
jne 0x101713cc
mov eax, dword [ebp + 8]
test byte [eax + 0x9c], 1
jne 0x101713cc
cmp dword [eax + 0x70], 0
jne 0x101713e5
push 0
push ebp
call fcn.101ab040
add esp, 8
test eax, eax
jne 0x10171832
mov eax, dword [ebx + 0x4c]
dec dword [eax + 0x58]
test byte [esp + 0x84], 1
jne 0x10171830
push 0
push 1
push 0
push ebp
call fcn.1016fd10
add esp, 0x10
test eax, eax
jne 0x10171832
test byte [esp + 0x84], 2
jne 0x10171830
cmp word [edi + 0x14], ax
jne 0x10171830
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jne 0x1017162c
cmp dword [edi + 0x10], 0
je 0x10171830
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x80]
push eax
push 2
push dword [ebp + 0x10]
lea eax, [edi + 0x10]
push dword [ebp + 0xc]
push eax
push ebx
call fcn.10109150
add esp, 0x18
test eax, eax
jne 0x10171832
mov ecx, dword [esp + 0x80]
cmp dword [ecx + 0x10], 0
lea eax, [ecx + 0x10]
je 0x1017149e
lea ecx, [esp + 0x18]
push ecx
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push ebx
call fcn.10109150
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1017183e
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x24]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10171517
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
je 0x10171517
test dword [ebp + 0x13c], 0x2000
jne 0x10171517
mov eax, dword [eax + 0x80]
test eax, eax
je 0x101714d4
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x101714d4
test byte [eax + 0x31c], 8
jne 0x10171517
mov dword [esp + 0x44], ecx
mov eax, dword [esi]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x44]
push dword [ecx + 0x10]
push ecx
push dword [ecx + 8]
push edi
push dword [edi + 8]
push 0
push eax
push edx
push esi
call fcn.10196700
mov esi, eax
add esp, 0x2c
test esi, esi
jne 0x1017183e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
jmp 0x10171526
xor ecx, ecx
mov eax, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x10], 0
je 0x1017155d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10171590
mov eax, dword [edi + 8]
mov dword [ecx + 0xc], eax
push dword [ebp + 0x14]
push dword [esp + 0x1c]
push dword [ebp + 0xc]
push ebx
call fcn.1010adb0
mov esi, eax
mov dword [esp + 0x28], 0
add esp, 0x10
test esi, esi
jne 0x1017183e
mov eax, dword [esp + 0x24]
mov ebx, dword [edi + 8]
mov esi, dword [edi]
mov edi, dword [edi + 4]
push dword [eax]
mov eax, dword [esp + 0x24]
push dword [esp + 0x84]
push eax
call fcn.102207f0
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], ebx
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 0xc], 0
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x90]
push 2
push 0
push ebx
push dword [eax + 8]
push ebp
call fcn.10174cd0
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x1017183a
mov ecx, dword [esp + 0x2c]
mov word [ecx + 0x18], ax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x24]
add dword [ecx + 0x70], eax
push dword [esp + 0x80]
push ebp
call fcn.101589c0
mov esi, eax
add esp, 8
test esi, esi
je 0x10171830
mov dword [esp + 0x80], 0
jmp 0x10171859
lea ecx, [esp + 0x14]
push ecx
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x24]
call fcn.10109150
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1017183a
cmp dword [edi + 0x10], esi
lea eax, [edi + 0x10]
je 0x1017168b
lea ecx, [esp + 0x80]
push ecx
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x24]
call fcn.10109150
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1017183a
mov edx, dword [esp + 0x80]
lea eax, [edi + 0x10]
jmp 0x10171698
mov dword [esp + 0x80], 0
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x101716b6
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10171726
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
je 0x10171726
test dword [ebp + 0x13c], 0x2000
jne 0x10171726
mov eax, dword [eax + 0x80]
test eax, eax
je 0x101716ec
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x101716ec
test byte [eax + 0x31c], 8
jne 0x10171726
push edx
push dword [edi + 0x10]
lea eax, [esp + 0x44]
push edi
push dword [edi + 8]
push dword [esp + 0x24]
push dword [edi + 0xc]
push 0x50
push 0
push eax
mov eax, dword [esp + 0x48]
push ecx
push eax
call fcn.10199d10
mov esi, eax
add esp, 0x2c
test esi, esi
jne 0x1017183a
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
jmp 0x10171735
xor edx, edx
mov ecx, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x80]
test edx, edx
je 0x10171756
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [edi + 0x10]
mov dword [edi + 4], ecx
test eax, eax
jne 0x10171786
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], 4
mov eax, dword [eax + 8]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x14]
jmp 0x10171793
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [esp + 0x2c], 3
mov word [ebx + 0x18], ax
mov dword [ebx + 8], 0
mov eax, dword [edi + 8]
push edi
push ebp
mov dword [esp + 0x40], eax
call fcn.101589c0
push dword [ebp + 0x14]
mov edi, dword [esp + 0x1c]
mov esi, eax
push dword [esp + 0x20]
push dword [ebp + 0xc]
push edi
call fcn.1010adb0
add esp, 0x18
test eax, eax
je 0x101717ce
test esi, esi
cmove esi, eax
mov eax, dword [esp + 0x80]
test eax, eax
je 0x101717ff
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push edi
call fcn.1010adb0
add esp, 0x10
test eax, eax
je 0x101717ff
test esi, esi
jne 0x1017188d
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
test esi, esi
jne 0x1017188d
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x30]
movzx eax, word [ebx + 0x18]
push eax
push dword [ebx + 0x14]
push dword [esp + 0x48]
push ebp
call fcn.10174cd0
add esp, 0x18
test eax, eax
jne 0x10171832
mov eax, dword [esp + 0x24]
add dword [ebx + 0x70], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x10171859
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.1010adb0
add esp, 0x10
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x10171875
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.1010adb0
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1017188d
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.1010adb0
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret