Function at 0x497e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a369
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
push ebx
push esi
push edi
mov eax, dword [0x5b1700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, eax
mov byte [ebp + 0x14], al
shr eax, 0x10
shr ecx, 0x18
shr edx, 8
mov byte [ebp + 0x16], al
mov eax, dword [ebp + 0x10]
mov byte [ebp + 0x15], dl
mov byte [ebp + 0x17], cl
mov ecx, eax
mov edx, eax
mov byte [ebp + 0x10], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
mov byte [ebp + 0x11], cl
mov byte [ebp + 0x12], dl
mov byte [ebp + 0x13], al
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
fld qword [ebp + 0x28]
fld qword [ebp + 0x18]
mov dword [ebp - 0x60], ebx
fsub st(1), st(0)
mov dword [ebp - 0x5c], ebx
fxch st(1)
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
fabs
mov dword [ebp - 0x50], ebx
fld qword [0x584dd0]
mov dword [ebp - 0x4c], ebx
fmul st(1), st(0)
fxch st(1)
fabs
fst qword [ebp - 0x30]
fld qword [ebp + 0x30]
fld qword [ebp + 0x20]
fsub st(1), st(0)
fxch st(1)
fabs
fmulp st(3)
fxch st(2)
fabs
fst qword [ebp - 0x40]
fxch st(3)
faddp st(1)
fstp qword [ebp - 0x38]
faddp st(1)
fstp qword [ebp - 0x48]
mov byte [ebp - 4], 2
fld qword [ebp + 0x40]
fld qword [ebp + 0x38]
mov byte [ebp + 0x34], bl
fsub st(1), st(0)
fld qword [0x584e90]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x497f8b
mov byte [ebp + 0x34], 1
fmul qword [0x57ef78]
fdivrp st(1)
fst qword [ebp + 0x38]
call fcn.0054ade0
fmul qword [ebp - 0x30]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x8c]
fld qword [ebp + 0x38]
call fcn.0054acb0
fmul qword [ebp - 0x40]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x84]
fld qword [ebp + 0x40]
fmul qword [0x57ef78]
fdiv qword [0x584e90]
fst qword [ebp + 0x40]
call fcn.0054ade0
fmul qword [ebp - 0x30]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x74]
fld qword [ebp + 0x40]
call fcn.0054acb0
fmul qword [ebp - 0x40]
push ebx
lea esi, [ebp - 0x24]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x7c]
call fcn.0049e050
mov ecx, dword [ebp - 0x24]
fld qword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
and ecx, 0xff
mov eax, ecx
shl eax, 4
add eax, dword [edx]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
mov byte [ecx + edx], 1
fstp qword [eax]
fld qword [ebp - 0x48]
fstp qword [eax + 8]
mov ebx, dword [ebp - 0x24]
add ebx, 1
mov dword [ebp - 0x24], ebx
shr ebx, 8
cmp ebx, dword [ebp - 0x20]
jb 0x498033
push ebx
call fcn.0049e050
mov ecx, dword [ebp - 0x24]
fld qword [ebp - 0x8c]
mov edx, dword [ebp - 0x18]
and ecx, 0xff
mov eax, ecx
shl eax, 4
add eax, dword [edx + ebx*4]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + ebx*4]
mov byte [ecx + edx], 2
fstp qword [eax]
fld qword [ebp - 0x84]
sub esp, 0x28
fstp qword [eax + 8]
mov eax, dword [ebp + 0x34]
fld qword [ebp - 0x7c]
add dword [ebp - 0x24], 1
fstp qword [esp + 0x20]
mov bl, 1
fld qword [ebp - 0x74]
fstp qword [esp + 0x18]
fldz
fstp qword [esp + 0x10]
fld qword [ebp - 0x40]
fstp qword [esp + 8]
fld qword [ebp - 0x30]
fstp qword [esp]
push eax
lea eax, [ebp - 0x24]
call fcn.0049a900
mov ecx, dword [ebp - 0x24]
xor ebx, ebx
cmp ecx, ebx
je 0x498101
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 1]
mov edx, eax
shr edx, 8
mov edx, dword [esi + edx*4]
and eax, 0xff
movzx eax, byte [edx + eax]
add eax, 0xffffffff
cmp eax, 0xd
ja 0x498101
mov edi, ecx
shr edi, 8
cmp edi, dword [ebp - 0x20]
jb 0x4980d6
push edi
lea esi, [ebp - 0x24]
call fcn.0049e050
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
fldz
and ecx, 0xff
mov eax, ecx
shl eax, 4
add eax, dword [edx + edi*4]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + edi*4]
mov edi, dword [ebp + 0xc]
mov byte [ecx + edx], 0x4f
fst qword [eax]
fst qword [eax + 8]
add dword [ebp - 0x24], 1
jmp 0x498103
fldz
fld1
lea eax, [ebp - 0x24]
fst qword [ebp - 0xc0]
mov dword [ebp + 0x40], eax
fstp qword [ebp - 0xa8]
lea ecx, [ebp - 0xc0]
lea eax, [ebp + 0x40]
lea esi, [ebp - 0x358]
fst qword [ebp - 0xb8]
mov dword [ebp + 0x44], ecx
fst qword [ebp - 0xb0]
fst qword [ebp - 0xa0]
fstp qword [ebp - 0x98]
call fcn.0049a0b0
mov byte [ebp - 4], 3
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x10]
mov edi, esi
call fcn.0049aa70
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
push edx
call fcn.0049aba0
add esp, 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x60]
call fcn.0049a800
mov ecx, dword [ebp - 0x10]
lea esi, [ebp - 0x1c4]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
call fcn.0049a6c0
lea esi, [ebp - 0x2a4]
call fcn.0049a6c0
fld1
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov ecx, 0x7fffffff
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ecx
mov byte [eax + 0x60], bl
mov dword [eax + 0x494], ebx
mov ecx, 0x80000001
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
fst qword [ebp - 0xf0]
fldz
lea eax, [ebp - 0xf0]
fst qword [ebp - 0xe8]
lea edx, [ebp - 0x60]
fst qword [ebp - 0xe0]
mov dword [ebp + 0x3c], eax
fst qword [ebp - 0xd0]
lea eax, [ebp + 0x38]
fstp qword [ebp - 0xc8]
lea esi, [ebp - 0x508]
mov dword [ebp + 0x38], edx
fstp qword [ebp - 0xd8]
call fcn.0049a0b0
mov ecx, esi
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a8], ecx
call fcn.00535862
mov dword [ebp - 0x10c], ebx
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 5
fld qword [edx + 0xb0]
sub esp, 8
mov ecx, eax
fstp qword [esp]
call fcn.0049a700
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x1a8]
call fcn.0049ac40
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
push edx
call fcn.0049aba0
add esp, 4
lea esi, [ebp - 0x144]
call fcn.0049a6c0
lea esi, [ebp - 0x158]
call fcn.0049a6c0
lea esi, [ebp - 0x374]
call fcn.0049a6c0
lea esi, [ebp - 0x454]
call fcn.0049a6c0
lea esi, [ebp - 0x60]
call fcn.0049ada0
lea esi, [ebp - 0x24]
call fcn.0049ada0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40