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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x583ae8]
push ebx
push esi
mov ebx, dword [ebp + 0x10]
mov edx, dword [eax + 0xbc]
mov esi, dword [eax + 0xc0]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
mov edx, dword [eax + 0xc4]
mov esi, dword [eax + 0xc8]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], esi
mov edx, dword [eax + 0xcc]
mov esi, dword [ebp + 0xc]
mov eax, dword [eax + 0xd0]
xor ecx, ecx
test esi, esi
push edi
mov dword [esp + 0x4c], 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], 0x78b58c40
mov dword [esp + 0x3c], 0x4415af1d
mov dword [esp + 0x40], 0x78b58c40
mov dword [esp + 0x44], 0xc415af1d
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
je 0x4ee242
mov eax, esi
test dword [eax + 4], 0x400000
je 0x4ee239
test byte [eax], 0x10
jne 0x4ee239
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4ee239
inc ecx
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x4ee223
jmp 0x4ee266
test ebx, ebx
mov eax, ebx
je 0x4ee26a
mov edx, dword [eax + 0x120]
test edx, edx
je 0x4ee25f
mov edx, dword [eax]
test dh, 0x20
jne 0x4ee25f
add ecx, dword [eax + 0x124]
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x4ee248
mov dword [esp + 0x28], ecx
push 0x20
push ecx
call fcn.00547150
mov edx, eax
add esp, 8
test edx, edx
mov dword [esp + 0x30], edx
jne 0x4ee28b
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, ebx
test esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], 0
je 0x4ee51c
lea ecx, [edx + 0x1c]
mov dword [esp + 0x20], ecx
jmp 0x4ee2b4
mov eax, dword [esp + 0x1c]
test dword [eax + 4], 0x400000
je 0x4ee508
test byte [eax], 0x10
jne 0x4ee508
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x4ee508
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xd8]
add eax, 0xffffffe4
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [ebx]
test ah, 0x20
je 0x4ee31f
fld dword [ebx + 0x40]
fstp qword [esp + 0x70]
jmp 0x4ee32f
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.00457540
mov edi, dword [esp + 0x2c]
mov ecx, 6
lea esi, [esp + 0x68]
lea edx, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x60]
lea eax, [ebx + 0x10]
push ecx
push edx
push eax
call fcn.00456f40
mov eax, dword [0x583ae8]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00457370
mov esi, dword [esp + 0x50]
add esp, 0x1c
test esi, esi
je 0x4ee386
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4ee38c
fstp qword [esp + 0x10]
jmp 0x4ee38e
fstp st(0)
mov edx, dword [0x583ae8]
fild dword [edx + 0x24]
fsubr qword [esp + 0x50]
call fcn.00547c92
mov edi, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [0x583ae8]
fild dword [eax + 0x30]
fsub qword [esp + 0x58]
fsub qword [0x550f30]
call fcn.00547c92
mov ecx, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ebx, dword [ebx + 0xc]
inc esi
add edi, 8
add ecx, 0x18
cmp esi, 3
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
jl 0x4ee2f3
fld qword [esp + 0x10]
mov esi, dword [esp + 0x20]
fstp dword [esi - 4]
fld qword [esp + 0x10]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x4ee40d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fld qword [esp + 0x10]
fcomp qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x4ee42c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea edx, [esp + 0xd8]
lea eax, [esp + 0xf0]
push edx
lea ecx, [esp + 0x94]
push eax
push ecx
call fcn.00418e20
lea edx, [esp + 0x9c]
push edx
call fcn.00418ee0
lea eax, [esp + 0x100]
lea ecx, [esp + 0x118]
push eax
lea edx, [esp + 0xd4]
push ecx
push edx
fstp st(0)
call fcn.00418e20
lea eax, [esp + 0xdc]
push eax
call fcn.00418ee0
lea ecx, [esp + 0xc8]
lea edx, [esp + 0xe0]
push ecx
lea eax, [esp + 0xb4]
push edx
push eax
fstp st(0)
call fcn.00419040
lea ecx, [esp + 0xd4]
fstp st(0)
push ecx
call fcn.00418ee0
lea edx, [esp + 0xa8]
lea eax, [esp + 0xd8]
push edx
push eax
fstp st(0)
call fcn.00418fd0
fmul qword [0x55d3b0]
add esp, 0x38
call fcn.00547c92
mov dword [esi], eax
mov eax, dword [esp + 0xc]
inc eax
mov ecx, 0x64
mov dword [esp + 0xc], eax
add esi, 0x20
cdq
idiv ecx
mov dword [esp + 0x20], esi
test edx, edx
jne 0x4ee500
call fcn.004b38d0
test eax, eax
jne 0x4ee78e
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 0x34]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x4ee2b0
jmp 0x4ee6a5
test ebx, ebx
je 0x4ee6a5
jmp 0x4ee52a
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x120]
test esi, esi
je 0x4ee696
mov eax, dword [ecx]
test ah, 0x20
jne 0x4ee696
test esi, esi
mov dword [esp + 0x20], esi
je 0x4ee696
mov eax, dword [esp + 0xc]
shl eax, 5
lea ecx, [eax + edx + 0x1c]
mov dword [esp + 0x1c], ecx
jmp 0x4ee564
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
xor ebx, ebx
lea edi, [edx - 0x1c]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call fcn.00457540
lea edx, [esp + 0x58]
lea eax, [esp + 0x60]
push edx
push eax
push esi
call fcn.00456f40
mov ecx, dword [0x583ae8]
push ecx
push esi
call fcn.00457370
add esp, 0x1c
test ebx, ebx
je 0x4ee5a9
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x4ee5af
fstp qword [esp + 0x10]
jmp 0x4ee5b1
fstp st(0)
mov edx, dword [0x583ae8]
fild dword [edx + 0x24]
fsubr qword [esp + 0x58]
call fcn.00547c92
mov dword [edi], eax
mov eax, dword [0x583ae8]
fild dword [eax + 0x30]
fsub qword [esp + 0x50]
fsub qword [0x550f30]
call fcn.00547c92
mov dword [edi + 4], eax
inc ebx
add edi, 8
add esi, 0x18
cmp ebx, 3
jl 0x4ee56d
fld qword [esp + 0x10]
mov esi, dword [esp + 0x1c]
fstp dword [esi - 4]
fld qword [esp + 0x10]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x4ee615
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fld qword [esp + 0x10]
fcomp qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x4ee634
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x78]
push edx
lea eax, [edi + 0x48]
push eax
call fcn.00418fd0
fmul qword [0x55d3b0]
add esp, 8
call fcn.00547c92
mov dword [esi], eax
mov eax, dword [esp + 0xc]
inc eax
mov ecx, 0x64
mov dword [esp + 0xc], eax
add esi, 0x20
cdq
idiv ecx
mov dword [esp + 0x1c], esi
test edx, edx
jne 0x4ee67f
call fcn.004b38d0
test eax, eax
jne 0x4ee78e
mov edi, dword [edi + 0x60]
test edi, edi
mov dword [esp + 0x20], edi
jne 0x4ee560
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x78]
test ecx, ecx
mov dword [esp + 0x24], ecx
jne 0x4ee526
mov eax, dword [esp + 0x28]
push 0x4ee7b0
push 0x20
push eax
push edx
call dword [0x550cdc]
add esp, 0x10
push 8
call dword [0x5502a4]
mov esi, dword [ebp + 8]
push eax
push esi
call dword [0x5502c8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
xor ebx, ebx
xor edi, edi
test eax, eax
mov dword [esp + 0x2c], 0xffffffff
jle 0x4ee774
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x1c]
test eax, eax
jl 0x4ee73d
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0x20
jl 0x4ee710
mov eax, 0x1f
cmp eax, dword [esp + 0x2c]
je 0x4ee72f
mov dword [esp + 0x2c], eax
mov eax, dword [eax*4 + 0x57f230]
push eax
push esi
call dword [0x5502c8]
test ebx, ebx
jne 0x4ee72f
mov ebx, eax
mov ecx, dword [esp + 0xc]
push 3
push ecx
push esi
call dword [0x55023c]
mov eax, edi
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x4ee754
call fcn.004b38d0
test eax, eax
jne 0x4ee768
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
inc edi
add ecx, 0x20
cmp edi, eax
mov dword [esp + 0xc], ecx
jl 0x4ee6f2
test ebx, ebx
je 0x4ee774
push ebx
push esi
call dword [0x5502c8]
mov edx, dword [esp + 0x34]
push edx
push esi
call dword [0x5502c8]
cmp edi, dword [esp + 0x28]
jl 0x4ee78e
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
push 0x20
push eax
push ecx
call fcn.0054714a
mov eax, dword [esp + 0x58]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret