Function at 0x49e360
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dafa9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x554
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov eax, dword [eax]
cmp eax, 3
jge 0x49e3c4
mov edx, dword [ebp + 0x14]
mov ecx, 0x10
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
mov ecx, 4
mov dword [eax], 0x3f800000
add eax, 0x14
dec ecx
jne 0x49e3a3
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jle 0x49e88d
cmp eax, 4
jge 0x49e3f2
mov ecx, dword [ebp + 0x14]
push 4
push ecx
call fcn.00405810
add esp, 8
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push fcn.004011f0
push fcn.004294b0
push 2
lea edx, [esp + 0xa8]
push 0x18
push edx
call fcn.004ce784
xor ebx, ebx
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x1e8]
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x1e4], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x268]
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x468]
mov dword [esp + 0x460], eax
mov dword [esp + 0x464], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x368]
mov dword [esp + 0x360], eax
mov dword [esp + 0x364], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x3e8]
mov dword [esp + 0x3e0], eax
mov dword [esp + 0x3e4], eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x568], ebx
mov ecx, dword [edi]
cmp ecx, ebx
jle 0x49e536
fld qword [esp + 0xc4]
fld qword [esp + 0xbc]
fld qword [esp + 0xb4]
fld qword [esp + 0xac]
mov eax, dword [ebp + 0xc]
mov edx, esi
fld qword [esp + 0xa4]
fld qword [esp + 0x9c]
add eax, 8
sub edx, dword [ebp + 0xc]
fadd dword [esi]
fld dword [esi + 4]
faddp st(2)
fld dword [edx + eax]
faddp st(3)
fld dword [eax - 8]
faddp st(4)
fld dword [eax - 4]
faddp st(5)
fld dword [eax]
add esi, 0xc
add eax, 0xc
dec ecx
faddp st(6)
jne 0x49e4e9
fstp qword [esp + 0x9c]
fstp qword [esp + 0xa4]
fstp qword [esp + 0xac]
fstp qword [esp + 0xb4]
fstp qword [esp + 0xbc]
fstp qword [esp + 0xc4]
lea ecx, [esp + 0x9c]
push edi
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.00429a10
lea eax, [esp + 0xc0]
push edi
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00429a10
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
add esp, 0x18
mov dword [esp + 0x38], ebx
cmp dword [edx], ebx
jle 0x49e78f
mov ecx, dword [ebp + 0xc]
mov eax, edi
sub eax, ecx
lea esi, [ecx + 4]
mov dword [esp + 0x10], eax
jmp 0x49e585
mov eax, dword [esp + 0x10]
fld dword [esi - 4]
fsub qword [esp + 0xb4]
fst qword [esp + 0x268]
fld dword [esi]
fsub qword [esp + 0xbc]
fst qword [esp + 0x14]
fstp qword [esp + 0x270]
fld dword [esi + 4]
fsub qword [esp + 0xc4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x298], ecx
mov dword [esp + 0x29c], edx
fst qword [esp + 0x278]
fld st(1)
fchs
fst qword [esp + 0x24]
fstp qword [esp + 0x280]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
fld st(0)
fchs
fst qword [esp + 0x54]
fstp qword [esp + 0x290]
fld qword [esp + 0x14]
fchs
fst qword [esp + 0x14]
fstp qword [esp + 0x2a0]
mov dword [esp + 0x2b8], ecx
mov ecx, dword [esp + 0x54]
fstp qword [esp + 0x2a8]
mov dword [esp + 0x2bc], edx
mov edx, dword [esp + 0x58]
fstp qword [esp + 0x2d0]
fld dword [edi]
fsub qword [esp + 0x9c]
mov dword [esp + 0x2c0], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c4], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x2c8], ecx
fst qword [esp + 0x1e8]
fld dword [esi + eax]
fsub qword [esp + 0xa4]
fstp qword [esp + 0x14]
fld dword [edi + 8]
fsub qword [esp + 0xac]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], ecx
mov ecx, dword [esp + 0x14]
fst qword [esp + 0x1f8]
fld st(1)
fchs
fst qword [esp + 0x24]
fstp qword [esp + 0x200]
mov dword [esp + 0x248], ecx
mov ecx, dword [esp + 0x28]
fst qword [esp + 0x210]
fld qword [esp + 0x14]
fchs
fst qword [esp + 0x218]
fstp qword [esp + 0x220]
mov dword [esp + 0x254], ecx
fchs
fst qword [esp + 0x54]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
fstp qword [esp + 0x228]
mov dword [esp + 0x240], edx
mov edx, dword [esp + 0x18]
fstp qword [esp + 0x238]
mov dword [esp + 0x24c], edx
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x460]
push edx
mov dword [esp + 0x254], eax
push 4
lea eax, [esp + 0x1e8]
push 4
lea ecx, [esp + 0x26c]
push eax
push ecx
call fcn.00405b20
lea edx, [esp + 0x3f4]
lea eax, [esp + 0x374]
push edx
push 4
push 4
lea ecx, [esp + 0x480]
push eax
push ecx
call fcn.004a2bd0
lea edx, [esp + 0x388]
lea eax, [esp + 0x408]
push edx
push 4
push 4
push eax
call fcn.00447820
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x70]
add esp, 0x38
inc eax
mov edx, dword [ecx]
add edi, 0xc
add esi, 0xc
cmp eax, edx
mov dword [esp + 0x38], eax
jl 0x49e581
xor edx, edx
lea eax, [esp + 0xdc]
mov dword [esp + 0xd0], edx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xd4], edx
push eax
mov dword [esp + 0xdc], edx
push ecx
lea edx, [esp + 0x368]
push 4
push edx
mov dword [esp + 0xdc], 0
call fcn.004a3f10
mov esi, dword [ebp + 0x14]
lea eax, [esp + 0xdc]
push esi
push 4
lea ecx, [esp + 0xb4]
push eax
push ecx
fstp st(0)
call fcn.004a42c0
mov edi, dword [ebp + 0x18]
push edi
push 4
push 4
push esi
call fcn.004a0320
mov dword [edi + 0xc], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x2c], ebx
add esp, 0x30
fld dword [esi + 4]
fmul dword [esi + 0x34]
fld dword [esi + 8]
fmul dword [esi + 0x38]
push fcn.004011f0
push 2
lea edx, [esp + 0xa4]
push 0x18
faddp st(1)
fld dword [esi + 0x30]
fmul dword [esi]
push edx
mov dword [esp + 0x578], 0xffffffff
faddp st(1)
fchs
fstp dword [edi + 0x30]
fld dword [esi + 0x14]
fmul dword [esi + 0x34]
fld dword [esi + 0x10]
fmul dword [esi + 0x30]
faddp st(1)
fld dword [esi + 0x18]
fmul dword [esi + 0x38]
faddp st(1)
fchs
fstp dword [edi + 0x34]
fld dword [esi + 0x24]
fmul dword [esi + 0x34]
fld dword [esi + 0x20]
fmul dword [esi + 0x30]
faddp st(1)
fld dword [esi + 0x28]
fmul dword [esi + 0x38]
faddp st(1)
fchs
fstp dword [edi + 0x38]
call fcn.004ce690
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x568], 1
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov esi, dword [ebp + 8]
lea eax, [esp + 0x54]
mov byte [esp + 0x568], 6
lea edi, [esi + 0xc]
lea ecx, [esi + 0x18]
push edi
push eax
call fcn.004051f0
lea ecx, [esp + 0x24]
push esi
push ecx
mov ecx, eax
call fcn.004051f0
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x8c]
call fcn.004051b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x84]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x1c], 3
call fcn.00450340
mov ebx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebx + 0xc]
lea ecx, [ebx + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004051f0
lea ecx, [esp + 0x24]
push ebx
push ecx
mov ecx, eax
call fcn.004051f0
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x98]
call fcn.004051b0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x90]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x1c], 3
call fcn.00450340
lea eax, [esi + 0x18]
push eax
push edi
push esi
lea eax, [esp + 0x6c]
push eax
call fcn.0041a100
add esp, 0x1c
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x80]
call fcn.004051b0
lea eax, [ebx + 0x18]
lea edx, [esp + 0x54]
push eax
lea eax, [ebx + 0xc]
push eax
push ebx
push edx
call fcn.0041a100
add esp, 0x10
lea ecx, [esp + 0x6c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004051b0
lea ecx, [esp + 0x78]
call fcn.00405150
lea ecx, [esp + 0x6c]
call fcn.00405150
lea ecx, [esp + 0x84]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, esi
call fcn.00405230
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
call fcn.004051b0
lea ecx, [esp + 0x3c]
call fcn.00405150
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.00417d60
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
call fcn.004051b0
lea ecx, [esp + 0x48]
call fcn.00405150
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0xe8]
mov dword [esp + 0x160], eax
rep stosd dword es:[edi], eax
fld dword [esp + 0x78]
mov ecx, 0x1e
lea edi, [esp + 0x168]
mov dword [esp + 0x164], eax
mov dword [esp + 0x2e0], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x2e8]
mov dword [esp + 0x2e4], eax
mov dword [esp + 0x4e0], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x4e8]
mov dword [esp + 0x4e4], eax
mov dword [esp + 0xf8], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0xfc], 0x3ff00000
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0x3ff00000
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], 0x3ff00000
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], 0x3ff00000
fstp qword [esp + 0xe0]
fld dword [esp + 0x7c]
lea ecx, [esp + 0x90]
lea edx, [esp + 0x54]
fstp qword [esp + 0xe8]
fld dword [esp + 0x80]
push ecx
push edx
fstp qword [esp + 0xf8]
fld dword [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0x180], eax
fstp qword [esp + 0x108]
fld dword [esp + 0x48]
mov dword [esp + 0x184], 0x3ff00000
mov dword [esp + 0x1a0], eax
fstp qword [esp + 0x110]
fld dword [esp + 0x4c]
mov dword [esp + 0x1a4], 0x3ff00000
mov dword [esp + 0x1c0], eax
fstp qword [esp + 0x118]
fld dword [esp + 0x50]
mov dword [esp + 0x1c4], 0x3ff00000
mov dword [esp + 0x1e0], eax
fstp qword [esp + 0x128]
fld dword [esp + 0x54]
mov dword [esp + 0x1e4], 0x3ff00000
fstp qword [esp + 0x130]
fld dword [esp + 0x58]
fstp qword [esp + 0x138]
call fcn.00405230
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
call fcn.004051b0
lea ecx, [esp + 0x3c]
call fcn.00405150
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x74]
call fcn.00417d60
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x50]
call fcn.004051b0
lea ecx, [esp + 0x48]
call fcn.00405150
fld dword [esp + 0x6c]
lea ecx, [esp + 0x2e0]
lea edx, [esp + 0x160]
fstp qword [esp + 0x160]
fld dword [esp + 0x70]
push ecx
push 4
fstp qword [esp + 0x170]
fld dword [esp + 0x7c]
push edx
fstp qword [esp + 0x17c]
fld dword [esp + 0x48]
fstp qword [esp + 0x18c]
fld dword [esp + 0x4c]
fstp qword [esp + 0x194]
fld dword [esp + 0x50]
fstp qword [esp + 0x19c]
fld dword [esp + 0x54]
fstp qword [esp + 0x1ac]
fld dword [esp + 0x58]
fstp qword [esp + 0x1b4]
fld dword [esp + 0x5c]
fstp qword [esp + 0x1bc]
call fcn.004a2620
lea eax, [esp + 0x4ec]
lea ecx, [esp + 0xec]
push eax
push 4
push 4
push ecx
lea edx, [esp + 0x2fc]
push edx
call fcn.00405b20
add esp, 0x20
lea eax, [esp + 0x90]
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.00405230
lea edx, [esp + 0xe0]
mov byte [esp + 0x568], 7
push edx
push eax
call fcn.00405a00
mov esi, dword [ebp + 0x14]
lea eax, [esp + 0x4e8]
push esi
push 4
push 4
lea ecx, [esp + 0xf4]
push eax
push ecx
mov byte [esp + 0x584], 6
call fcn.00405bd0
add esp, 0x1c
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], 0
call fcn.00405110
lea edx, [esp + 0x84]
lea ecx, [esp + 0x24]
push edx
push ecx
mov ecx, eax
call fcn.00405230
lea edx, [esp + 0xe0]
mov byte [esp + 0x568], 9
push edx
push eax
call fcn.00405a00
lea eax, [esp + 0x168]
lea ecx, [esp + 0x8c]
push eax
push ecx
mov byte [esp + 0x578], 6
call fcn.00405a00
lea edx, [esp + 0x2f0]
lea eax, [esp + 0xf0]
push edx
push 4
push 4
push esi
push eax
call fcn.0042a250
push esi
push 4
lea ecx, [esp + 0x18c]
push 4
lea edx, [esp + 0x310]
push ecx
push edx
call fcn.00405bd0
mov edi, dword [ebp + 0x18]
push edi
push 4
push 4
push esi
call fcn.004a0320
add esp, 0x48
xor ebx, ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x2c], ebx
mov ecx, dword [esp + 0x560]
fld dword [esi + 4]
fmul dword [esi + 0x34]
fld dword [esi + 8]
fmul dword [esi + 0x38]
faddp st(1)
fld dword [esi + 0x30]
fmul dword [esi]
faddp st(1)
fchs
fstp dword [edi + 0x30]
fld dword [esi + 0x14]
fmul dword [esi + 0x34]
fld dword [esi + 0x10]
fmul dword [esi + 0x30]
faddp st(1)
fld dword [esi + 0x18]
fmul dword [esi + 0x38]
faddp st(1)
fchs
fstp dword [edi + 0x34]
fld dword [esi + 0x24]
fmul dword [esi + 0x34]
fld dword [esi + 0x20]
fmul dword [esi + 0x30]
faddp st(1)
fld dword [esi + 0x28]
fmul dword [esi + 0x38]
faddp st(1)
fchs
fstp dword [edi + 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret