Function at 0x4972f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5009fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x28], ebp
mov eax, dword [ebp + 0x40]
fld qword [eax + 0x10]
fcom qword [0x508230]
fnstsw ax
test ah, 1
je 0x497353
mov ecx, dword [ebp + 0x38]
fstp st(0)
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx + 0x58]
mov eax, dword [ecx]
call dword [eax + 0x1c]
fcom qword [0x508230]
fnstsw ax
test ah, 1
je 0x497353
fstp st(0)
fld qword [0x511960]
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x10]
fmul qword [0x508260]
fld qword [ecx + 8]
fmul qword [0x508260]
mov eax, dword [ebp + 0x14]
push 0x40
fstp qword [esp + 0x18]
fld qword [0x508628]
fsub qword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
fsub st(1)
fstp qword [esp + 0x70]
fstp st(0)
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x74], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x118], ebx
je 0x4973f2
push ebx
push ebx
push 0x46293e59
lea edi, [esi + 0x10]
push 0x39a08cea
push 0x46293e59
push 0x39a08cea
mov ecx, edi
call fcn.004d5c00
push ebx
push ebx
push 0xc6293e59
push 0x39a08cea
push 0xc6293e59
push 0x39a08cea
lea ecx, [edi + 0x18]
call fcn.004d5c00
mov dword [esi], 0x5085fc
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
jmp 0x4973f4
xor esi, esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x130], 0xffffffff
mov dword [esp + 0x28], esi
call fcn.004d5c00
mov edx, dword [esp + 0x14]
mov ecx, 6
mov esi, eax
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00494740
add esp, 0x18
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x40]
call fcn.004d5f60
fld qword [0x50add0]
fsub qword [esp + 0x14]
push 0x40080000
push ebx
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x5c]
sub esp, 8
rep movsd dword es:[edi], dword [esi]
fstp qword [esp]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004947d0
push 0x40080000
push ebx
push 0x3ff7bc89
lea edx, [esp + 0x64]
push 0xcf95b8d0
lea eax, [esp + 0x80]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.004947d0
add esp, 0x38
lea ecx, [esp + 0x54]
push ebx
push ebx
push 0xbff00000
push ebx
push ebx
push ebx
call fcn.004d6080
lea ecx, [esp + 0x54]
call fcn.004d5ff0
mov edx, dword [ebp + 0x18]
sub esp, 8
fstp st(0)
fld qword [edx + 8]
fld qword [esp + 0x6c]
fmul st(1)
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x6c]
fmul st(1)
fstp qword [esp]
fld qword [esp + 0x64]
fmul st(1)
sub esp, 8
lea ecx, [esp + 0xe0]
fstp qword [esp]
fstp st(0)
call fcn.004d5c00
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xb0]
lea eax, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xe0]
push eax
push ecx
lea ecx, [esp + 0xb8]
call fcn.004d5c60
mov edx, dword [ebp + 0x18]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
fld qword [edx + 8]
fchs
fstp qword [esp + 0x88]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00496230
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov ebp, eax
mov eax, dword [esp + 0x38]
mov esi, dword [ecx + 8]
lea edx, [ecx + 8]
cmp esi, ebx
jne 0x497594
mov dword [ecx + 0xc], eax
mov dword [edx], eax
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x4975b6
mov esi, dword [ecx + 0xc]
add ecx, 0xc
mov esi, dword [esi + 8]
mov dword [eax + 8], esi
mov esi, dword [ecx]
mov dword [eax + 0xc], esi
mov esi, dword [ecx]
mov dword [esi + 8], eax
mov edx, dword [edx]
mov dword [ecx], eax
cmp dword [edx + 0xc], ebx
je 0x4975b6
mov dword [edx + 0xc], eax
lea eax, [esp + 0x80]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00496230
mov esi, eax
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00445eb0
fld qword [esp + 0x6c]
fchs
fld st(0)
fsin
push ebx
push ebx
sub esp, 8
lea ecx, [esp + 0x90]
sub esp, 8
fmul qword [esp + 0x34]
fstp qword [esp + 8]
fcos
fmul qword [esp + 0x34]
fstp qword [esp]
call fcn.004d6080
lea eax, [esp + 0x80]
lea ecx, [esp + 0xf8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004d5c00
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00496230
add esp, 0xc
lea ecx, [esp + 0x98]
mov edi, eax
call fcn.004d5be0
lea edx, [esp + 0x78]
lea eax, [esp + 0x7c]
push edx
mov edx, dword [edi]
lea ecx, [esp + 0x9c]
push eax
push ecx
mov ecx, edi
call dword [edx + 0xc]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push eax
call fcn.00466450
add esp, 0x1c
lea ecx, [esp + 0x98]
push ecx
mov ecx, edi
call fcn.0043d690
lea edx, [esp + 0x98]
mov ecx, esi
push edx
call fcn.0043d5c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0xc]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00496230
mov edx, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov esi, dword [ecx + 8]
lea edx, [ecx + 8]
cmp esi, ebx
jne 0x4976ed
mov dword [ecx + 0xc], eax
mov dword [edx], eax
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x49770f
mov esi, dword [ecx + 0xc]
add ecx, 0xc
mov esi, dword [esi + 8]
mov dword [eax + 8], esi
mov esi, dword [ecx]
mov dword [eax + 0xc], esi
mov esi, dword [ecx]
mov dword [esi + 8], eax
mov edx, dword [edx]
mov dword [ecx], eax
cmp dword [edx + 0xc], ebx
je 0x49770f
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov esi, dword [ecx + 8]
lea edx, [ecx + 8]
cmp esi, ebx
jne 0x49772e
mov dword [ecx + 0xc], eax
mov dword [edx], eax
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x497750
mov esi, dword [ecx + 0xc]
add ecx, 0xc
mov esi, dword [esi + 8]
mov dword [eax + 8], esi
mov esi, dword [ecx]
mov dword [eax + 0xc], esi
mov esi, dword [ecx]
mov dword [esi + 8], eax
mov edx, dword [edx]
mov dword [ecx], eax
cmp dword [edx + 0xc], ebx
je 0x497750
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov esi, dword [ecx + 8]
lea edx, [ecx + 8]
cmp esi, ebx
jne 0x49776f
mov dword [ecx + 0xc], eax
mov dword [edx], eax
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x497791
mov esi, dword [ecx + 0xc]
add ecx, 0xc
mov esi, dword [esi + 8]
mov dword [eax + 8], esi
mov esi, dword [ecx]
mov dword [eax + 0xc], esi
mov esi, dword [ecx]
mov dword [esi + 8], eax
mov edx, dword [edx]
mov dword [ecx], eax
cmp dword [edx + 0xc], ebx
je 0x497791
mov dword [edx + 0xc], eax
mov ecx, dword [0x538f24]
mov edx, dword [0x538f20]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.0043f940
mov esi, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0xc]
mov ecx, dword [edx + 0x58]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.004948e0
mov ecx, dword [esp + 0x24]
add esp, 0x14
call fcn.0043d060
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret