Function at 0x405de0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60262d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x21d74
call fcn.005b7760
mov eax, dword [0x6d6dfc]
xor eax, esp
mov dword [esp + 0x21d70], eax
push ebx
push esi
push edi
mov eax, dword [0x6d6dfc]
xor eax, esp
push eax
lea eax, [esp + 0x21d88]
mov dword fs:[0], eax
push 0x6dd4b0
push 0x6d95b0
push str.Starting_updater__v:_s__cmd:_s_n
call fcn.00568bd0
add esp, 0xc
lea eax, [esp + 0xb4]
push eax
call fcn.00407b00
xor ebx, ebx
mov dword [esp + 0x21d90], ebx
cmp byte [0x78287c], bl
je 0x405e6b
lea ecx, [esp + 0xb4]
call fcn.00406b80
jmp 0x4063f1
lea esi, [esp + 0xb4]
call fcn.0040b2f0
mov eax, 0x7827e8
mov dword [0x6d95a8], eax
mov dword [0x6d95ac], eax
mov eax, dword [0x782880]
cmp eax, ebx
je 0x405ea0
mov ecx, dword [0x6dddec]
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
push 2
push ecx
push eax
call edx
call fcn.00568910
call fcn.00568960
call fcn.00568910
mov eax, dword [0x7827e0]
mov dword [0x782910], ebx
mov dword [0x782914], eax
call fcn.00403d60
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x6dde54]
push ebx
push 1
call fcn.0056fa60
mov ecx, dword [0x6dde54]
call fcn.0056dd40
mov ecx, dword [0x6dde54]
push 0x802
call fcn.0056c030
or esi, 0xffffffff
push esi
push ebx
call fcn.00568730
mov eax, dword [0x6dde54]
fld dword [eax + 0x4a0]
add esp, 8
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x44], 0xff404040
fld dword [eax + 0x49c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00576560
mov eax, dword [esp + 0x20ebc]
add esp, 0x1c
cmp eax, 5
ja case.default.0x405f4e
jmp dword [eax*4 + 0x406430]
mov eax, dword [0x6dde54]
fld dword [eax + 0x4a0]
lea edx, [esp + 0x1c]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x30], esi
fld dword [eax + 0x49c]
mov esi, dword [0x782888]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004075a0
lea ecx, [esp + 0xb4]
call fcn.00404e90
jmp 0x40619b
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x6dde54]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x38], esi
fld dword [eax + 0x49c]
mov esi, dword [0x782890]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004075a0
lea ecx, [esp + 0xb4]
call fcn.00404b80
jmp 0x40619b
mov eax, dword [0x6dde54]
fld dword [eax + 0x4a0]
lea ecx, [esp + 0x20]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x34], esi
fld dword [eax + 0x49c]
mov esi, dword [0x782894]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004075a0
lea eax, [esp + 0xb4]
call fcn.00404700
jmp 0x40619b
mov eax, dword [0x6dde54]
fld dword [eax + 0x4a0]
lea edx, [esp + 0x2c]
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x40], esi
fld dword [eax + 0x49c]
mov esi, dword [0x78289c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004075a0
lea edi, [esp + 0xb4]
call fcn.004049b0
jmp 0x40619b
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x6dde54]
fld dword [eax + 0x4a0]
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x2c], esi
fld dword [eax + 0x49c]
mov esi, dword [0x78288c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.004075a0
lea ecx, [esp + 0xb4]
push ecx
call fcn.00405420
add esp, 4
lea eax, [esp + 0xb4]
call fcn.004058e0
push str.drawNews
call fcn.00568bd0
add esp, 4
lea ecx, [esp + 0xb4]
call fcn.00405810
jmp 0x40619b
push ebx
push 0x5e5
push str..main.cpp
push 0x6a9a04
call fcn.00568ee0
add esp, 0x10
mov eax, dword [0x6dde54]
mov dword [esp + 0x30], esi
fld dword [eax + 0x49c]
mov esi, dword [0x782898]
fstp dword [esp + 0x10]
mov edi, dword [esi + 8]
fld dword [eax + 0x4a0]
fstp dword [esp + 0x14]
cmp edi, ebx
je 0x40619b
push 0x3c
lea edx, [esp + 0x3c]
push ebx
push edx
call fcn.005b6890
fldz
fst dword [esp + 0x40]
add esp, 0xc
fst dword [esp + 0x38]
lea eax, [esp + 0x34]
fld dword [esi]
push eax
fstp dword [esp + 0x40]
push edi
lea ecx, [esp + 0x38]
push ecx
fst dword [esp + 0x4c]
sub esp, 0x10
fld dword [esi]
fstp dword [esp + 0x60]
fld dword [esi + 4]
fstp dword [esp + 0x64]
fst dword [esp + 0x68]
fld dword [esi + 4]
fstp dword [esp + 0x6c]
fld dword [esp + 0x30]
fstp dword [esp + 0xc]
fld dword [esp + 0x2c]
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.00576560
add esp, 0x1c
lea edi, [esp + 0xb4]
call fcn.004045c0
fild dword [0x782908]
mov dword [esp + 0x14], 0xffffffff
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [0x6d93bc]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x4062bb
fadd dword [0x6d93c4]
fcompp
fnstsw ax
test ah, 1
jne 0x4062bf
fild dword [0x78290c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [0x6d93c0]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x4062bb
fadd dword [0x6d93c8]
fcompp
fnstsw ax
test ah, 1
jne 0x4062bf
mov esi, dword [0x7828b8]
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x4062aa
push 0x3c
lea edx, [esp + 0x7c]
push ebx
push edx
call fcn.005b6890
fldz
fst dword [esp + 0x80]
add esp, 0xc
fst dword [esp + 0x78]
lea eax, [esp + 0x74]
fld dword [esi]
push eax
fstp dword [esp + 0x80]
push edi
lea ecx, [esp + 0x1c]
push ecx
fst dword [esp + 0x8c]
sub esp, 0x10
fld dword [esi]
fstp dword [esp + 0xa0]
fld dword [esi + 4]
fstp dword [esp + 0xa4]
fst dword [esp + 0xa8]
fld dword [esi + 4]
fstp dword [esp + 0xac]
fld dword [0x6ab5b4]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fld dword [0x6ab5b0]
fstp dword [esp]
call fcn.00576560
add esp, 0x1c
cmp dword [0x782910], ebx
je 0x4062bf
mov byte [0x6dddf8], 1
jmp 0x4062bf
fstp st(1)
fstp st(0)
mov ecx, dword [0x6dde54]
call fcn.0056eb30
mov ecx, dword [0x6dde54]
push 1
call fcn.0056f2a0
cmp byte [0x6dddf8], bl
jne 0x406328
mov edx, dword [0x782884]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4062ff
mov eax, dword [0x6dddec]
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push ebx
call dword [sym.imp.USER32.dll_ClipCursor]
cmp byte [0x78287d], bl
jne 0x406334
mov eax, dword [esp + 0x20ea4]
cmp eax, ebx
je 0x405ea5
cmp eax, 1
je 0x405ea5
jmp 0x406334
lea esi, [esp + 0xb4]
call fcn.0040b390
lea eax, [esp + 0xb4]
call fcn.0040b410
mov eax, dword [0x782880]
cmp eax, ebx
je 0x406359
mov edx, dword [0x6dddec]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x20ea4]
sub eax, 1
je 0x40639b
sub eax, 1
je 0x406389
sub eax, 1
je 0x4063a7
push ebx
push 0x632
push str..main.cpp
push 0x6a9a04
call fcn.00568ee0
add esp, 0x10
jmp 0x4063a7
lea ecx, [esp + 0xb4]
push ecx
call fcn.00405a90
add esp, 4
jmp 0x4063a7
lea ecx, [esp + 0xb4]
call fcn.00405bd0
mov eax, dword [0x783518]
cmp eax, ebx
je 0x4063e3
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4063d1
mov edx, dword [0x783518]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x783518]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x783518], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0xb4]
push ecx
mov dword [esp + 0x21d94], 0xffffffff
call fcn.00407e40
mov ecx, dword [esp + 0x21d88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21d70]
xor ecx, esp
call fcn.005b2ec7
mov esp, ebp
pop ebp
ret