Function at 0x46ed40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67a4db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
mov dword [esi], 0x6bc014
mov dword [esi + 4], ebx
lea ebp, [esi + 8]
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.005860e0
mov dword [ebp], 0x6b97b8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esi], 0x6b967c
mov dword [ebp], 0x6b9670
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x5c], eax
lea edx, [esi + 0xc]
add eax, 0x40
push str.PhysMov
push edx
mov byte [esp + 0x24], 1
mov dword [esi + 4], ecx
mov dword [esi + 0x58], eax
mov dword [esi + 0x78], 0x3f800000
call fcn.0059aad0
mov eax, dword [0x72ad94]
push eax
call fcn.00599cb0
add esp, 0xc
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 2
je 0x46edf6
mov ecx, dword [esi + 0x54]
add ecx, 0x110
push ecx
push eax
call fcn.00560a10
jmp 0x46edf8
xor eax, eax
push eax
mov ecx, ebp
mov byte [esp + 0x20], 1
mov dword [esi + 0x20], eax
call fcn.00586000
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x20]
fld dword [edx + 0x290]
fstp dword [eax + 0x1e4]
mov eax, dword [esp + 0x2c]
movsx eax, byte [eax + 0xd8]
mov ecx, dword [esi + 0x20]
mov dword [ecx + 0x13c], eax
mov ecx, dword [0x72ad98]
push ecx
call fcn.00599cb0
add esp, 4
cmp eax, ebx
je 0x46ee55
mov ecx, dword [esi + 0x54]
lea edx, [eax + 0x10]
mov dword [eax + 4], ecx
mov dword [eax], 0x6b96a0
mov dword [eax + 8], edx
jmp 0x46ee57
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esp + 0x28], ebx
lea edi, [esi + 0x38]
mov eax, dword [0x72ad9c]
push eax
call fcn.00599cb0
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x1c], 3
je 0x46eeb0
mov ecx, dword [esi + 0x54]
lea edx, [ecx + 0x270]
push edx
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
shl eax, 5
lea eax, [eax + ecx + 0xd0]
push eax
lea eax, [ecx + edx + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x58]
push eax
push ecx
call fcn.00562a00
jmp 0x46eeb2
xor eax, eax
mov edx, dword [0x72adac]
push edx
mov byte [esp + 0x20], 1
mov dword [edi], eax
call fcn.00599cb0
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
xor eax, eax
cmp ecx, eax
mov byte [esp + 0x1c], 4
je 0x46ef0f
cmp dword [esp + 0x28], 0x60
jge 0x46eee3
mov eax, dword [esi + 0x24]
mov dword [esp + 0x30], eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esi + 0x54]
sar eax, 1
shl eax, 5
lea eax, [eax + edx + 0x170]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [edi]
push edx
mov edx, dword [esi + 0x20]
push eax
push ecx
mov ecx, ebx
call fcn.00564390
mov ecx, dword [edi]
push ecx
mov ecx, ebp
mov byte [esp + 0x20], 1
mov dword [edi - 0x10], eax
call fcn.00586000
mov edx, dword [edi - 0x10]
push edx
mov ecx, ebp
call fcn.00586000
mov eax, dword [esp + 0x28]
add eax, 0x30
inc ebx
add edi, 4
cmp eax, 0xc0
mov dword [esp + 0x28], eax
jl 0x46ee61
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [ecx + 0x18], eax
mov eax, dword [0x72ada0]
push eax
call fcn.00599cb0
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x1c], 5
je 0x46ef9a
mov ecx, dword [esi + 0x58]
push ecx
mov ecx, dword [esi + 0x54]
add ecx, 0x1f0
push eax
call fcn.00468f20
jmp 0x46ef9c
xor eax, eax
push eax
mov ecx, ebp
mov byte [esp + 0x20], 1
mov dword [esi + 0x48], eax
call fcn.00586000
mov edx, dword [esp + 0x2c]
movsx eax, byte [edx + 0xd8]
mov ecx, dword [esi + 0x48]
mov dword [ecx + 0x74], eax
mov eax, dword [0x72ada4]
push eax
call fcn.00599cb0
mov ecx, eax
add esp, 4
mov dword [esp + 0x2c], ecx
test ecx, ecx
mov byte [esp + 0x1c], 6
je 0x46f03b
mov edi, dword [esi + 0x54]
fld dword [edi + 0x1c0]
fcomp dword [0x6bdbb0]
fnstsw ax
test ah, 5
jp 0x46eff7
mov eax, 1
jmp 0x46eff9
xor eax, eax
fld dword [edi + 0x1c0]
xor edx, edx
fcomp dword [0x6bdbac]
test eax, eax
sete dl
fnstsw ax
test ah, 0x41
jne 0x46f018
mov edx, 2
mov eax, dword [esi + 0x58]
imul edx, edx, 0x6c
push eax
lea eax, [esi + 0x38]
push eax
add edi, 0x1b0
push edi
push ecx
mov ecx, dword [esi + 0x48]
add edx, 0x6e3460
call fcn.00469b10
jmp 0x46f03d
xor eax, eax
push eax
mov ecx, ebp
mov byte [esp + 0x20], 1
mov dword [esi + 0x4c], eax
call fcn.00586000
mov ebx, dword [esp + 0x34]
mov edi, dword [ebx + 0x10]
cmp byte [edi + 0x424], 0xff
jne 0x46f066
push 1
mov eax, edi
call fcn.0055c180
movsx ecx, byte [edi + 0x424]
mov edx, dword [esi + 0x4c]
mov dword [edx + 0xe0], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x20], ecx
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 4]
mov ecx, 1
cmp eax, ecx
mov eax, dword [0x72afc0]
jne 0x46f0bf
mov dl, byte [0x77be14]
test dl, dl
jne 0x46f0a1
test eax, eax
je 0x46f0bf
cmp dword [0x76977c], ecx
je 0x46f0bf
mov edx, dword [0x77becc]
fld dword [edx*4 + 0x6a9240]
mov edx, dword [esi + 0x4c]
fstp dword [edx + 0xd8]
mov edx, dword [ebx + 0x14]
cmp dword [edx + 4], 2
jne 0x46f141
mov dl, byte [0x77be14]
test dl, dl
jne 0x46f0d6
test eax, eax
je 0x46f141
cmp dword [0x76977c], ecx
je 0x46f0f3
mov eax, dword [0x77becc]
fld dword [eax*4 + 0x6a924c]
mov ecx, dword [esi + 0x4c]
fstp dword [ecx + 0xdc]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x58]
test eax, eax
jle 0x46f17d
cmp eax, 9
mov ecx, eax
jle 0x46f10b
mov ecx, 9
cmp eax, ecx
jne 0x46f141
mov ecx, dword [esi + 0x4c]
imul eax, eax, 0x54
add eax, 0x76ba98
fld dword [eax + 0x30]
fld dword [eax + 0x2c]
fstp dword [ecx + 0xc8]
fstp dword [ecx + 0xcc]
mov ecx, dword [esi + 0x4c]
fld dword [eax + 0x28]
fld dword [eax + 0x24]
fstp dword [ecx + 0xd0]
fstp dword [ecx + 0xd4]
mov eax, dword [0x72ada8]
push eax
call fcn.00599cb0
add esp, 4
test eax, eax
mov edi, 0x3f800000
je 0x46f181
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x20]
add ecx, 0x260
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [eax + 0x30], 1
jmp 0x46f185
xor ecx, ecx
jmp 0x46f10b
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [0x6e2f68], 0
mov dword [esi + 0x74], ecx
call fcn.0046f340
mov eax, esi
call fcn.004704f0
mov ecx, ebp
call fcn.005860a0
lea eax, [ebp - 8]
push eax
call fcn.0046f530
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x7c], edi
pop edi
mov byte [esi + 0x68], 1
mov byte [esi + 0x69], 1
mov dword [esi + 0x6c], 2
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14