Function at 0x41bf30
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 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 0x41c296
jmp 0x41bfb0
push esi
mov ecx, ebx
call fcn.0041a0e0
test eax, eax
jne 0x41c285
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
lea ebp, [ebx + 0xbc]
push ecx
mov ecx, ebp
call fcn.0041afb0
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 0x41bff5
cmp edi, eax
je 0x41bffa
call fcn.00497123
cmp esi, ebp
je 0x41c281
test edi, edi
jne 0x41c0d9
call fcn.00497123
cmp esi, dword [edi + 0x18]
jne 0x41c019
call fcn.00497123
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 0x41c070
call fcn.00497123
mov edx, dword [ebx + 0x118]
mov esi, dword [edx + edi*4]
mov eax, dword [esi + 0x28c]
xor edx, edx
cmp eax, edx
je 0x41c22c
cmp dword [esi + 0xb8], edx
je 0x41c212
mov ebp, 1
cmp dword [ebx + 0x1910], ebp
jne 0x41c0ae
cmp dword [esi + 0x1ac], ebp
je 0x41c22c
mov ecx, 0x270f
cmp dword [esi + 0x2a0], ecx
je 0x41c0e0
cmp dword [esi + 0x2a4], ecx
je 0x41c0e0
mov ecx, dword [esi + 0x2a0]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x2a4]
mov dword [esp + 0x1c], ecx
jmp 0x41c0e8
mov edi, dword [edi]
jmp 0x41c00f
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 [0x4cf6bc]
fld dword [ebx + 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], ebp
jne 0x41c1ce
cmp dword [esi + 0x138], 0
jne 0x41c1ce
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 [0x4cf6bc]
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 0x41c212
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]
mov ecx, dword [esi + 0x28c]
push 0
add ecx, 0x68
call dword [0x4cf6bc]
mov eax, dword [eax]
or byte [eax + 0x260], 2
lea ecx, [esp + 0x2c]
call fcn.00419ab0
mov ecx, dword [ebx + 0xd4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov ebp, ecx
jne 0x41c25e
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0xc]
jge 0x41c255
mov ebp, eax
mov eax, dword [eax]
jmp 0x41c258
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x41c246
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0xbc]
test edi, edi
je 0x41c270
cmp edi, eax
je 0x41c275
call fcn.00497123
mov esi, dword [esp + 0x30]
cmp esi, ebp
jne 0x41c002
mov esi, dword [esp + 0x18]
inc esi
cmp esi, dword [ebx + 0x104]
mov dword [esp + 0x18], esi
jl 0x41bfb0
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