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

Disassembly:
mov ecx, dword [0x52fb9c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4173cd
sub esp, 0x88
mov eax, dword [0x52ff08]
test eax, eax
je 0x416d2f
add esp, 0x88
ret
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044c290
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x4173b6
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x41734e
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x417338
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
call fcn.00404e50
movzx eax, byte [esp + 4]
test al, al
jne 0x417322
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0046a2f0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x416dd1
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00416c80
movzx eax, byte [esp + 4]
test al, al
je 0x41730c
add esp, 0x88
ret
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
movzx ecx, byte [eax + 0x3e]
mov byte [esp], cl
call fcn.004283f0
movzx eax, byte [esp + 4]
test al, al
je 0x416df6
xor eax, eax
jmp 0x416e0d
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x44]
mov dword [esp], ecx
call fcn.004100b0
movzx eax, byte [esp + 4]
xor eax, 1
test al, al
jne 0x416e17
mov eax, dword [esp + 0x3c]
jmp 0x416e3d
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x3e]
mov byte [esp], al
call fcn.004283e0
movzx eax, byte [esp + 4]
test al, al
je 0x416e39
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 8]
jmp 0x416e3d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x416e85
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x416e5a
mov edx, 1
jmp 0x416e71
mov dword [esp], edx
call fcn.00401310
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x5c]
mov edx, eax
mov eax, dword [esp + 0x58]
test dl, dl
jne 0x4172f6
mov edx, dword [eax + 0x20]
cmp dword [edx], 0x10
jae 0x4172f6
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.0044c290
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x416ecc
lea eax, [0x417450]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.0046ede0
add esp, 0x88
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x41728e
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
call fcn.004017e0
movzx eax, byte [esp + 4]
test al, al
jne 0x4171d8
mov eax, dword [esp + 0x4c]
cmp word [eax + 0x20], 1
jne 0x417134
mov dword [esp], eax
call fcn.00401670
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
cmp eax, ecx
je 0x416fbf
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x416f74
cmp dl, 0x14
jne 0x41712d
mov edx, dword [eax + 0x28]
test edx, edx
je 0x416fbf
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.0044c290
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040a140
mov eax, dword [esp + 8]
test eax, eax
jne 0x416fbf
jmp 0x417124
mov dword [esp], eax
call fcn.00401370
mov eax, dword [esp + 4]
test eax, eax
jne 0x416f8b
mov eax, 1
jmp 0x416fa3
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00401370
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x41711b
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x20], ecx
jne 0x41707b
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00401710
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
xor edx, edx
xor ebx, ebx
jmp 0x417015
mov dword [esp + 0x40], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
movzx ebp, byte [ecx + 0xd]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00452bb0
mov eax, dword [esp + 0x48]
mov ebx, dword [eax]
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
add ebx, dword [esp + 8]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
cmp edx, ecx
jl 0x416fe1
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.00452bb0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
call fcn.004167d0
lea eax, [0x4173e0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0046ede0
add esp, 0x88
ret
mov dword [esp], edx
call fcn.00462c50
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004621f0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.00462c50
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004621f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4a6698]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x4a2145]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00452100
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046b0d0
mov edx, dword [esp + 0x58]
jmp 0x41707b
mov edx, dword [esp + 0x58]
jmp 0x41707b
mov edx, ecx
jmp 0x41707b
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00462c50
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004621f0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.00462c50
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004621f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4a6698]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x4a2145]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00452100
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046b0d0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00462c50
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004621f0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call fcn.00462c50
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004621f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4a6698]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
lea edx, [0x4a2145]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x4a2f51]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.004521b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046b0d0
mov dword [esp], ecx
call fcn.00462c50
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004621f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4a7695]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4a2823]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.00452070
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046b0d0
lea eax, [0x4a92db]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.0046b0d0
lea eax, [0x4a8951]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.0046b0d0
lea eax, [0x4a9199]
mov dword [esp], eax
mov dword [esp + 4], 0x40
call fcn.0046b0d0
lea eax, [0x4a2137]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0046b0d0
mov dword [esp], ecx
call fcn.00462c50
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.004621f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4a7462]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4a1d33]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.00452070
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046b0d0
lea eax, [0x4a7ad3]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.0046b0d0
nop
call fcn.0046eed0
jmp fcn.00416d00