Function at 0x406790
Capabilities:
Accept command line arguments
Create process on windows
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55f113
mov eax, dword fs:[0]
push eax
sub esp, 0x700
mov eax, dword [0x5b5be8]
xor eax, esp
mov dword [esp + 0x6f8], eax
push ebx
push esi
push edi
mov eax, dword [0x5b5be8]
xor eax, esp
push eax
lea eax, [esp + 0x710]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
push str.InitPage_n
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], esi
call fcn.00418dd0
add esp, 4
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], esi
mov byte [esp + 0x78], 0
lea eax, [esp + 0xb0]
push eax
push ebx
mov dword [esp + 0x720], esi
call fcn.00406620
mov edi, eax
lea esi, [esp + 0x78]
mov byte [esp + 0x718], 1
call fcn.00409930
mov esi, 0x10
mov byte [esp + 0x718], 0
cmp dword [esp + 0xc4], esi
jb 0x40684e
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.004310e1
add esp, 4
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x40685f
lea eax, [esp + 0x78]
push str.CONFIRM_ON_EXIT
push eax
call fcn.00532ce0
add esp, 8
test eax, eax
je 0x406878
mov byte [ebx + 0x1dc], 1
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x406889
lea eax, [esp + 0x78]
push str.SINGLE_PROGRESSBAR
push eax
call fcn.00532ce0
add esp, 8
test eax, eax
je 0x4068a2
mov byte [ebx + 0x1de], 1
cmp byte [ebx + 0x1de], 0
lea ecx, [ebx + 0x190]
mov dword [esp + 0x28], ecx
je 0x4068c1
push 0x9a
push str._img_src_img_progress_head.gif__width7_height15__img_src_img_progress_body.gif__width_d_height15__img_src_img_progress_tail.gif__width7_height15_
jmp 0x4068cb
push 0x126
push str._table_cellpadding1_cellspacing0_classPROGRESS_BAR__td_classPROGRESS_BAR_BORDER_width100___height100____table_cellpadding0_cellspacing0_width100___height100____td_width_d___classPROGRESS_BAR_PRIMARY___td__td_width_d___classPROGRESS_BAR_SECONDARY___td___table___td___table_
call fcn.0040c6d0
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x4068e1
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.LAUNCH_ARGUMENT
call fcn.00401d00
mov esi, dword [esp + 0x18]
test al, al
je 0x406a85
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406903
sub eax, edx
push eax
lea edx, [esp + 0x108]
push edx
lea ecx, [esi + 0x1b0]
call fcn.0040c6d0
push 0x58
call fcn.004310a7
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x718], 2
test eax, eax
je 0x406942
push eax
call fcn.00423b70
jmp 0x406944
xor eax, eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x718], 3
mov edx, dword [esi + 0x1b0]
lea ecx, [esp + 0x1c]
call fcn.00425330
push str.country
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x24]
push ecx
xor ecx, ecx
call fcn.00424710
mov byte [esp + 0x718], 4
cmp dword [eax + 0x14], 0x10
mov ebx, 1
mov dword [esp + 0x30], ebx
jb 0x406991
mov eax, dword [eax]
push 0x58cda0
push eax
call fcn.005329bc
add esp, 8
test eax, eax
je 0x4069e6
push str.country
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x24]
push eax
xor ecx, ecx
call fcn.00424710
mov edi, 0x10
mov ebx, 3
cmp dword [eax + 0x14], edi
jb 0x4069cd
mov eax, dword [eax]
push 0x58cda4
push eax
call fcn.005329bc
add esp, 8
test eax, eax
je 0x4069eb
mov byte [esp + 0x17], 0
jmp 0x4069f0
mov edi, 0x10
mov byte [esp + 0x17], 1
test bl, 2
je 0x406a2f
and ebx, 0xfffffffd
cmp dword [esp + 0xa8], edi
jb 0x406a11
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004310e1
add esp, 4
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
mov dword [esp + 0x718], 3
test bl, 1
je 0x406a58
cmp dword [esp + 0xfc], edi
jb 0x406a58
mov edx, dword [esp + 0xe8]
push edx
call fcn.004310e1
add esp, 4
cmp byte [esp + 0x17], 0
je 0x406a66
mov byte [0x5b7688], 1
mov byte [esp + 0x718], 0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x406a85
push edi
call fcn.00423ce0
push edi
call fcn.004310e1
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov ecx, dword [esp + 0x78]
jae 0x406a97
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.LAUNCHER_SIZE
call fcn.00401d00
test al, al
je 0x406b05
push 0x5b75b0
push 0x5b75ac
mov eax, ebx
push str._d__d
push eax
call fcn.00533dc7
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0x10
push 0x10
call edi
push 0x11
mov ebx, eax
call edi
mov edi, eax
mov eax, ebx
mov ebx, dword [0x5b75ac]
sub eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
mov edi, dword [0x5b75b0]
sub eax, edi
push 1
cdq
push edi
sub eax, edx
push ebx
sar eax, 1
sar ecx, 1
push eax
push ecx
mov ecx, esi
call fcn.0043ef80
mov ecx, dword [esp + 0x78]
mov edi, 0x10
cmp dword [esp + 0x8c], edi
jae 0x406b1b
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.TRANSPARENCY_COLOR
call fcn.00401d00
xor ebx, ebx
test al, al
je 0x406b97
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x110]
push str._d___d___d
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebx
call fcn.00533dc7
add esp, 0x14
push ebx
push 0x80000
push ebx
mov ecx, esi
call fcn.0043eec9
movzx eax, byte [esp + 0x34]
movzx edx, byte [esp + 0x20]
movzx ecx, byte [esp + 0x2c]
shl eax, 8
or eax, edx
mov edx, dword [esi + 0x20]
push 1
shl eax, 8
push ebx
or eax, ecx
push eax
push edx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov byte [esi + 0x168], 1
cmp byte [0x5b79ec], bl
je 0x406bba
mov eax, dword [esi + 0x20]
push ebx
push 0x14
push ebx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x5b79ec], bl
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406bcb
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.MANUAL_UPDATE
call fcn.00401d00
test al, al
je 0x406d87
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
push edi
push edi
lea ecx, [esp + 0x70]
push 0x58cdf0
push ecx
mov ecx, ebx
mov byte [esp + 0x728], 6
call fcn.0040b400
mov ebx, dword [esp + 0x78]
mov esi, 0x10
add esp, 0x10
cmp dword [ebx + 0x14], esi
jb 0x406c2e
mov ecx, dword [ebx]
jmp 0x406c30
mov ecx, ebx
push edi
push edi
lea edx, [esp + 0x40]
push 0x58cdf4
push edx
call fcn.0040b400
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp dword [eax + 0x14], esi
jb 0x406c4f
mov eax, dword [eax]
call fcn.0040b340
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov edi, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, edi
cmp eax, 1
jbe 0x406c8e
mov eax, dword [esp + 0x38]
add eax, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x406c87
mov eax, dword [eax]
call fcn.0040b340
mov esi, eax
mov eax, dword [0x5be5a4]
cmp eax, edi
mov edi, dword [esp + 0x6c]
jl 0x406d4e
cmp eax, esi
jg 0x406d4e
mov ecx, dword [esp + 0x18]
lea eax, [ebx + 0x1c]
mov byte [ecx + 0x1ac], 1
cmp dword [eax + 0x14], 0x10
jb 0x406cbd
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x28]
call fcn.0040bb40
push 1
push 0
push 0
mov byte [esp + 0x724], 7
mov edx, dword [esp + 0x30]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, edi
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x407686
cmp dword [ebx + 0x4c], 0x10
lea eax, [ebx + 0x38]
jb 0x406d12
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00436f70
mov byte [esp + 0x718], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
call fcn.0040a8a0
push ebx
call fcn.004310e1
mov byte [esp + 0x71c], 0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add esp, 4
mov eax, esi
call fcn.0040a8a0
push esi
call fcn.004310e1
mov esi, dword [esp + 0x1c]
add esp, 4
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406d98
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.DISABLE_UPDATE
call fcn.00401d00
test al, al
je 0x406dcc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str._force
push eax
call fcn.00532ce0
add esp, 8
test eax, eax
jne 0x406dcc
mov byte [esi + 0x1ac], 1
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406ddd
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.START_BUTTON_DECO
call fcn.00401d00
test al, al
je 0x406e1c
mov eax, ebx
lea ecx, [esi + 0x16c]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406e00
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406e2d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.LAUNCH_BUTTON_DECO
call fcn.00401d00
test al, al
je 0x406e6c
mov eax, ebx
lea ecx, [esi + 0x17c]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406e50
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406e7d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.CONFIG_BUTTON_DECO
call fcn.00401d00
test al, al
je 0x406ebc
mov eax, ebx
lea ecx, [esi + 0x170]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406ea0
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406ecd
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.CHECK_BUTTON_DECO
call fcn.00401d00
test al, al
je 0x406f0c
mov eax, ebx
lea ecx, [esi + 0x174]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406ef0
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406f1d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.REPACKING_BUTTON_DECO
call fcn.00401d00
test al, al
je 0x406f5c
mov eax, ebx
lea ecx, [esi + 0x178]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406f40
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406f6d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.EXIT_CONFIRM_MESSAGE
call fcn.00401d00
test al, al
je 0x406fac
mov eax, ebx
lea ecx, [esi + 0x1b4]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406f90
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x406fbd
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.UPDATE_COMPLETE_MESSAGE
call fcn.00401d00
test al, al
je 0x406ffc
mov eax, ebx
lea ecx, [esi + 0x1bc]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406fe0
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40700d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.ALREADY_UPDATE_MESSAGE
call fcn.00401d00
test al, al
je 0x40704c
mov eax, ebx
lea ecx, [esi + 0x1c0]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407030
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40705d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.LAUNCHER_UPDATE_MESSAGE
call fcn.00401d00
test al, al
je 0x40709c
mov eax, ebx
lea ecx, [esi + 0x1b8]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407080
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x4070ad
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.EXECUTE_FILENAME
call fcn.00401d00
test al, al
je 0x4070ec
mov eax, ebx
lea ecx, [esi + 0x194]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4070d0
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x4070fd
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.IS_RUN_CHECKING_MESSAGE
call fcn.00401d00
test al, al
je 0x40713c
mov eax, ebx
lea ecx, [esi + 0x1c4]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407120
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40714d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.CANNOT_WORK_MESSAGE
call fcn.00401d00
test al, al
je 0x40718c
mov eax, ebx
lea ecx, [esi + 0x1c8]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407170
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40719d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.IS_RUN_REPACKING_MESSAGE
call fcn.00401d00
test al, al
je 0x4071dc
mov eax, ebx
lea ecx, [esi + 0x1cc]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4071c0
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x4071ed
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.FILENAME_DECO
call fcn.00401d00
test al, al
je 0x40722c
mov eax, ebx
lea ecx, [esi + 0x180]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407210
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40723d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.CHECK_FILENAME_DECO
call fcn.00401d00
test al, al
je 0x40727c
mov eax, ebx
lea ecx, [esi + 0x184]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407260
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40728d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.REPACKING_FILENAME_DECO
call fcn.00401d00
test al, al
je 0x4072cc
mov eax, ebx
lea ecx, [esi + 0x188]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4072b0
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x4072dd
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.UPDATE_STATUS_DECO
call fcn.00401d00
test al, al
je 0x40731c
mov eax, ebx
lea ecx, [esi + 0x18c]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407300
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40732d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.PROGRESS_BAR_DECO
call fcn.00401d00
test al, al
je 0x407362
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407347
mov ecx, dword [esp + 0x28]
sub eax, edx
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x407373
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.CONTINUE_DECO
call fcn.00401d00
test al, al
je 0x4073af
mov eax, ebx
lea ecx, [esi + 0x198]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407393
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x4073c0
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.UPDATE_INFO_DECO
call fcn.00401d00
test al, al
je 0x4073fc
mov eax, ebx
lea ecx, [esi + 0x19c]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4073e0
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40740d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.CHECKING_DECO
call fcn.00401d00
test al, al
je 0x40744c
mov eax, ebx
lea ecx, [esi + 0x1a0]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407430
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40745d
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.UPDATE_SERVER
call fcn.00401d00
test al, al
je 0x40749c
mov eax, ebx
lea ecx, [esi + 0x1d8]
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407480
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x4074ad
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.MOVE_BOX_RECT
call fcn.00401d00
test al, al
je 0x4074e6
push 0x5be37c
push 0x5be378
push 0x5be374
push 0x5be370
mov ecx, ebx
push str._d__d__d__d
push ecx
call fcn.00533dc7
add esp, 0x18
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x4074f7
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.PROGRESS2_WIDTH
call fcn.00401d00
test al, al
je 0x407521
push 0x5be5b0
mov edx, ebx
push 0x58d67c
push edx
call fcn.00533dc7
add esp, 0xc
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x407532
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.WINDOWMODECHK_DECO
call fcn.00401d00
test al, al
je 0x40756e
mov eax, ebx
lea ecx, [esi + 0x1a4]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407552
sub eax, edi
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040c6d0
mov edi, 0x10
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x40757f
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.WINDOWMODEOFF_DECO
call fcn.00401d00
test al, al
je 0x4075b7
mov eax, ebx
lea ecx, [esi + 0x1a8]
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4075a0
sub eax, esi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.0040c6d0
mov dword [esp + 0x1c], 1
mov esi, 0x5b76ac
push 0xff
lea eax, [esp + 0x609]
push 0
push eax
mov byte [esp + 0x610], 0
call fcn.00535390
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push str.ERROR_MESSAGE__02d
mov eax, 0x100
lea edx, [esp + 0x60c]
call fcn.00422400
mov ecx, dword [esp + 0x80]
add esp, 8
cmp dword [esp + 0x8c], 0x10
jae 0x407616
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
lea edx, [esp + 0x604]
call fcn.00401d00
test al, al
je 0x4076d3
mov edx, ebx
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.00401320
add esp, 8
mov edi, eax
cmp esi, edi
je 0x4076b0
cmp dword [esi + 0x14], 8
jb 0x40765b
mov eax, dword [esi]
push eax
call fcn.004310e1
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
cmp dword [edi + 0x14], 8
jae 0x40768d
mov eax, dword [edi + 0x10]
lea edx, [eax + eax + 2]
push edx
push edi
push esi
call fcn.00532370
add esp, 0xc
jmp 0x407693
push 0
call fcn.0053406c
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ebx
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
jmp 0x4076b2
xor ebx, ebx
mov byte [esp + 0x718], bl
cmp dword [esp + 0xe0], 8
jb 0x4076d3
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004310e1
add esp, 4
inc dword [esp + 0x1c]
add esi, 0x1c
cmp esi, 0x5b77c4
jl 0x4075c4
cmp dword [esp + 0x8c], 0x10
mov ecx, dword [esp + 0x78]
jae 0x4076f8
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.CHECK_PID
call fcn.00401d00
test al, al
je 0x40783a
lea edx, [esp + 0x48]
push 0x58d050
push edx
mov ecx, ebx
call fcn.00422790
add esp, 8
mov byte [esp + 0x718], 9
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ecx, ebx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x4077ee
mov eax, esi
call fcn.004228f0
mov eax, esi
call fcn.00422870
mov esi, dword [esp + 0x48]
lea eax, [esi + 0x1c]
call fcn.004228f0
lea eax, [esi + 0x1c]
call fcn.00422870
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov esi, 0x10
mov byte [edi + 0x1df], 1
cmp dword [eax + 0x14], esi
jb 0x407792
mov eax, dword [eax]
push eax
call fcn.00532dcf
mov dword [edi + 0x1e0], eax
mov eax, dword [esp + 0x4c]
add esp, 4
cmp dword [eax + 0x30], esi
jb 0x4077af
mov esi, dword [eax + 0x1c]
jmp 0x4077b2
lea esi, [eax + 0x1c]
lea ecx, [edi + 0x1e4]
test esi, esi
jne 0x4077cf
xor eax, eax
push eax
push esi
call fcn.0040c6d0
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
jmp 0x4077f2
mov eax, esi
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4077d4
sub eax, ebx
push eax
push esi
call fcn.0040c6d0
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
jmp 0x4077f2
mov edi, dword [esp + 0x18]
mov byte [esp + 0x718], 0
test esi, esi
je 0x40783e
cmp esi, ebx
je 0x40782f
cmp dword [esi + 0x14], 0x10
jb 0x407813
mov eax, dword [esi]
push eax
call fcn.004310e1
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x1c
cmp esi, ebx
jne 0x407802
mov esi, dword [esp + 0x48]
push esi
call fcn.004310e1
add esp, 4
jmp 0x40783e
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x8c], 0x10
mov ecx, dword [esp + 0x78]
jae 0x407850
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.AUTO_REPACKING
call fcn.00401d00
test al, al
je 0x407956
lea ecx, [esp + 0x58]
push 0x58d050
push ecx
mov ecx, ebx
call fcn.00422790
add esp, 8
mov byte [esp + 0x718], 0xa
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov ecx, ebx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x40790f
mov eax, esi
call fcn.004228f0
mov eax, esi
call fcn.00422870
mov esi, dword [esp + 0x58]
lea eax, [esi + 0x1c]
call fcn.004228f0
lea eax, [esi + 0x1c]
call fcn.00422870
mov eax, dword [esp + 0x58]
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x4078db
mov eax, dword [eax]
push eax
call fcn.00532dcf
mov dword [edi + 0x1f0], eax
mov eax, dword [esp + 0x5c]
add eax, 0x1c
add esp, 4
cmp dword [eax + 0x14], esi
jb 0x4078f8
mov eax, dword [eax]
push eax
call fcn.00532dcf
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
add esp, 4
mov dword [edi + 0x1f4], eax
mov byte [esp + 0x718], 0
test esi, esi
je 0x407956
cmp esi, ebx
je 0x40794d
nop
cmp dword [esi + 0x14], 0x10
jb 0x407931
mov ecx, dword [esi]
push ecx
call fcn.004310e1
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x1c
cmp esi, ebx
jne 0x407920
mov esi, dword [esp + 0x58]
push esi
call fcn.004310e1
add esp, 4
mov ecx, dword [esp + 0x78]
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jae 0x40796c
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.CHECKING_MAX_FAILED_FILE_COUNT
call fcn.00401d00
test al, al
je 0x4079ac
mov edx, ebx
push edx
call fcn.00532dcf
mov ecx, dword [0x5be798]
add esp, 4
cmp ecx, eax
jge 0x40799e
mov ecx, eax
mov dword [0x5be798], ecx
test ecx, ecx
jns 0x4079ac
mov dword [0x5be798], 0x1f4
cmp byte [edi + 0x1dd], 0
je 0x4079ce
push 0x58bd25
push str.WINDOWMODECHK
push edi
call fcn.00403fc0
mov eax, dword [edi + 0x1a8]
push eax
jmp 0x4079e5
mov ecx, dword [edi + 0x1a4]
push ecx
push str.WINDOWMODECHK
push edi
call fcn.00403fc0
push 0x58bd25
push str.WINDOWMODEOFF
push edi
call fcn.00403fc0
mov edx, dword [0x5be740]
cmp edx, 0xb
jne 0x407a19
mov eax, dword [0x5b75ec]
cmp dword [0x5b7600], esi
jae 0x407a0d
mov eax, 0x5b75ec
push eax
push str.ERROR_MESSAGE
push edi
call fcn.00403fc0
mov eax, dword [edi + 0x1d8]
cmp dword [eax - 0xc], 0
je 0x407ad9
mov ecx, dword [0x5be740]
mov esi, 0xdbc
test ecx, ecx
jne 0x407ad9
cmp byte [edi + 0x1ac], cl
jne 0x407ad9
cmp dword [esp + 0x8c], 0x10
mov ecx, dword [esp + 0x78]
jae 0x407a5a
lea ecx, [esp + 0x78]
lea ebx, [esp + 0x104]
mov edx, str.UPDATE_PORT
call fcn.00401d00
test al, al
je 0x407a85
mov edx, ebx
push edx
call fcn.00532dcf
mov esi, eax
add esp, 4
test esi, esi
jne 0x407a85
mov esi, 0xdbc
push 0x58bd25
push str.START_BUTTON
push edi
call fcn.00403fc0
cmp dword [0x5b75e4], 0x10
mov eax, dword [0x5b75d0]
mov dword [0x5be6a4], 0
mov dword [0x5be6a0], 0x5b7664
mov dword [0x5be6a8], 0x5b7608
mov ecx, dword [edi + 0x1d8]
jae 0x407acc
mov eax, 0x5b75d0
mov edx, dword [edi + 0x1d0]
push esi
push eax
call fcn.00411490
mov eax, dword [0x5be740]
cmp eax, 0xa
jne 0x407b3b
push 0x58bd25
push str.START_BUTTON
push edi
call fcn.00403fc0
mov ecx, dword [edi + 0x170]
push ecx
push str.CONFIG_BUTTON
push edi
call fcn.00403fc0
mov edx, dword [edi + 0x174]
push edx
push str.CHECK_BUTTON
push edi
call fcn.00403fc0
mov eax, dword [edi + 0x178]
push eax
push str.REPACKING_BUTTON
push edi
call fcn.00403fc0
mov ecx, dword [edi + 0x17c]
push ecx
push str.LAUNCH_BUTTON
push edi
call fcn.00403fc0
mov edx, dword [edi + 0x1d8]
push edx
push str.upsv_info
push edi
call fcn.00403fc0
mov eax, dword [edi + 0x1b0]
push eax
push str.argu_info
push edi
call fcn.00403fc0
cmp byte [edi + 0x1de], 0
mov eax, 0x100
je 0x407bc4
mov ecx, dword [0x5be5a8]
push ecx
push str.v1._d
lea edx, [esp + 0x50c]
call fcn.00422400
add esp, 8
lea edx, [esp + 0x504]
push edx
push str.LAUNCHER_VERSION
push edi
call fcn.00403fc0
mov eax, dword [0x5be5a4]
push eax
push str.v1.4._d
mov eax, 0x100
lea edx, [esp + 0x50c]
call fcn.00422400
add esp, 8
lea ecx, [esp + 0x504]
push ecx
jmp 0x407c1a
mov edx, dword [0x5be5a8]
push edx
push str._table_width100___td__center_v1._d__center___td___table_
lea edx, [esp + 0x50c]
call fcn.00422400
add esp, 8
lea eax, [esp + 0x504]
push eax
push str.LAUNCHER_VERSION
push edi
call fcn.00403fc0
mov ecx, dword [0x5be5a4]
push ecx
push str._table_width100___td__center_v1.4._d__center___td___table_
mov eax, 0x100
lea edx, [esp + 0x50c]
call fcn.00422400
add esp, 8
lea edx, [esp + 0x504]
push edx
push str.CLIENT_VERSION
push edi
call fcn.00403fc0
cmp dword [esp + 0x8c], 0x10
jb 0x407c3c
mov eax, dword [esp + 0x78]
push eax
call fcn.004310e1
add esp, 4
mov ecx, dword [esp + 0x710]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6f8]
xor ecx, esp
call fcn.005320a3
mov esp, ebp
pop ebp
ret