Function at 0x466cc0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd271
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x40], ebx
call fcn.0046b880
mov dword [esi], 0x5075e8
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x10c], ebx
mov byte [esp + 0x40], 3
lea eax, [ecx + 0x24]
mov dword [esp + 0x14], eax
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov ax, word [eax + 4]
mov word [esp + 0x2c], ax
mov eax, dword [ecx + 0x10]
add eax, edx
sar eax, 1
mov dword [esi + 0x30], eax
mov edi, dword [0x56c7dc]
sub eax, edi
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0xc]
movsx ecx, word [esp + 0x4c]
add eax, edx
mov dword [esp + 0x1c], ecx
sar eax, 1
mov dword [esi + 0x34], eax
mov ebp, dword [0x56c7d8]
sub eax, ebp
movsx ebp, word [esp + 0x4e]
mov dword [esi + 0x34], eax
mov edx, dword [0xceced8]
mov eax, ecx
sub eax, ebp
add eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [0x56c7dc]
shl eax, 1
sub eax, edx
movsx edx, word [esp + 0x50]
mov dword [esi + 0xb0], eax
lea eax, [ecx + ebp]
mov dword [esp + 0x20], edx
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
lea ecx, [edx*4]
shl eax, 1
sub eax, ecx
mov ecx, dword [0x56c7d8]
sub eax, ecx
add eax, 0x2b
mov dword [esi + 0xb4], eax
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0x30]
mov edi, dword [esi + 0x34]
sub ecx, edx
sub eax, edi
mov edx, ecx
mov dword [esp + 0x10], ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x48], edx
fild dword [esp + 0x48]
fsqrt
call fcn.004ed97c
mov ecx, dword [esp + 0x58]
mov edx, ecx
and edx, 0xff
lea edi, [edx + edx + 0xa]
cdq
idiv edi
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fst qword [esp + 0x30]
fild dword [esp + 0x10]
fdiv st(1)
fstp qword [esi + 0xb8]
mov edx, dword [esi + 0xb4]
mov edi, dword [esi + 0x34]
sub edx, edi
mov dword [esp + 0x10], edx
mov dl, byte [esp + 0x5c]
fild dword [esp + 0x10]
cmp dl, bl
fdiv st(1)
fstp qword [esi + 0xc0]
fstp st(0)
fild dword [esi + 0x30]
fstp qword [esi + 0xc8]
fild dword [esi + 0x34]
fstp qword [esi + 0xd0]
je 0x466e4b
mov byte [esi + 0xd8], bl
jmp 0x466e79
fld qword [esi + 0xc0]
fld qword [esi + 0xb8]
fpatan
push ecx
fstp dword [esp]
call fcn.0040adb0
mov ecx, dword [esp + 0x5c]
mov dl, byte [esp + 0x60]
add esp, 4
add al, 0x80
mov byte [esi + 0xd8], al
mov eax, dword [esp + 0x48]
add cl, 3
inc al
mov edi, dword [esp + 0x54]
mov byte [esi + 0xd9], al
shl cl, 1
mov byte [esi + 0xdc], cl
mov ecx, dword [esp + 0x4c]
lea eax, [esi + 0xa0]
mov byte [esi + 0xdb], bl
mov byte [esi + 0xda], 1
mov dword [esi + 0xa8], ebx
mov dword [eax], ecx
mov cx, word [esp + 0x50]
mov word [eax + 4], cx
mov ecx, edi
and ecx, 0xffff
lea eax, [ecx + ecx*8]
shl eax, 3
cmp byte [eax + 0x8d3d69], bl
je 0x466f05
mov dword [esi + 0x100], 1
mov cl, byte [eax + 0x8d3d6b]
mov byte [esi + 0xda], cl
mov word [esi + 0xde], di
mov word [esi + 0xe0], bx
movsx ax, byte [eax + 0x8d3d28]
add eax, edi
mov word [esi + 0xe2], ax
jmp 0x466f3f
cmp dl, bl
mov dword [esi + 0x100], ebx
mov word [esi + 0xde], di
mov word [esi + 0xe2], di
je 0x466f26
mov word [esi + 0xe0], di
jmp 0x466f3f
mov eax, dword [0xcf3f10]
lea ecx, [ecx + ecx*4]
movzx cx, byte [eax + ecx*8 + 5]
lea eax, [ecx + edi - 1]
mov word [esi + 0xe0], ax
mov al, byte [esp + 0x60]
xor ecx, ecx
cmp al, bl
push 0x70
setne cl
xor eax, eax
cmp dl, bl
sete al
mov dword [esi + 0x104], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ecx
mov dword [esi + 0xec], eax
mov dword [esi + 0x108], ebx
mov dword [esi + 8], str.missile_gump
mov dword [esi + 0x64], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
call fcn.004ed8ee
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
cmp edi, ebx
mov byte [esp + 0x40], 4
je 0x467035
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov bx, word [eax + 4]
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], bx
mov ecx, edi
mov byte [esp + 0x40], 5
call fcn.00402d30
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x16]
movsx edx, ax
mov dword [edi], 0x507588
mov dword [esp + 0x5c], edx
fild dword [esp + 0x5c]
mov word [edi + 0x24], ax
mov word [edi + 0x26], cx
movsx eax, cx
mov word [edi + 0x28], bx
mov dword [esp + 0x5c], eax
fstp qword [edi + 0x40]
fild dword [esp + 0x5c]
movsx ecx, bx
fstp qword [edi + 0x48]
mov dword [esp + 0x5c], ecx
mov ecx, edi
fild dword [esp + 0x5c]
mov byte [esp + 0x40], 6
mov dword [edi + 0x3c], esi
fstp qword [edi + 0x50]
call fcn.00403bb0
jmp 0x467037
xor edi, edi
movsx edx, word [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xac], edi
sub eax, edx
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
movsx eax, word [esp + 0x2a]
fdiv qword [esp + 0x30]
sub ebp, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], ebp
movsx edx, word [esp + 0x2c]
sub eax, edx
fstp qword [edi + 0x58]
fild dword [esp + 0x5c]
mov ecx, dword [esi + 0xac]
mov dword [esp + 0x5c], eax
pop edi
fdiv qword [esp + 0x2c]
fstp qword [ecx + 0x60]
fild dword [esp + 0x58]
mov eax, dword [esi + 0xac]
mov ecx, dword [esp + 0x34]
fdiv qword [esp + 0x2c]
fstp qword [eax + 0x68]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x1c