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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c78e8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x522d80]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, ecx
xor edi, edi
or ebx, 0xffffffff
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
xor esi, esi
cmp dword [ebp + 0x104], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], esi
jle 0x41be7a
lea ecx, [ecx]
push esi
mov ecx, ebp
call fcn.0041a0e0
test eax, eax
jne 0x41be69
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
lea ebx, [ebp + 0xbc]
push ecx
mov ecx, ebx
call fcn.0041afb0
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebp + 0xbc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
test edi, edi
je 0x41bbe5
cmp edi, eax
je 0x41bbea
call fcn.00497123
cmp esi, ebx
je 0x41be60
test edi, edi
jne 0x41bccc
call fcn.00497123
cmp esi, dword [edi + 0x18]
jne 0x41bc09
call fcn.00497123
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x30]
mov ebx, 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
cmp eax, ebx
jne 0x41be0b
cmp edi, 0xffffffff
je 0x41be0b
mov eax, dword [ebp + 0x11c]
sub eax, dword [ebp + 0x118]
sar eax, 2
cmp edi, eax
jb 0x41bc76
call fcn.00497123
mov ecx, dword [ebp + 0x118]
mov esi, dword [ecx + edi*4]
xor ecx, ecx
cmp dword [esi + 0xb8], ecx
je 0x41be0b
cmp dword [ebp + 0x1910], ebx
jne 0x41bca1
cmp dword [esi + 0x1ac], ebx
je 0x41be0b
mov eax, 0x270f
cmp dword [esi + 0x2a0], eax
je 0x41bcd3
cmp dword [esi + 0x2a4], eax
je 0x41bcd3
mov edx, dword [esi + 0x2a0]
mov eax, dword [esi + 0x2a4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
jmp 0x41bcdb
mov edi, dword [edi]
jmp 0x41bbff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x58]
push ecx
mov ecx, dword [esi + 0x28c]
add ecx, 0x68
fstp dword [esp + 0x28]
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
call dword [0x4cf6bc]
fld dword [ebp + 0x18b8]
mov ecx, dword [eax]
fsub dword [esp + 0x24]
mov edi, dword [0x4cf69c]
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], ebx
jne 0x41bdc7
cmp dword [esi + 0x138], 0
jne 0x41bdc7
mov ecx, dword [esi + 0x190]
mov edx, dword [esi + 0x194]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x160]
push 0
add ecx, 0x68
mov dword [esp + 0x3c], edx
call dword [0x4cf6bc]
fld dword [ebp + 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 0x41be0b
mov ecx, dword [esi + 0x28c]
push 0
add ecx, 0x68
call dword [0x4cf6bc]
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 [0x4cf60c]
lea ecx, [esp + 0x2c]
call fcn.00419ab0
mov ecx, dword [ebp + 0xd4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov ebx, ecx
jne 0x41be3d
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0xc]
jge 0x41be34
mov ebx, eax
mov eax, dword [eax]
jmp 0x41be37
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x41be25
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 0xbc]
test edi, edi
je 0x41be4f
cmp edi, eax
je 0x41be54
call fcn.00497123
mov esi, dword [esp + 0x30]
cmp esi, ebx
jne 0x41bbf2
mov esi, dword [esp + 0x18]
or ebx, 0xffffffff
xor edi, edi
inc esi
cmp esi, dword [ebp + 0x104]
mov dword [esp + 0x18], esi
jl 0x41bba0
cmp dword [ebp + 0x18c8], edi
je 0x41bf1a
cmp dword [ebp + 0x1854], 1
jne 0x41bebd
mov ecx, dword [ebp + 0x1858]
push edi
add ecx, 0x68
call dword [0x4cf6bc]
fld dword [0x4d015c]
mov ecx, dword [eax]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call dword [0x4cf69c]
mov eax, dword [ebp + 0x18bc]
cmp dword [eax + 0xd0], ebx
jne 0x41bed1
mov dword [eax + 0xd0], edi
mov ecx, dword [ebp + 0x18bc]
push edi
add ecx, 0x68
call dword [0x4cf6bc]
mov edx, dword [eax]
cmp byte [edx + 0x260], 0
jne 0x41bf1a
mov ecx, dword [ebp + 0x18bc]
push edi
add ecx, 0x68
call dword [0x4cf6bc]
fld dword [0x4d015c]
mov ecx, dword [eax]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call dword [0x4cf69c]
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