Function at 0x406250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x437166
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x443284]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x443284]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1e8]
push 0xffffffffffffffff
xor ebx, ebx
push eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xbb8
mov dword [esp + 0x12c], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x43a36a
lea ecx, [esp + 0x104]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x11c], 0xf
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
call fcn.00401b50
mov byte [esp + 0x128], 1
push ebx
push 0x439e24
lea esi, [esp + 0xcc]
mov dword [esp + 0xe4], 7
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], bx
call fcn.00401d80
mov byte [esp + 0x128], 2
push ebx
push 0x439e24
lea esi, [esp + 0xe8]
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
call fcn.00401d80
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x12c], 3
call fcn.00406a90
lea ecx, [esp + 0x30]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x3c]
movzx eax, word [esp + 0x3a]
movzx ecx, word [esp + 0x38]
push edx
movzx edx, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push ecx
movzx ecx, word [esp + 0x3c]
push edx
push eax
push ecx
push 0x43be3c
push 0x20
push 0x20
push 0x445de8
call fcn.0041f84a
push 0x445de8
push str.___s__
push 0x104
push 0x104
push 0x445be0
call fcn.0041f84a
mov edx, dword [esp + 0x4c]
add esp, 0x3c
push edx
push esi
push str.UpdateCtrl::UpdateFromLocal:_CheckLocalUpdate_d__update_self_02x.
push 4
call fcn.004154c0
add esp, 0x10
cmp esi, 1
jne 0x4069b3
cmp dword [esp + 0x10], ebx
je 0x40672a
lea eax, [edi + 0x1ec]
push eax
mov ebx, str.DrCopy.exe
lea esi, [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.00402310
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x130], 4
call fcn.00401a50
mov byte [esp + 0x128], 3
cmp dword [esp + 0x6c], 8
jb 0x406445
mov eax, dword [esp + 0x58]
push eax
call fcn.0041f829
add esp, 4
add edi, 0x208
push edi
mov edx, 0x43a59c
lea edi, [esp + 0x18]
call fcn.00411620
add esp, 4
push eax
mov ebx, str.___
lea esi, [esp + 0x58]
mov byte [esp + 0x12c], 5
call fcn.00402310
add esp, 4
push eax
mov ebx, str.update
lea esi, [esp + 0xac]
mov byte [esp + 0x12c], 6
call fcn.00402310
add esp, 4
push eax
mov ebx, 0x43a578
lea esi, [esp + 0x90]
mov byte [esp + 0x12c], 7
call fcn.00402310
add esp, 4
mov byte [esp + 0x128], 8
mov ecx, dword [esp + 0x10]
push ecx
push eax
lea edi, [esp + 0x78]
call fcn.004023c0
push eax
mov ebx, 0x43a570
lea esi, [esp + 0x3c]
mov byte [esp + 0x134], 9
call fcn.00402310
add esp, 0xc
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0xe8]
mov byte [esp + 0x130], 0xa
call fcn.00401a50
mov edi, 8
cmp dword [esp + 0x48], edi
jb 0x406513
mov edx, dword [esp + 0x34]
push edx
call fcn.0041f829
add esp, 4
cmp dword [esp + 0x88], edi
mov ebx, 7
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov word [esp + 0x34], si
jb 0x40653b
mov eax, dword [esp + 0x74]
push eax
call fcn.0041f829
add esp, 4
cmp dword [esp + 0xa4], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], esi
mov word [esp + 0x74], si
jb 0x406567
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0041f829
add esp, 4
cmp dword [esp + 0xc0], edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], esi
mov word [esp + 0x90], si
jb 0x406596
mov edx, dword [esp + 0xac]
push edx
call fcn.0041f829
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], esi
mov word [esp + 0xac], si
jb 0x4065bf
mov eax, dword [esp + 0x58]
push eax
call fcn.0041f829
add esp, 4
mov byte [esp + 0x128], 3
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], esi
mov word [esp + 0x58], si
jb 0x4065e7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041f829
add esp, 4
call fcn.00414fa0
push eax
push str.___s__
push 0x104
push 0x104
push 0x445be0
call fcn.0041f84a
add esp, 0x14
push 0x43a5a0
push 2
call fcn.004154c0
add esp, 8
call fcn.00411b50
xor ebx, ebx
lea esi, [esp + 0x14]
mov edi, eax
call fcn.00404640
mov ecx, dword [esp + 0xc8]
mov esi, 8
cmp dword [esp + 0xdc], esi
jae 0x406646
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], esi
jb 0x406650
mov eax, dword [eax + 4]
jmp 0x406653
add eax, 4
mov edx, dword [edi + 0x10]
push ecx
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
shr edx, 1
push edx
push eax
call fcn.0041f84a
add esp, 0x14
cmp dword [esp + 0x2c], esi
jb 0x40667c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041f829
add esp, 4
call fcn.00414fa0
push eax
push str.___s__
push 0x104
push 0x104
push 0x445be0
call fcn.0041f84a
mov ecx, dword [esp + 0xf8]
add esp, 0x14
cmp dword [esp + 0xf8], esi
jae 0x4066b5
lea ecx, [esp + 0xe4]
cmp dword [esp + 0xdc], esi
mov eax, dword [esp + 0xc8]
jae 0x4066cc
lea eax, [esp + 0xc8]
push ecx
push eax
push str.UpdateCtrl::UpdateFromLocal:_call__s_cmd__s.
push 4
call fcn.004154c0
mov eax, dword [esp + 0xf4]
add esp, 0x10
cmp dword [esp + 0xf8], esi
jae 0x4066f4
lea eax, [esp + 0xe4]
cmp dword [esp + 0xdc], esi
mov ecx, dword [esp + 0xc8]
jae 0x40670b
lea ecx, [esp + 0xc8]
mov edx, dword [edi + 8]
push 0
push 5
push edx
push eax
call fcn.00416e40
push edi
call fcn.00411cd0
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [esp + 0xfc]
push eax
push edi
call fcn.00408840
cmp eax, 0xffffffff
je 0x4067e4
cmp eax, ebx
je 0x40685c
cmp eax, 1
jne 0x40685c
sub esp, 0x1c
lea edx, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0040f900
push edi
call fcn.0040f0d0
mov esi, eax
cmp esi, ebx
jge 0x40685c
call fcn.00414fa0
push eax
push str.___s__
push 0x104
push 0x104
push 0x445be0
call fcn.0041f84a
add esp, 0x14
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401960
lea esi, [esp + 0x34]
call fcn.004120d0
add esp, 0x1c
mov esi, 8
mov byte [esp + 0x12c], 0xb
cmp dword [eax + 0x18], esi
jb 0x4067e9
mov eax, dword [eax + 4]
jmp 0x4067ec
or esi, 0xffffffff
jmp 0x406778
add eax, 4
push eax
push str.version___s__update_fail__error_code___d_.
push 2
call fcn.004154c0
add esp, 0x10
mov byte [esp + 0x128], 3
cmp dword [esp + 0x2c], esi
jb 0x406817
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041f829
add esp, 4
mov ebx, 7
lea esi, [esp + 0x14]
call fcn.00404640
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x406834
mov eax, dword [eax + 4]
jmp 0x406837
add eax, 4
push 0x1000
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x2c], esi
jb 0x406861
mov edx, dword [esp + 0x18]
push edx
call fcn.0041f829
add esp, 4
jmp 0x406861
mov esi, 8
cmp dword [edi + 0x220], esi
jb 0x406871
mov eax, dword [edi + 0x20c]
jmp 0x406877
lea eax, [edi + 0x20c]
push 1
push 0x43a678
push eax
call fcn.00414ff0
add esp, 0xc
call fcn.00414fa0
push eax
push str.___s__
push 0x104
push 0x104
push 0x445be0
call fcn.0041f84a
add esp, 0x14
cmp dword [edi + 0x220], esi
jb 0x4068b9
mov eax, dword [edi + 0x20c]
jmp 0x4068bf
lea eax, [edi + 0x20c]
push eax
push str.UpdateCtrl::UpdateFromLocal:_clear_update_file_in__s.
push 4
call fcn.004154c0
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0x1ec
push edi
mov ebx, str.DrMain.exe
lea esi, [esp + 0x18]
call fcn.00402310
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x130], 0xc
call fcn.00401a50
mov byte [esp + 0x128], 3
cmp dword [esp + 0x2c], 8
jb 0x406926
mov eax, dword [esp + 0x18]
push eax
call fcn.0041f829
add esp, 4
call fcn.00411b50
xor ebx, ebx
lea esi, [esp + 0x14]
mov edi, eax
call fcn.00404640
mov ecx, dword [esp + 0xc8]
mov esi, 8
cmp dword [esp + 0xdc], esi
jae 0x406954
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], esi
jb 0x40695e
mov eax, dword [eax + 4]
jmp 0x406961
add eax, 4
mov edx, dword [edi + 8]
push ecx
mov ecx, dword [edi + 0x10]
push eax
push 0xffffffffffffffff
shr ecx, 1
push ecx
push edx
call fcn.0041f84a
add esp, 0x14
cmp dword [esp + 0x2c], esi
jb 0x40698a
mov eax, dword [esp + 0x18]
push eax
call fcn.0041f829
add esp, 4
cmp dword [esp + 0xdc], esi
mov ecx, dword [esp + 0xc8]
jae 0x4069a1
lea ecx, [esp + 0xc8]
mov edx, dword [edi + 8]
push 0
push 5
push edx
push 0x439e24
jmp 0x406714
mov edi, 8
cmp dword [esp + 0xf8], edi
jb 0x4069d1
mov eax, dword [esp + 0xe4]
push eax
call fcn.0041f829
add esp, 4
cmp dword [esp + 0xdc], edi
mov esi, 7
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
jb 0x406a05
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.0041f829
add esp, 4
cmp dword [esp + 0x114], 0x10
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
jb 0x406a35
mov edx, dword [esp + 0x100]
push edx
call fcn.0041f829
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov dword [esp + 0x114], 0xf
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
je 0x406a5d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0041f134
mov esp, ebp
pop ebp
ret