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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51fb28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0051afb0
mov ecx, dword [eax + 4]
call fcn.0051b3c4
xor ebx, ebx
lea ecx, [esi + 0x264]
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x24], ecx
call fcn.004ecdd0
mov eax, dword [esi + 0x27c]
mov dword [esi + 0x27c], ebx
mov dword [esp + 0x10], eax
mov eax, 0x534048
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov eax, dword [esi + 0x1144]
mov byte [esp + 0x78], 4
cmp eax, ebx
je 0x41ec7b
mov eax, dword [esi + 0x1140]
mov ebp, dword [eax + 8]
jmp 0x41ec7d
xor ebp, ebp
xor edi, edi
cmp ebp, ebx
jle 0x41ecf6
lea ecx, [esp + 0x20]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.0041f660
lea edx, [esp + 0x5c]
mov ecx, esi
push edx
push 2
push edi
call fcn.0041f660
lea eax, [esp + 0x48]
mov ecx, esi
push eax
push 1
push edi
call fcn.0041f660
lea ecx, [esp + 0x34]
push ecx
push 3
push edi
mov ecx, esi
call fcn.0041f660
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
add eax, edx
add eax, dword [esp + 0x64]
add eax, ecx
je 0x41ecf1
lea ecx, [esp + 0x34]
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push edi
call fcn.004a7e80
add esp, 0x14
inc edi
cmp edi, ebp
jl 0x41ec83
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
mov dword [esi + 0x27c], edx
call fcn.004ecdd0
mov eax, dword [esi + 0x10c8]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x41ed59
mov eax, dword [esi + 0x10c4]
mov edi, dword [eax + ebp*4]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x20]
test eax, eax
je 0x41ed50
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
inc eax
push eax
lea ecx, [esp + 0x28]
call fcn.004ecdd0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x41ed1c
push ebx
push ebx
push 0x3feb3333
lea ebp, [esi + 0x288]
push 0x33333333
lea edx, [esp + 0x30]
push 0x3c
push edx
mov ecx, ebp
call fcn.004f3a70
push eax
push 3
call fcn.004ae690
add esp, 0x20
mov ecx, esi
fstp st(0)
call fcn.0041e2c0
mov edi, dword [esi + 0x26c]
mov dword [esp + 0x14], 0
dec edi
mov dword [esp + 0x18], 0
js 0x41edeb
mov eax, dword [esi + 0x268]
mov ecx, dword [eax + edi*4]
push ecx
mov ecx, ebp
call fcn.004f8730
mov edx, dword [esi + 0x268]
mov ecx, dword [edx + edi*4]
call fcn.00498b90
fld qword [eax + 0x10]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x41ede8
mov eax, dword [esi + 0x268]
mov ecx, dword [eax + edi*4]
call fcn.00498b90
fld qword [eax + 0x10]
fstp qword [esp + 0x14]
dec edi
jns 0x41eda6
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
call fcn.004ecdd0
mov esi, 0x534048
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x38]
mov byte [esp + 0x78], 5
cmp eax, ebx
je 0x41ee16
push eax
call fcn.0051aee4
add esp, 4
mov edi, 0x53138c
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x78], 6
cmp eax, ebx
je 0x41ee39
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x60]
mov byte [esp + 0x78], 7
cmp eax, ebx
je 0x41ee57
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x78], 8
cmp eax, ebx
je 0x41ee75
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], 0xffffffff
call fcn.0051afb0
mov ecx, dword [eax + 4]
call fcn.0051b3be
mov ecx, dword [esp + 0x70]
pop edi
fld qword [esp + 0x10]
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret