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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fd2b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0046b880
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [esi], 0x5075e8
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x10c], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 8]
add eax, edx
mov ecx, dword [ebp + 0xc]
sar eax, 1
mov dword [esi + 0x30], eax
mov edi, dword [0x56c7dc]
sub eax, edi
mov dword [esp + 0x30], 1
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0xc]
add eax, edx
lea edx, [ecx + 0x24]
sar eax, 1
mov dword [esi + 0x34], eax
mov edi, dword [0x56c7d8]
sub eax, edi
mov dword [esi + 0x34], eax
mov dword [esi + 0xa8], ecx
mov edi, dword [edx]
lea eax, [esi + 0xa0]
mov dword [esi + 0xa0], edi
mov dx, word [edx + 4]
mov word [eax + 4], dx
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 8]
sar eax, 1
mov dword [esi + 0xb0], eax
mov edx, dword [0x56c7dc]
sub eax, edx
mov dword [esi + 0xb0], eax
mov eax, dword [ecx + 0x14]
add eax, dword [ecx + 0xc]
sar eax, 1
mov dword [esi + 0xb4], eax
mov ecx, dword [0x56c7d8]
sub eax, ecx
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb0]
sub eax, dword [esi + 0x30]
mov dword [esp + 0xc], eax
mov al, byte [ebp + 0x18]
fild dword [esp + 0xc]
fstp qword [esi + 0xb8]
mov ecx, dword [esi + 0xb4]
mov edx, dword [esi + 0x34]
sub ecx, edx
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
test al, al
fstp qword [esi + 0xc0]
fild dword [esi + 0x30]
fstp qword [esi + 0xc8]
fild dword [esi + 0x34]
fstp qword [esi + 0xd0]
je 0x4671dd
mov byte [esi + 0xd8], 0
jmp 0x4671ff
fld qword [esi + 0xc0]
fld qword [esi + 0xb8]
fpatan
push ecx
fstp dword [esp]
call fcn.0040adb0
add esp, 4
add al, 0x80
mov byte [esi + 0xd8], al
mov dl, byte [ebp + 0x14]
mov byte [esi + 0xd9], 0
add dl, 3
mov byte [esi + 0xdb], 0
shl dl, 1
mov byte [esi + 0xdc], dl
mov edx, dword [ebp + 0x10]
mov ecx, edx
mov byte [esi + 0xda], 1
and ecx, 0xffff
lea eax, [ecx + ecx*8]
shl eax, 3
cmp byte [eax + 0x8d3d69], 0
je 0x467275
mov dword [esi + 0x100], 1
mov cl, byte [eax + 0x8d3d6b]
xor edi, edi
mov byte [esi + 0xda], cl
mov word [esi + 0xde], dx
mov word [esi + 0xe0], di
movsx ax, byte [eax + 0x8d3d28]
add eax, edx
mov word [esi + 0xe2], ax
jmp 0x4672af
mov al, byte [ebp + 0x18]
mov dword [esi + 0x100], 0
test al, al
mov word [esi + 0xde], dx
mov word [esi + 0xe2], dx
jne 0x4672a6
mov eax, dword [0xcf3f10]
lea ecx, [ecx + ecx*4]
movzx cx, byte [eax + ecx*8 + 5]
lea edx, [ecx + edx - 1]
mov word [esi + 0xe0], dx
xor edi, edi
mov cl, byte [ebp + 0x1c]
xor eax, eax
test cl, cl
setne al
mov dword [esi + 0xe8], eax
mov al, byte [ebp + 0x18]
xor ecx, ecx
push 0x70
test al, al
sete cl
mov dword [esi + 0x104], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xec], ecx
mov dword [esi + 0x108], edi
mov dword [esi + 8], str.missile_gump
mov dword [esi + 0x64], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
call fcn.004ed8ee
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x30], 2
je 0x4673ac
lea edx, [ebx + 0x24]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
mov cx, word [edx + 4]
mov word [esp + 0x20], cx
mov ecx, edi
mov byte [esp + 0x30], 3
call fcn.00402d30
mov cx, word [esp + 0x1c]
mov dx, word [esp + 0x1e]
mov dword [edi], 0x507588
mov word [edi + 0x24], cx
mov ax, word [esp + 0x20]
mov word [edi + 0x26], dx
movsx ecx, cx
mov dword [esp + 0xc], ecx
mov word [edi + 0x28], ax
fild dword [esp + 0xc]
movsx edx, dx
fstp qword [edi + 0x40]
mov dword [esp + 0xc], edx
mov ecx, edi
fild dword [esp + 0xc]
movsx eax, ax
fstp qword [edi + 0x48]
mov dword [esp + 0xc], eax
mov byte [esp + 0x30], 4
fild dword [esp + 0xc]
mov dword [edi + 0x3c], esi
fstp qword [edi + 0x50]
call fcn.00403bb0
jmp 0x4673ae
xor edi, edi
movsx edx, word [esi + 0xa0]
mov dword [esi + 0xac], edi
movsx ecx, word [ebx + 0x24]
sub edx, ecx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp qword [edi + 0x58]
movsx eax, word [esi + 0xa2]
movsx ecx, word [ebx + 0x26]
mov edx, dword [esi + 0xac]
sub eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [edx + 0x60]
movsx eax, word [esi + 0xa4]
movsx ecx, word [ebx + 0x28]
mov edx, dword [esi + 0xac]
sub eax, ecx
mov dword [esp + 0xc], eax
xor eax, eax
fild dword [esp + 0xc]
fstp qword [edx + 0x68]
fld qword [esi + 0xb8]
fld qword [esi + 0xc0]
fst qword [esp + 0x14]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x1c]
fstp st(0)
fdiv qword [esp + 0x1c]
fstp qword [esi + 0xb8]
fld qword [esp + 0x14]
fdiv qword [esp + 0x1c]
fstp qword [esi + 0xc0]
mov al, byte [esi + 0xdc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xac]
fild dword [esp + 0xc]
fld st(0)
fmul qword [esi + 0xb8]
fstp qword [esi + 0xb8]
fmul qword [esi + 0xc0]
fstp qword [esi + 0xc0]
mov ecx, dword [esi + 0xb0]
mov ebx, dword [esi + 0x30]
fld qword [eax + 0x58]
fmul qword [esi + 0xb8]
sub ecx, ebx
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fdivp st(1)
fstp qword [eax + 0x58]
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xb0]
mov edi, dword [esi + 0x30]
fld qword [eax + 0x60]
fmul qword [esi + 0xb8]
sub edx, edi
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fdivp st(1)
fstp qword [eax + 0x60]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0xb0]
fld qword [eax + 0x68]
fmul qword [esi + 0xb8]
mov edx, dword [esi + 0x30]
pop edi
sub ecx, edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
fild dword [esp + 8]
fdivp st(1)
fstp qword [eax + 0x68]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18