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

Disassembly:
push 0xffffffffffffffff
push 0x5641ca
mov eax, dword fs:[0]
push eax
mov eax, 0x10dc
call fcn.0054f760
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x10f0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x1104]
xor ebp, ebp
mov eax, ecx
mov dword [esp + 0x18], ebp
call fcn.00499c00
cmp eax, 3
jle 0x417ec8
lea eax, [esp + 0x1c]
push eax
lea edx, [ebp + 3]
call fcn.004997c0
mov dword [esp + 0x10f8], ebp
mov esi, 0x606060
mov dword [esp + 0x18], 1
call fcn.0049a660
test al, al
je 0x417ec8
mov bl, 1
jmp 0x417eca
xor bl, bl
mov byte [esp + 0x20], bl
mov dword [esp + 0x10f8], 0xffffffff
test byte [esp + 0x18], 1
je 0x417eee
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x1c]
call fcn.00499450
movzx edi, bl
neg edi
sbb edi, edi
and edi, 0x4c
movzx esi, bl
add edi, 0x61000030
neg esi
sbb esi, esi
and esi, 0x4c
movzx eax, bl
add esi, 0x61000031
neg eax
sbb eax, eax
and eax, 0x4c
add eax, 0x61000033
mov dword [esp + 0x30], eax
movzx eax, bl
mov ebx, dword [esp + 0x1100]
neg eax
sbb eax, eax
and eax, 0x4c
add eax, 0x61000032
push ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], eax
call fcn.00417b30
lea ecx, [esp + 0x14]
call fcn.004992d0
mov dword [esp + 0x10f8], 1
add ebx, 0x14
mov eax, ebx
call fcn.0049cb10
test eax, eax
jle 0x418072
push 0
or edi, 0xffffffff
mov eax, 0x606068
lea esi, [esp + 0x38]
call fcn.004993c0
mov byte [esp + 0x10f8], 2
mov eax, ebp
mov ecx, ebx
call fcn.00418750
cmp byte [eax], 0
mov eax, dword [esp + 0x30]
jne 0x417fa0
mov eax, dword [esp + 0x38]
mov ecx, dword [0x67f9a0]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
call fcn.0049c100
mov byte [esp + 0x10f8], 3
mov eax, dword [esp + 0x20]
push eax
mov eax, ebp
mov ecx, ebx
call fcn.00418750
add eax, 4
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004183e0
mov byte [esp + 0x10f8], 4
call fcn.00408130
push eax
lea ecx, [esp + 0x40]
call fcn.0049c590
mov byte [esp + 0x10f8], 3
lea ecx, [esp + 0x24]
call fcn.00499450
push 0
lea ecx, [esp + 0x40]
call fcn.0049c6b0
or edi, 0xffffffff
lea esi, [esp + 0x20]
call fcn.004993c0
mov byte [esp + 0x10f8], 5
mov edx, esi
push edx
lea edi, [esp + 0x18]
call fcn.00499570
mov byte [esp + 0x10f8], 3
mov ecx, esi
call fcn.00499450
mov byte [esp + 0x10f8], 2
lea ecx, [esp + 0x3c]
call fcn.0049c2c0
mov byte [esp + 0x10f8], 1
lea ecx, [esp + 0x34]
call fcn.00499450
mov eax, ebx
inc ebp
call fcn.0049cb10
cmp ebp, eax
jl 0x417f6f
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [0x67f9a0]
push eax
push edi
lea ecx, [esp + 0x78]
push ecx
call fcn.0049c100
mov byte [esp + 0x10f8], 6
push 0xffffffffffffffff
lea ecx, [esp + 0x74]
call fcn.0049c6b0
push eax
push 0
lea edi, [esp + 0x20]
call fcn.004996b0
lea edx, [esp + 0xa4]
push edx
call fcn.0049cd30
mov bl, 7
mov byte [esp + 0x10f8], bl
mov ecx, 2
lea eax, [esp + 0xa4]
call fcn.0049ce70
call fcn.0049ce90
mov eax, dword [esp + 0x1104]
push ecx
push ecx
call fcn.00408130
push eax
lea ecx, [esp + 0xb0]
call fcn.0049ceb0
mov eax, dword [0x67f9a0]
push eax
push esi
lea ecx, [esp + 0x44]
push ecx
call fcn.0049c100
mov byte [esp + 0x10f8], 8
lea edx, [esp + 0x3c]
push edx
lea edi, [esp + 0x74]
call fcn.0049c450
mov byte [esp + 0x10f8], bl
lea ecx, [esp + 0x3c]
call fcn.0049c2c0
mov ecx, edi
call fcn.0049c6b0
mov ecx, eax
or eax, 0xffffffff
lea edi, [esp + 0x14]
call fcn.00499650
mov ecx, edi
lea edx, [esp + 0xa4]
call fcn.0049d200
mov bl, al
mov byte [esp + 0x10f8], 6
lea ecx, [esp + 0xa4]
call fcn.0049ce00
mov byte [esp + 0x10f8], 1
lea ecx, [esp + 0x70]
call fcn.0049c2c0
mov dword [esp + 0x10f8], 0xffffffff
mov ecx, edi
call fcn.00499450
mov al, bl
mov ecx, dword [esp + 0x10f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10e8
ret 8