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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50fb88
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.0050b2d0
mov ecx, dword [eax + 4]
call fcn.0050b672
xor ebx, ebx
lea ecx, [esi + 0x1150]
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x24], ecx
call fcn.004de680
mov eax, dword [esi + 0x260]
mov dword [esi + 0x260], ebx
mov dword [esp + 0x10], eax
mov eax, 0x522d18
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 + 0x1124]
mov byte [esp + 0x78], 4
cmp eax, ebx
je 0x41c0eb
mov eax, dword [esi + 0x1120]
mov ebp, dword [eax + 8]
jmp 0x41c0ed
xor ebp, ebp
xor edi, edi
cmp ebp, ebx
jle 0x41c166
lea ecx, [esp + 0x20]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.0041ba60
lea edx, [esp + 0x5c]
mov ecx, esi
push edx
push 2
push edi
call fcn.0041ba60
lea eax, [esp + 0x48]
mov ecx, esi
push eax
push 1
push edi
call fcn.0041ba60
lea ecx, [esp + 0x34]
push ecx
push 3
push edi
mov ecx, esi
call fcn.0041ba60
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 0x41c161
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.0049bbb0
add esp, 0x14
inc edi
cmp edi, ebp
jl 0x41c0f3
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
mov dword [esi + 0x260], edx
call fcn.004de680
mov eax, dword [esi + 0x10a8]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x41c1c9
mov eax, dword [esi + 0x10a4]
mov edi, dword [eax + ebp*4]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x20]
test eax, eax
je 0x41c1c0
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
inc eax
push eax
lea ecx, [esp + 0x28]
call fcn.004de680
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 0x41c18c
push ebx
push ebx
push 0x3feb3333
lea ebp, [esi + 0x268]
push 0x33333333
lea edx, [esp + 0x30]
push 0x3c
push edx
mov ecx, ebp
call fcn.004e5160
push eax
push 3
call fcn.004a1bb0
mov edi, dword [esi + 0x1158]
add esp, 0x20
dec edi
mov dword [esp + 0x14], 0
fstp st(0)
mov dword [esp + 0x18], 0
js 0x41c254
mov eax, dword [esi + 0x1154]
mov ecx, dword [eax + edi*4]
push ecx
mov ecx, ebp
call fcn.004e9360
mov edx, dword [esi + 0x1154]
mov ecx, dword [edx + edi*4]
call fcn.0048e7d0
fld qword [eax + 0x10]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x41c251
mov eax, dword [esi + 0x1154]
mov ecx, dword [eax + edi*4]
call fcn.0048e7d0
fld qword [eax + 0x10]
fstp qword [esp + 0x14]
dec edi
jns 0x41c20f
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
call fcn.004de680
mov esi, 0x522d18
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x38]
mov byte [esp + 0x78], 5
cmp eax, ebx
je 0x41c27f
push eax
call fcn.0050b204
add esp, 4
mov edi, 0x520384
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x78], 6
cmp eax, ebx
je 0x41c2a2
push eax
call fcn.0050b204
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 0x41c2c0
push eax
call fcn.0050b204
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 0x41c2de
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x78], 0xffffffff
call fcn.0050b2d0
mov ecx, dword [eax + 4]
call fcn.0050b66c
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