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

Disassembly:
push 0xffffffffffffffff
push 0x4ecdf1
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.0045ae70
mov dword [esi], 0x4f715c
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 [0x5573d0]
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 [0x5573cc]
sub eax, ebp
movsx ebp, word [esp + 0x4e]
mov dword [esi + 0x34], eax
mov edx, dword [0xcc06f4]
mov eax, ecx
sub eax, ebp
add eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [0x5573d0]
shl eax, 1
sub eax, edx
movsx edx, word [esp + 0x50]
mov dword [esi + 0xac], 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 [0x5573cc]
sub eax, ecx
add eax, 0x2b
mov dword [esi + 0xb0], eax
mov ecx, dword [esi + 0xac]
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.004ddfec
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 + 0xb0]
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 0x45656b
mov byte [esi + 0xd8], bl
jmp 0x456599
fld qword [esi + 0xc0]
fld qword [esi + 0xb8]
fpatan
push ecx
fstp dword [esp]
call fcn.00409770
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 + 0x9c]
mov byte [esi + 0xdb], bl
mov byte [esi + 0xda], 1
mov dword [esi + 0xa4], 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 + 0x621699], bl
je 0x456625
mov dword [esi + 0x100], 1
mov cl, byte [eax + 0x62169b]
mov byte [esi + 0xda], cl
mov word [esi + 0xde], di
mov word [esi + 0xe0], bx
movsx ax, byte [eax + 0x621658]
add eax, edi
mov word [esi + 0xe2], ax
jmp 0x45665f
cmp dl, bl
mov dword [esi + 0x100], ebx
mov word [esi + 0xde], di
mov word [esi + 0xe2], di
je 0x456646
mov word [esi + 0xe0], di
jmp 0x45665f
mov eax, dword [0xcc53c0]
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 + 0x60], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
call fcn.004ddf8e
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
cmp edi, ebx
mov byte [esp + 0x40], 4
je 0x456755
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.00402bf0
mov ax, word [esp + 0x14]
mov cx, word [esp + 0x16]
movsx edx, ax
mov dword [edi], 0x4f7108
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.00403910
jmp 0x456757
xor edi, edi
movsx edx, word [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xa8], 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 + 0xa8]
mov dword [esp + 0x5c], eax
pop edi
fdiv qword [esp + 0x2c]
fstp qword [ecx + 0x60]
fild dword [esp + 0x58]
mov eax, dword [esi + 0xa8]
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