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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417ccd
add esp, 0xffffff80
mov eax, dword [0x60a710]
test eax, eax
je 0x4176c7
sub esp, 0xffffff80
ret
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.00449960
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x417cb6
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x417c5a
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x417c44
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.004046d0
movzx eax, byte [esp + 4]
test al, al
jne 0x417c2e
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004132c0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x417766
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
lea ecx, [0x60a3a8]
cmp eax, ecx
je 0x417762
lea ecx, [0x5a5560]
jmp 0x417be6
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x417794
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x417bc8
mov ebx, dword [edx + 4]
test ebx, ebx
jne 0x417bc8
cmp dword [edx], 0x10
jae 0x417bc8
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.00449960
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4177df
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x417d50]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00463d60
sub esp, 0xffffff80
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x417b6c
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.0045d7c0
movzx eax, byte [esp + 4]
test al, al
jne 0x417ace
mov eax, dword [esp + 0x44]
cmp word [eax + 0x20], 1
jne 0x417a42
mov dword [esp], eax
call fcn.0045d6b0
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x50]
cmp eax, ecx
je 0x4178dd
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x417892
cmp dl, 0x14
jne 0x417a3b
mov edx, dword [eax + 0x28]
test edx, edx
je 0x4178dd
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.00449960
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040a260
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4178dd
jmp 0x417a32
mov dword [esp], eax
call fcn.0045ccc0
mov eax, dword [esp + 4]
test eax, eax
jne 0x4178a9
mov eax, 1
jmp 0x4178c1
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0045ccc0
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x417a29
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
cmp dword [edx + 0x20], ecx
jne 0x4179a1
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0045d720
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
xor edx, edx
xor ebx, ebx
jmp 0x417933
mov dword [esp + 0x38], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x40], ecx
movzx ebp, byte [ecx + 0xd]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00451af0
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x40]
add ebx, dword [eax]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jl 0x4178ff
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00451af0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
call fcn.004171e0
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0046537a
lea eax, [0x417ce0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.00463d60
sub esp, 0xffffff80
ret
mov dword [esp], edx
call fcn.0045cc40
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.0045cc40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x50cc1b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x505b62]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.004509b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00438c50
mov edx, dword [esp + 0x50]
jmp 0x4179a1
mov edx, dword [esp + 0x50]
jmp 0x4179a1
mov edx, ecx
jmp 0x4179a1
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0045cc40
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.0045cc40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x50cc1b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x505b62]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.004509b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00438c50
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.0045cc40
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.0045cc40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x50cc1b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x505b62]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x506f36]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.00450a60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00438c50
mov dword [esp], ecx
call fcn.0045cc40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x50dfd5]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x506510]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.00450910
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00438c50
lea eax, [0x50ff0c]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.00438c50
mov ecx, dword [ecx + 0x118]
mov eax, edx
test ecx, ecx
je 0x417c18
mov edx, eax
cmp dword [ecx + 0x60], eax
ja 0x417bf6
cmp dword [ecx + 0x64], eax
ja 0x417c14
cmp dword [ecx + 0x68], eax
ja 0x417c00
cmp dword [ecx + 0x6c], eax
ja 0x417c14
cmp dword [ecx + 0x70], eax
ja 0x417c0a
cmp dword [ecx + 0x74], eax
ja 0x417c14
cmp dword [ecx + 0x78], eax
ja 0x417bde
cmp dword [ecx + 0x7c], eax
jbe 0x417bde
sub esp, 0xffffff80
ret
lea eax, [0x50f50b]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.00438c50
lea eax, [0x50fecc]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.00438c50
lea eax, [0x505ef0]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00438c50
mov dword [esp], ecx
call fcn.0045cc40
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x50dd4c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x505767]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.00450910
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00438c50
lea eax, [0x50e4c3]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.00438c50
nop
call fcn.00463e70
jmp fcn.004176a0