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

Disassembly:
push 0xffffffffffffffff
push 0x4fcf71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esp + 0x3c], ebx
call fcn.0046b880
mov dword [esi], 0x5075e8
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x10c], ebx
mov byte [esp + 0x3c], 3
lea eax, [ecx + 0x24]
mov dword [esp + 0x44], eax
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 8]
mov ax, word [eax + 4]
mov word [esp + 0x20], 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 + 0x48]
add eax, edx
mov dword [esp + 0x10], ecx
sar eax, 1
mov dword [esi + 0x34], eax
mov ebp, dword [0x56c7d8]
sub eax, ebp
movsx ebp, word [esp + 0x4a]
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 + 0x4c]
mov dword [esi + 0xb0], eax
lea eax, [ecx + ebp]
mov dword [esp + 0x14], 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 + 0x64], ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov dword [esp + 0x60], edx
fild dword [esp + 0x60]
fsqrt
call fcn.004ed97c
mov ecx, dword [esp + 0x54]
mov edx, ecx
and edx, 0xff
lea edi, [edx + edx + 0xa]
cdq
idiv edi
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fst qword [esp + 0x2c]
fild dword [esp + 0x64]
fdiv st(1)
fstp qword [esi + 0xb8]
mov edx, dword [esi + 0xb4]
mov edi, dword [esi + 0x34]
sub edx, edi
mov dword [esp + 0x64], edx
mov dl, byte [esp + 0x58]
fild dword [esp + 0x64]
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 0x464503
mov byte [esi + 0xd8], bl
jmp 0x464531
fld qword [esi + 0xc0]
fld qword [esi + 0xb8]
fpatan
push ecx
fstp dword [esp]
call fcn.0040adb0
mov ecx, dword [esp + 0x58]
mov dl, byte [esp + 0x5c]
add esp, 4
add al, 0x80
mov byte [esi + 0xd8], al
mov eax, dword [esp + 0x60]
add cl, 3
inc al
mov edi, dword [esp + 0x50]
mov byte [esi + 0xd9], al
shl cl, 1
mov byte [esi + 0xdc], cl
mov ecx, dword [esp + 0x48]
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 + 0x4c]
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 0x4645bd
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 0x4645f7
cmp dl, bl
mov dword [esi + 0x100], ebx
mov word [esi + 0xde], di
mov word [esi + 0xe2], di
je 0x4645de
mov word [esi + 0xe0], di
jmp 0x4645f7
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 + 0x5c]
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 + 0x5c], edi
cmp edi, ebx
mov byte [esp + 0x3c], 4
je 0x4646ed
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov bx, word [eax + 4]
mov dword [esp + 0x24], ecx
mov word [esp + 0x28], bx
mov ecx, edi
mov byte [esp + 0x3c], 5
call fcn.00402d30
mov ax, word [esp + 0x24]
mov cx, word [esp + 0x26]
movsx edx, ax
mov dword [edi], 0x507588
mov dword [esp + 0x58], edx
fild dword [esp + 0x58]
mov word [edi + 0x24], ax
mov word [edi + 0x26], cx
movsx eax, cx
mov word [edi + 0x28], bx
mov dword [esp + 0x58], eax
fstp qword [edi + 0x40]
fild dword [esp + 0x58]
movsx ecx, bx
fstp qword [edi + 0x48]
mov dword [esp + 0x58], ecx
mov ecx, edi
fild dword [esp + 0x58]
mov byte [esp + 0x3c], 6
mov dword [edi + 0x3c], esi
fstp qword [edi + 0x50]
call fcn.00403bb0
jmp 0x4646ef
xor edi, edi
movsx edx, word [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0xac], edi
sub eax, edx
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
movsx eax, word [esp + 0x1e]
fdiv qword [esp + 0x2c]
sub ebp, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], ebp
movsx edx, word [esp + 0x20]
sub eax, edx
fstp qword [edi + 0x58]
fild dword [esp + 0x58]
mov ecx, dword [esi + 0xac]
mov dword [esp + 0x58], eax
pop edi
fdiv qword [esp + 0x28]
fstp qword [ecx + 0x60]
fild dword [esp + 0x54]
mov eax, dword [esi + 0xac]
mov ecx, dword [esp + 0x30]
fdiv qword [esp + 0x28]
fstp qword [eax + 0x68]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x24