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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x884a3b
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push esi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esp + 0x58], esi
mov dword [esi + 0x2c], 0xffff
mov dword [esi + 0x30], 0xffff0001
fld1
mov edx, dword [ebp + 0x18]
fst dword [esp + 0x90]
fst dword [esp + 0x94]
mov dword [esi + 0x84], edx
mov edx, dword [esp + 0x90]
fst dword [esp + 0x98]
mov dword [esi], 0x48d908
fld dword [eax + 8]
fstp dword [esp + 0x28]
mov dword [esp + 0x9c], edx
fld dword [eax + 0xc]
mov edx, dword [esp + 0x94]
fstp dword [esp + 0x2c]
mov dword [esp + 0xa0], edx
fld dword [eax + 0x10]
mov edx, dword [esp + 0x98]
fstp dword [esp + 0x30]
mov dword [esp + 0xa4], edx
fld dword [eax + 0x14]
mov edx, dword [esp + 0x28]
fstp dword [esp + 0x90]
mov dword [esp + 0xa8], edx
fld dword [eax + 0x18]
mov edx, dword [esp + 0x2c]
fstp dword [esp + 0x94]
mov dword [esp + 0xac], edx
fld dword [eax + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x90]
fstp dword [esp + 0x98]
fld dword [0x48d900]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x94]
fld qword [0x48d8f8]
fld qword [0x48d8f0]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
cmp byte [ebp + 0xc], bl
je 0x842545
fxch st(2)
fst dword [esp + 0x9c]
fld dword [esp + 0xa0]
fmul st(2)
fstp dword [esp + 0xa0]
fld dword [esp + 0xa4]
fmul st(2)
fstp dword [esp + 0xa4]
fld dword [esp + 0x28]
fmul st(3)
fstp dword [esp + 0xa8]
fld dword [esp + 0xac]
fmul st(3)
fstp dword [esp + 0xac]
fld dword [esp + 0xb0]
fmul st(3)
fstp dword [esp + 0xb0]
fld dword [esp + 0x90]
fmul st(3)
fstp dword [esp + 0xb4]
fld dword [esp + 0xb8]
fmul st(3)
fstp dword [esp + 0xb8]
fld dword [esp + 0xbc]
fmul st(3)
fstp dword [esp + 0xbc]
fxch st(2)
fxch st(3)
fst dword [esp + 0x90]
mov edx, dword [esp + 0x90]
fst dword [esp + 0x94]
mov eax, dword [esp + 0x94]
fstp dword [esp + 0x98]
mov dword [esp + 0x34], edx
fld dword [ecx + 8]
mov edx, dword [esp + 0x98]
fstp dword [esp + 0x90]
mov dword [esp + 0x38], eax
fld dword [ecx + 0xc]
mov eax, dword [esp + 0x90]
fstp dword [esp + 0x94]
mov dword [esp + 0x3c], edx
fld dword [ecx + 0x10]
mov edx, dword [esp + 0x94]
fstp dword [esp + 0x98]
mov dword [esp + 0x40], eax
fld dword [ecx + 0x14]
mov eax, dword [esp + 0x98]
fstp dword [esp + 0x28]
mov dword [esp + 0x44], edx
fld dword [ecx + 0x18]
mov dword [esp + 0x48], eax
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
fld dword [ecx + 0x1c]
mov ecx, dword [esp + 0x28]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
cmp byte [ebp + 0x14], bl
je 0x842645
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x90]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul st(1)
fstp dword [esp + 0x50]
fmul dword [esp + 0x54]
fstp dword [esp + 0x54]
jmp 0x84264b
fstp st(2)
fstp st(1)
fstp st(0)
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0xa0]
call fcn.008422f0
push eax
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x3c]
call fcn.00841e20
fld dword [esp + 0x9c]
fmul qword [0x41f688]
sub esp, 8
fstp qword [esp]
call fcn.0085ee40
fld dword [esp + 0xb0]
mov dword [esi + 0x5c], eax
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
fld dword [esp + 0xbc]
mov dword [esi + 0x60], eax
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
fld dword [esp + 0xb4]
mov dword [esi + 0x64], eax
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
fld dword [esp + 0xc0]
mov dword [esi + 0x6c], eax
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
fld dword [esp + 0xb8]
mov dword [esi + 0x70], eax
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
fld dword [esp + 0xc4]
mov dword [esi + 0x78], eax
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
fldz
add esp, 8
fst dword [esp + 0x90]
mov dword [esi + 0x7c], eax
fld dword [0x48d8ec]
cmp byte [ebp + 0x14], bl
je 0x842737
fst dword [esp + 0x90]
fxch st(1)
fstp dword [esp + 0x28]
cmp byte [ebp + 0xc], bl
je 0x842748
fstp dword [esp + 0x28]
jmp 0x84274a
fstp st(0)
fld dword [esp + 0x90]
lea eax, [esp + 0x9c]
fchs
push eax
fstp dword [esp + 0x94]
lea ecx, [esp + 0x94]
fld dword [0x48d8e8]
push ecx
lea edx, [esp + 0x64]
fst dword [esp + 0x9c]
push edx
fstp dword [esp + 0xa4]
call fcn.008420a0
fld dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x9c], ecx
fadd dword [esp + 0x9c]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
fstp dword [esp + 0x34]
add esp, 4
fld dword [esp + 0x9c]
fld qword [0x48d238]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x34]
fadd dword [esp + 0xa0]
fstp dword [esp + 0x38]
fld dword [esp + 0x30]
fmul qword [0x43a398]
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
fld dword [esp + 0x34]
add eax, 0x8000
fmul qword [0x43a398]
mov dword [esi + 0x68], eax
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
fld dword [esp + 0x38]
add eax, 0x8000
fmul qword [0x43a398]
mov dword [esi + 0x74], eax
fmul qword [0x41f688]
fstp qword [esp]
call fcn.0085ee40
add esp, 8
add eax, 0x8000
mov dword [esi + 0x80], eax
mov eax, esi
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0080262b
mov esp, ebp
pop ebp
ret 0x14