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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ece31
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.0045ae70
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [esi], 0x4f715c
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 [0x5573d0]
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 [0x5573cc]
sub eax, edi
mov dword [esi + 0x34], eax
mov dword [esi + 0xa4], ecx
mov edi, dword [edx]
lea eax, [esi + 0x9c]
mov dword [esi + 0x9c], 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 + 0xac], eax
mov edx, dword [0x5573d0]
sub eax, edx
mov dword [esi + 0xac], eax
mov eax, dword [ecx + 0x14]
add eax, dword [ecx + 0xc]
sar eax, 1
mov dword [esi + 0xb0], eax
mov ecx, dword [0x5573cc]
sub eax, ecx
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0xac]
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 + 0xb0]
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 0x4568fd
mov byte [esi + 0xd8], 0
jmp 0x45691f
fld qword [esi + 0xc0]
fld qword [esi + 0xb8]
fpatan
push ecx
fstp dword [esp]
call fcn.00409770
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 + 0x621699], 0
je 0x456995
mov dword [esi + 0x100], 1
mov cl, byte [eax + 0x62169b]
xor edi, edi
mov byte [esi + 0xda], cl
mov word [esi + 0xde], dx
mov word [esi + 0xe0], di
movsx ax, byte [eax + 0x621658]
add eax, edx
mov word [esi + 0xe2], ax
jmp 0x4569cf
mov al, byte [ebp + 0x18]
mov dword [esi + 0x100], 0
test al, al
mov word [esi + 0xde], dx
mov word [esi + 0xe2], dx
jne 0x4569c6
mov eax, dword [0xcc53c0]
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 + 0x60], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
call fcn.004ddf8e
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x30], 2
je 0x456acc
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.00402bf0
mov cx, word [esp + 0x1c]
mov dx, word [esp + 0x1e]
mov dword [edi], 0x4f7108
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.00403910
jmp 0x456ace
xor edi, edi
movsx edx, word [esi + 0x9c]
mov dword [esi + 0xa8], 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 + 0x9e]
movsx ecx, word [ebx + 0x26]
mov edx, dword [esi + 0xa8]
sub eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [edx + 0x60]
movsx eax, word [esi + 0xa0]
movsx ecx, word [ebx + 0x28]
mov edx, dword [esi + 0xa8]
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 + 0xa8]
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 + 0xac]
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 + 0xa8]
mov edx, dword [esi + 0xac]
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 + 0xa8]
mov ecx, dword [esi + 0xac]
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