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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6598
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521da0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
cmp dword [ebx + 0x104], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x18], esi
jle 0x41a916
jmp 0x41a630
push esi
mov ecx, ebx
call fcn.00418710
test eax, eax
jne 0x41a905
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
lea ebp, [ebx + 0xbc]
push ecx
mov ecx, ebp
call fcn.00419600
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ebp, dword [ebp + 0x18]
mov eax, dword [ebx + 0xbc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
test edi, edi
je 0x41a675
cmp edi, eax
je 0x41a67a
call fcn.00496353
cmp esi, ebp
je 0x41a901
test edi, edi
jne 0x41a759
call fcn.00496353
cmp esi, dword [edi + 0x18]
jne 0x41a699
call fcn.00496353
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x10]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x11c]
sub ecx, dword [ebx + 0x118]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x30]
sar ecx, 2
mov dword [esp + 0x44], edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
cmp edi, ecx
jb 0x41a6f0
call fcn.00496353
mov edx, dword [ebx + 0x118]
mov esi, dword [edx + edi*4]
mov eax, dword [esi + 0x28c]
xor edx, edx
cmp eax, edx
je 0x41a8ac
cmp dword [esi + 0xb8], edx
je 0x41a892
mov ebp, 1
cmp dword [ebx + 0x1910], ebp
jne 0x41a72e
cmp dword [esi + 0x1ac], ebp
je 0x41a8ac
mov ecx, 0x270f
cmp dword [esi + 0x2a0], ecx
je 0x41a760
cmp dword [esi + 0x2a4], ecx
je 0x41a760
mov ecx, dword [esi + 0x2a0]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x2a4]
mov dword [esp + 0x1c], ecx
jmp 0x41a768
mov edi, dword [edi]
jmp 0x41a68f
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x58]
push edx
lea ecx, [eax + 0x68]
fstp dword [esp + 0x28]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
call dword [0x4ce6cc]
fld dword [ebx + 0x18b8]
mov ecx, dword [eax]
fsub dword [esp + 0x24]
mov edi, dword [0x4ce6ac]
sub esp, 0xc
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 8]
fild dword [esp + 0x5c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fild dword [esp + 0x58]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call edi
cmp dword [esi + 0xd4], ebp
jne 0x41a84e
cmp dword [esi + 0x138], 0
jne 0x41a84e
mov ecx, dword [esi + 0x160]
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x194]
push 0
add ecx, 0x68
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call dword [0x4ce6cc]
fld dword [ebx + 0x18b8]
fsub dword [esp + 0x24]
mov ecx, dword [eax]
sub esp, 0xc
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 8]
fild dword [esp + 0x44]
fadd dword [esp + 0x28]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fild dword [esp + 0x40]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call edi
fld1
fcomp dword [esi + 0x244]
fnstsw ax
test ah, 0x44
jnp 0x41a892
mov ecx, dword [esi + 0x28c]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
fld1
mov ecx, dword [eax]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esi + 0x244]
fstp dword [esp + 4]
fld dword [esi + 0x244]
fstp dword [esp]
call dword [0x4ce614]
mov ecx, dword [esi + 0x28c]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
mov eax, dword [eax]
or byte [eax + 0x260], 2
lea ecx, [esp + 0x2c]
call fcn.004180c0
mov ecx, dword [ebx + 0xd4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov ebp, ecx
jne 0x41a8de
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0xc]
jge 0x41a8d5
mov ebp, eax
mov eax, dword [eax]
jmp 0x41a8d8
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x41a8c6
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0xbc]
test edi, edi
je 0x41a8f0
cmp edi, eax
je 0x41a8f5
call fcn.00496353
mov esi, dword [esp + 0x30]
cmp esi, ebp
jne 0x41a682
mov esi, dword [esp + 0x18]
inc esi
cmp esi, dword [ebx + 0x104]
mov dword [esp + 0x18], esi
jl 0x41a630
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret