Function at 0x4282e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511566
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
push 0xc
mov dword [ebp - 0x18], esi
call fcn.004eb990
xor ebx, ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
push 0xc
mov dword [ebp - 4], ebx
call fcn.004eb990
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
add esp, 8
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
mov dword [ebp + 8], 0x80
mov eax, dword [eax + 0x5c]
mov dword [esi + 8], ebx
mov dword [esi], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0x40900000
push 0x30
call fcn.004eb990
mov edi, eax
call fcn.004977e0
and eax, 0x8000001f
jns 0x428381
dec eax
or eax, 0xffffffe0
inc eax
sub eax, 0x10
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x10], eax
mov dword [edi + 0x14], ebx
fild dword [ebp - 0x10]
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], 0xbff80000
mov dword [edi + 0x28], 0xa0
fstp qword [edi]
fild dword [ebp + 8]
fstp qword [edi + 8]
call fcn.004977e0
cdq
mov ecx, 3
push 0xc
idiv ecx
mov dword [edi + 0x2c], edx
call fcn.004eb990
mov edx, dword [esi + 0x30]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x30]
add esp, 8
mov dword [ecx + 4], eax
mov dword [eax], edi
mov edi, dword [esi + 0x34]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 8]
inc edi
add eax, 0x40
mov dword [esi + 0x34], edi
cmp eax, 0x168
mov dword [ebp + 8], eax
jl 0x428367
fld qword [0x52c5d8]
fst qword [ebp - 0x20]
fld qword [0x52c628]
fmul st(1)
mov dword [ebp - 0x14], 0x9ba5e354
mov dword [ebp - 0x10], 0x400920c4
fst qword [ebp - 0x30]
fmul qword [0x52c668]
fstp qword [ebp - 0x40]
fld qword [0x52c560]
fsub st(1)
fstp qword [ebp - 0x48]
fstp st(0)
push 0x30
call fcn.004eb990
fld qword [ebp - 0x14]
fcos
mov edi, eax
fstp qword [ebp - 0x38]
call fcn.004977e0
and eax, 0x8000000f
jns 0x42844c
dec eax
or eax, 0xfffffff0
inc eax
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x30]
faddp st(1)
fsub qword [0x52c998]
fstp qword [edi]
fld qword [ebp - 0x14]
fsin
fstp qword [ebp - 0x28]
call fcn.004977e0
and eax, 0x8000000f
jns 0x42847b
dec eax
or eax, 0xfffffff0
inc eax
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fld qword [ebp - 0x40]
fmul qword [ebp - 0x28]
faddp st(1)
fsub qword [0x52c998]
fsub qword [0x52a0b0]
fstp qword [edi + 8]
fld qword [ebp - 0x38]
fmul qword [ebp - 0x20]
fmul qword [str.UUUUUU]
fstp qword [edi + 0x10]
fld qword [ebp - 0x28]
fmul qword [ebp - 0x20]
fmul qword [0x52c668]
fsub qword [0x52a0f0]
fstp qword [edi + 0x18]
fld qword [ebp - 0x28]
fmul qword [0x52c9c0]
fsubr qword [0x52e638]
call fcn.004fb4c8
mov dword [edi + 0x28], eax
call fcn.004977e0
cdq
mov ecx, 3
push 0xc
idiv ecx
mov dword [edi + 0x2c], edx
call fcn.004eb990
fld qword [ebp - 0x48]
fadd qword [ebp - 0x14]
mov edx, dword [esi + 0x30]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x30]
add esp, 8
fst qword [ebp - 0x14]
fcomp qword [0x52e630]
mov dword [ecx + 4], eax
mov dword [eax], edi
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x30], eax
inc ecx
fnstsw ax
mov dword [esi + 0x34], ecx
test ah, 5
jnp 0x42842a
fld qword [ebp - 0x20]
fsub qword [0x52a0f0]
fcom qword [0x52a0c0]
fst qword [ebp - 0x20]
fnstsw ax
and eax, 0x4100
je 0x4283fb
fstp st(0)
fld qword [0x52c5d8]
fst qword [ebp - 0x20]
jmp 0x428550
xor ebx, ebx
fld qword [0x52c568]
fmul st(1)
mov dword [ebp - 0x14], 0x9ba5e354
mov dword [ebp - 0x10], 0x400920c4
fst qword [ebp - 0x38]
fmul qword [0x52c668]
fstp qword [ebp - 0x48]
fld qword [0x52c560]
fsub st(1)
fstp qword [ebp - 0x40]
fstp st(0)
jmp 0x428583
xor ebx, ebx
push 0x30
call fcn.004eb990
fld qword [ebp - 0x14]
fcos
mov edi, eax
fstp qword [ebp - 0x30]
call fcn.004977e0
and eax, 0x8000000f
jns 0x4285a5
dec eax
or eax, 0xfffffff0
inc eax
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fld qword [ebp - 0x30]
fmul qword [ebp - 0x38]
faddp st(1)
fsub qword [0x52c998]
fstp qword [edi]
fld qword [ebp - 0x14]
fsin
fstp qword [ebp - 0x28]
call fcn.004977e0
and eax, 0x8000000f
jns 0x4285d4
dec eax
or eax, 0xfffffff0
inc eax
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fld qword [ebp - 0x48]
fmul qword [ebp - 0x28]
faddp st(1)
fsub qword [0x52c998]
fstp qword [edi + 8]
fld qword [ebp - 0x30]
fmul qword [ebp - 0x20]
fmul qword [0x52c668]
fstp qword [edi + 0x10]
fld qword [ebp - 0x28]
fmul qword [ebp - 0x20]
fmul qword [0x52c960]
fsub qword [0x52c580]
fstp qword [edi + 0x18]
fld qword [ebp - 0x28]
fmul qword [0x52c9c0]
fsubr qword [0x52e638]
call fcn.004fb4c8
mov dword [edi + 0x28], eax
call fcn.004977e0
cdq
mov ecx, 3
push 0xc
idiv ecx
mov dword [edi + 0x2c], edx
call fcn.004eb990
mov edx, dword [esi + 0x30]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x30]
push 0x30
mov dword [ecx + 4], eax
mov dword [eax], edi
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x30], eax
inc ecx
mov dword [esi + 0x34], ecx
call fcn.004eb990
mov edx, dword [edi]
mov ebx, eax
mov dword [ebx], edx
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [ebx + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [ebx + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [ebx + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
call fcn.004977e0
cdq
mov ecx, 3
idiv ecx
mov dword [ebx + 0x20], edx
call fcn.004977e0
and eax, 0x8000007f
jns 0x4286b0
dec eax
or eax, 0xffffff80
inc eax
add eax, 0x17f
push 0xc
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fstp qword [ebx + 0x28]
call fcn.004eb990
fld qword [ebp - 0x40]
fadd qword [ebp - 0x14]
mov edx, dword [esi + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x20]
add esp, 0x10
fst qword [ebp - 0x14]
fcomp qword [0x52e630]
mov dword [ecx + 4], eax
mov dword [eax], ebx
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x20], eax
inc ecx
fnstsw ax
mov dword [esi + 0x24], ecx
test ah, 5
jnp 0x428581
fld qword [ebp - 0x20]
fsub qword [0x52a0f0]
fcom qword [0x52a0c0]
fst qword [ebp - 0x20]
fnstsw ax
and eax, 0x4100
je 0x42854e
mov edi, dword [esi + 4]
push 0xc
fstp st(0)
add edi, 0x264
call fcn.004eb990
mov edx, dword [edi + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], edx
mov ecx, dword [edi + 8]
add esp, 4
mov dword [ecx + 4], eax
mov dword [eax], esi
mov ecx, dword [edi + 0xc]
mov dword [edi + 8], eax
inc ecx
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4