Function at 0x40c0b0
Capabilities:
Check if file exists
Create directory
Create process on windows
Create thread
Delete file
Move file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474499
mov eax, dword fs:[0]
push eax
sub esp, 0xba4
mov eax, dword [0x48c0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x3cc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd4]
push 0
mov dword [ebp - 0xb5c], edi
call edx
lea eax, [ebp - 0xb52]
push eax
lea ecx, [ebp - 0xbb0]
push ecx
call fcn.00411fb0
mov dword [ebp - 4], 0
cmp dword [edi + 0x42c], 8
jb 0x40c123
mov eax, dword [edi + 0x418]
jmp 0x40c129
lea eax, [edi + 0x418]
push eax
push 0
push str.NUMBER
push 0x480d78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, 1
cmp eax, ebx
mov dword [ebp - 0xb58], eax
mov dword [ebp - 0xb60], ebx
jl 0x40c366
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x2a6]
push eax
mov word [ebp - 0x2a8], dx
call fcn.00459f00
mov edx, dword [ebp - 0xb60]
add esp, 0xc
xor eax, eax
push edx
push str.FILE_d
mov dword [ebp - 0xb22], eax
mov dword [ebp - 0xb1e], eax
mov dword [ebp - 0xb1a], eax
mov dword [ebp - 0xb16], eax
mov word [ebp - 0xb12], ax
lea eax, [ebp - 0xb24]
xor ecx, ecx
push 0xa
push eax
mov word [ebp - 0xb24], cx
call fcn.00458e0b
mov eax, dword [ebp - 0xb5c]
add esp, 0x10
cmp dword [eax + 0x42c], 8
jb 0x40c1d1
mov eax, dword [eax + 0x418]
jmp 0x40c1d6
add eax, 0x418
push eax
push 0x104
lea ecx, [ebp - 0x2a8]
push ecx
push 0x4810b4
lea edx, [ebp - 0xb24]
push edx
push 0x480d78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2a8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c203
sub eax, edx
sar eax, 1
je 0x40c341
xor eax, eax
mov word [ebp - 0xaf0], ax
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0xadc], 7
mov dword [ebp - 0xae0], 0
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c240
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a8]
lea esi, [ebp - 0xaf4]
call fcn.00409400
push 0x480394
xor eax, eax
mov edx, esi
mov byte [ebp - 4], bl
call fcn.00411520
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40c302
mov ecx, esi
push ecx
lea edx, [ebx + 1]
or ecx, 0xffffffff
lea esi, [ebp - 0x54]
call fcn.00409010
mov edi, eax
lea edx, [ebp - 0xaf4]
push edx
mov ecx, ebx
xor edx, edx
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00409010
mov ebx, eax
lea ecx, [ebp - 0xbb0]
mov byte [ebp - 4], 3
call fcn.00410e50
push 0xffffffffffffffff
mov ecx, eax
push 0
mov eax, edi
call fcn.004090c0
mov esi, 8
cmp dword [ebp - 0x14], esi
jb 0x40c2db
mov eax, dword [ebp - 0x28]
push eax
call fcn.00457a6e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
cmp dword [ebp - 0x3c], esi
jb 0x40c326
mov edx, dword [ebp - 0x50]
push edx
call fcn.00457a6e
add esp, 4
jmp 0x40c326
lea ebx, [ebp - 0xaf4]
lea ecx, [ebp - 0xbb0]
call fcn.00410e50
mov esi, eax
push 0
mov eax, 0x4810b4
call fcn.00409400
mov esi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0xadc], esi
jb 0x40c341
mov eax, dword [ebp - 0xaf0]
push eax
call fcn.00457a6e
add esp, 4
mov eax, dword [ebp - 0xb60]
mov ebx, 1
add eax, ebx
cmp eax, dword [ebp - 0xb58]
mov dword [ebp - 0xb60], eax
jle 0x40c155
mov edi, dword [ebp - 0xb5c]
lea eax, [edi + 0x270]
push eax
mov ebx, str.updateex.ini
lea esi, [ebp - 0xb10]
mov dword [ebp - 0xb60], eax
call fcn.00409790
add esp, 4
mov byte [ebp - 4], 4
cmp word [edi + 0x26c], 2
je 0x40c7f7
push edi
call fcn.0040dd80
lea eax, [edi + 0x344]
push eax
mov dword [ebp - 0xb58], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x318]
mov ebx, dword [eax]
mov ecx, dword [edi + 0x304]
mov dword [ebp - 0xb4c], ebx
mov dword [ebp - 0xb50], ecx
mov ecx, dword [ebp - 0xb50]
mov esi, dword [edi + 0x318]
mov eax, dword [edi + 0x304]
test ecx, ecx
je 0x40c3e5
cmp ecx, eax
je 0x40c3f0
call fcn.0045808d
mov ecx, dword [ebp - 0xb50]
cmp ebx, esi
je 0x40c7e5
test ecx, ecx
jne 0x40c41c
call fcn.0045808d
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40c40d
call fcn.0045808d
mov edi, 8
cmp dword [ebx + 0x74], edi
jb 0x40c420
mov eax, dword [ebx + 0x60]
jmp 0x40c423
mov eax, dword [ecx]
jmp 0x40c403
lea eax, [ebx + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0xb50]
test eax, eax
jne 0x40c463
test esi, esi
jne 0x40c453
call fcn.0045808d
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40c449
call fcn.0045808d
cmp dword [ebx + 0x74], edi
jb 0x40c457
mov eax, dword [ebx + 0x60]
jmp 0x40c45a
mov eax, dword [esi]
jmp 0x40c43f
lea eax, [ebx + 0x60]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test esi, esi
jne 0x40c482
call fcn.0045808d
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40c478
call fcn.0045808d
cmp dword [ebx + 0x74], edi
jb 0x40c486
mov edi, dword [ebx + 0x60]
jmp 0x40c489
mov eax, dword [esi]
jmp 0x40c46e
lea edi, [ebx + 0x60]
test edi, edi
jne 0x40c491
xor ecx, ecx
jmp 0x40c4ea
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x40c4e6
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0045dfe0
mov esi, esp
test esi, esi
je 0x40c4da
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [ebp - 0xb4c]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp - 0xb50]
jmp 0x40c4e8
mov ebx, dword [ebp - 0xb4c]
mov esi, dword [ebp - 0xb50]
xor eax, eax
mov ecx, eax
mov eax, ecx
mov dword [ebp - 0xadc], 0xf
mov dword [ebp - 0xae0], 0
mov byte [ebp - 0xaf0], 0
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c510
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0xaf4]
call fcn.00403880
mov byte [ebp - 4], 5
test esi, esi
jne 0x40c5c1
call fcn.0045808d
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40c543
call fcn.0045808d
lea eax, [ebx + 0x24]
push 0
mov dword [ebp - 0xb54], eax
push eax
or eax, 0xffffffff
lea esi, [ebp - 0xaf4]
call fcn.004029c0
mov esi, dword [ebp - 0xb50]
test esi, esi
jne 0x40c5c8
call fcn.0045808d
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40c578
call fcn.0045808d
test esi, esi
jne 0x40c5cc
call fcn.0045808d
cmp ebx, dword [esi + 0x14]
jne 0x40c58b
call fcn.0045808d
lea edx, [ebx + 0x24]
push edx
add ebx, 0x40
push ebx
lea edi, [ebp - 0x2c]
call fcn.00406ba0
mov ecx, dword [ebp - 0xaf0]
mov edi, 0x10
add esp, 8
cmp dword [ebp - 0xadc], edi
jae 0x40c5b7
lea ecx, [ebp - 0xaf0]
cmp dword [eax + 0x18], edi
jb 0x40c5d0
mov eax, dword [eax + 4]
jmp 0x40c5d3
mov eax, dword [esi]
jmp 0x40c539
mov eax, dword [esi]
jmp 0x40c56e
mov esi, dword [esi]
jmp 0x40c581
add eax, 4
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov esi, eax
cmp dword [ebp - 0x14], edi
jb 0x40c5f0
mov eax, dword [ebp - 0x28]
push eax
call fcn.00457a6e
add esp, 4
test esi, esi
je 0x40c78f
mov eax, dword [ebp - 0xb50]
test eax, eax
jne 0x40c629
call fcn.0045808d
xor eax, eax
mov ecx, dword [ebp - 0xb4c]
cmp ecx, dword [eax + 0x14]
jne 0x40c619
call fcn.0045808d
mov ebx, dword [ebp - 0xb54]
cmp dword [ebx + 0x18], edi
jb 0x40c62d
mov ebx, dword [ebx + 4]
jmp 0x40c630
mov eax, dword [eax]
jmp 0x40c609
add ebx, 4
test ebx, ebx
je 0x40c66f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x40c66f
lea eax, [edi + edi]
call fcn.0045dfe0
mov esi, esp
test esi, esi
je 0x40c66f
push edi
push esi
push 0xffffffffffffffff
xor edx, edx
push ebx
push edx
push 3
mov word [esi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40c671
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x50], cx
mov ecx, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40c690
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x54]
call fcn.00409400
mov edx, esi
push edx
lea eax, [ebp - 0xb68]
push eax
lea ecx, [ebp - 0xbb0]
push ecx
mov byte [ebp - 4], 6
call fcn.00412030
cmp dword [ebp - 0x3c], 8
jb 0x40c6d4
mov edx, dword [ebp - 0x50]
push edx
call fcn.00457a6e
add esp, 4
mov esi, dword [ebp - 0xb68]
mov ebx, dword [ebp - 0xb94]
test esi, esi
je 0x40c6ec
cmp esi, dword [ebp - 0xba8]
je 0x40c6f1
call fcn.0045808d
mov edi, dword [ebp - 0xb64]
cmp edi, ebx
je 0x40c78f
test esi, esi
jne 0x40c71d
call fcn.0045808d
cmp edi, dword [esi + 0x14]
jne 0x40c712
call fcn.0045808d
cmp dword [edi + 0x3c], 8
jb 0x40c721
mov edi, dword [edi + 0x28]
jmp 0x40c724
mov esi, dword [esi]
jmp 0x40c708
add edi, 0x28
test edi, edi
je 0x40c765
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x40c765
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0045dfe0
mov esi, esp
test esi, esi
je 0x40c765
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40c767
xor eax, eax
cmp dword [ebp - 0xadc], 0x10
mov ecx, dword [ebp - 0xaf0]
jae 0x40c77c
lea ecx, [ebp - 0xaf0]
push 1
push 0
push eax
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 4
cmp dword [ebp - 0xadc], 0x10
jb 0x40c7ab
mov eax, dword [ebp - 0xaf0]
push eax
call fcn.00457a6e
add esp, 4
mov eax, dword [ebp - 0xb50]
test eax, eax
jne 0x40c7e1
call fcn.0045808d
xor eax, eax
mov esi, dword [ebp - 0xb4c]
cmp esi, dword [eax + 0x14]
jne 0x40c7cc
call fcn.0045808d
mov ecx, dword [esi]
mov edi, dword [ebp - 0xb5c]
mov dword [ebp - 0xb4c], ecx
mov ebx, ecx
jmp 0x40c3cb
mov eax, dword [eax]
jmp 0x40c7bc
mov edx, dword [ebp - 0xb58]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x40d4ec
cmp byte [edi + 0x3a9], 0
mov dword [ebp - 0xb54], 1
jne 0x40cf5c
cmp dword [ebp - 0xaf8], 8
jb 0x40c82b
mov eax, dword [ebp - 0xb0c]
mov dword [ebp - 0xb58], eax
test eax, eax
jne 0x40c837
xor ecx, ecx
jmp 0x40c87e
lea eax, [ebp - 0xb0c]
mov dword [ebp - 0xb58], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x40c87a
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0045dfe0
mov esi, esp
test esi, esi
je 0x40c87a
mov eax, dword [ebp - 0xb58]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push eax
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40c87c
xor eax, eax
mov ecx, eax
mov eax, ecx
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c895
sub eax, ebx
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.00403880
lea eax, [edi + 0x344]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0xb58], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x318]
mov ecx, dword [eax]
mov esi, dword [edi + 0x304]
mov dword [ebp - 0xb4c], ecx
mov dword [ebp - 0xb50], esi
mov ecx, dword [ebp - 0xb4c]
mov ebx, dword [edi + 0x318]
mov eax, dword [edi + 0x304]
test esi, esi
je 0x40c8f3
cmp esi, eax
je 0x40c8fe
call fcn.0045808d
mov ecx, dword [ebp - 0xb4c]
cmp ecx, ebx
je 0x40ceba
test esi, esi
jne 0x40c932
call fcn.0045808d
mov ecx, dword [ebp - 0xb4c]
xor eax, eax
cmp ecx, dword [eax + 0x14]
jne 0x40c927
call fcn.0045808d
mov ecx, dword [ebp - 0xb4c]
cmp dword [ecx + 0x74], 8
jb 0x40c936
mov eax, dword [ecx + 0x60]
jmp 0x40c939
mov eax, dword [esi]
jmp 0x40c917
lea eax, [ecx + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c985
test esi, esi
jne 0x40c973
call fcn.0045808d
xor eax, eax
mov ebx, dword [ebp - 0xb4c]
cmp ebx, dword [eax + 0x14]
jne 0x40c95f
call fcn.0045808d
cmp dword [ebx + 0x74], 8
jb 0x40c977
mov eax, dword [ebx + 0x60]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40c98b
mov eax, dword [esi]
jmp 0x40c94f
lea eax, [ebx + 0x60]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40c98b
mov ebx, dword [ebp - 0xb4c]
test esi, esi
jne 0x40c9ab
call fcn.0045808d
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40c9a0
call fcn.0045808d
cmp dword [ebx + 0x74], 8
jb 0x40c9af
mov ebx, dword [ebx + 0x60]
jmp 0x40c9b2
mov eax, dword [esi]
jmp 0x40c996
add ebx, 0x60
test ebx, ebx
jne 0x40c9ba
xor ecx, ecx
jmp 0x40ca07
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x40ca03
lea edi, [eax + eax]
mov eax, edi
call fcn.0045dfe0
mov esi, esp
test esi, esi
je 0x40c9fd
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp - 0xb50]
jmp 0x40ca05
mov esi, dword [ebp - 0xb50]
xor eax, eax
mov ecx, eax
mov eax, ecx
mov dword [ebp - 0xadc], 0xf
mov dword [ebp - 0xae0], 0
mov byte [ebp - 0xaf0], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40ca27
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0xaf4]
call fcn.00403880
mov byte [ebp - 4], 8
test esi, esi
jne 0x40caa2
call fcn.0045808d
xor eax, eax
mov edx, dword [ebp - 0xb4c]
cmp edx, dword [eax + 0x14]
jne 0x40ca5c
call fcn.0045808d
mov ebx, dword [ebp - 0xb4c]
push 0
add ebx, 0x24
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0xaf4]
call fcn.004029c0
mov edi, dword [ebp - 0xb50]
test edi, edi
jne 0x40caa6
call fcn.0045808d
xor eax, eax
mov ecx, dword [ebp - 0xb4c]
cmp ecx, dword [eax + 0x14]
jne 0x40ca97
call fcn.0045808d
cmp dword [ebx + 0x18], 0x10
jb 0x40caaa
mov ebx, dword [ebx + 4]
jmp 0x40caad
mov eax, dword [esi]
jmp 0x40ca4c
mov eax, dword [edi]
jmp 0x40ca87
add ebx, 4
test ebx, ebx
jne 0x40cab5
xor eax, eax
jmp 0x40caf8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x40caf0
lea eax, [edi + edi]
call fcn.0045dfe0
mov esi, esp
test esi, esi
je 0x40caf0
push edi
push esi
push 0xffffffffffffffff
xor edx, edx
push ebx
push edx
push 3
mov word [esi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40caf2
xor eax, eax
mov edi, dword [ebp - 0xb50]
xor ecx, ecx
mov word [ebp - 0x28], cx
mov ecx, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40cb11
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.00409400
mov edx, esi
push edx
lea eax, [ebp - 0xb68]
push eax
lea ecx, [ebp - 0xbb0]
push ecx
mov byte [ebp - 4], 9
call fcn.00412030
mov byte [ebp - 4], 8
cmp dword [ebp - 0x14], 8
jb 0x40cb59
mov edx, dword [ebp - 0x28]
push edx
call fcn.00457a6e
add esp, 4
xor eax, eax
mov dword [ebp - 0xb23], eax
mov dword [ebp - 0xb1f], eax
mov dword [ebp - 0xb1b], eax
mov dword [ebp - 0xb17], eax
mov word [ebp - 0xb13], ax
mov byte [ebp - 0xb11], al
mov eax, dword [ebp - 0xb54]
push eax
push str.FILES_d
lea ecx, [ebp - 0xb24]
push 0x14
push ecx
mov byte [ebp - 0xb24], 0
call fcn.00457dc2
push 0x209
lea edx, [ebp - 0x6bf]
push 0
push edx
mov byte [ebp - 0x6c0], 0
call fcn.00459f00
add esp, 0x1c
test edi, edi
jne 0x40cc2a
call fcn.0045808d
xor eax, eax
mov esi, dword [ebp - 0xb4c]
cmp esi, dword [eax + 0x14]
jne 0x40cbd9
call fcn.0045808d
test edi, edi
jne 0x40cc2e
call fcn.0045808d
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x40cbee
call fcn.0045808d
mov eax, dword [ebp - 0xb4c]
lea ecx, [eax + 0x24]
push ecx
add eax, 0x40
push eax
lea edi, [ebp - 0x2c]
call fcn.00406ba0
mov ecx, dword [ebp - 0xaf0]
mov esi, 0x10
add esp, 8
cmp dword [ebp - 0xadc], esi
jae 0x40cc20
lea ecx, [ebp - 0xaf0]
cmp dword [eax + 0x18], esi
jb 0x40cc32
mov eax, dword [eax + 4]
jmp 0x40cc35
mov eax, dword [edi]
jmp 0x40cbc9
mov eax, dword [edi]
jmp 0x40cbe4
add eax, 4
push ecx
push eax
push str._s_s
lea edx, [ebp - 0x6c0]
push 0x20a
push edx
call fcn.00457dc2
add esp, 0x14
cmp dword [ebp - 0x14], esi
jb 0x40cc61
mov eax, dword [ebp - 0x28]
push eax
call fcn.00457a6e
add esp, 4
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x3c], esi
jae 0x40cc6c
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x6c0]
push ecx
lea edx, [ebp - 0xb24]
push edx
push 0x480dbc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0xb54]
xor eax, eax
push ecx
push str.ARGUMENT_d
lea edx, [ebp - 0x88]
push 0x14
push edx
mov word [ebp - 0x88], ax
mov dword [ebp - 0x86], eax
mov dword [ebp - 0x82], eax
mov dword [ebp - 0x7e], eax
mov dword [ebp - 0x7a], eax
mov dword [ebp - 0x76], eax
mov dword [ebp - 0x72], eax
mov dword [ebp - 0x6e], eax
mov dword [ebp - 0x6a], eax
mov dword [ebp - 0x66], eax
mov word [ebp - 0x62], ax
call fcn.00458e0b
mov esi, dword [ebp - 0xb68]
mov edi, dword [ebp - 0xb94]
add esp, 0x10
test esi, esi
je 0x40cce9
cmp esi, dword [ebp - 0xba8]
je 0x40ccee
call fcn.0045808d
mov ebx, dword [ebp - 0xb64]
cmp ebx, edi
je 0x40cdc9
cmp dword [ebp - 0xaf8], 8
mov edi, dword [ebp - 0xb0c]
jae 0x40cd11
lea edi, [ebp - 0xb0c]
test esi, esi
jne 0x40cd2f
call fcn.0045808d
cmp ebx, dword [esi + 0x14]
jne 0x40cd24
call fcn.0045808d
cmp dword [ebx + 0x3c], 8
jb 0x40cd33
mov eax, dword [ebx + 0x28]
jmp 0x40cd36
mov esi, dword [esi]
jmp 0x40cd1a
lea eax, [ebx + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
push eax
lea eax, [ebp - 0x88]
push eax
push str.FILE
call esi
mov edx, dword [ebp - 0xb54]
xor eax, eax
push edx
push str.RUN_d
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x38]
xor ecx, ecx
push 0x14
push eax
mov word [ebp - 0x38], cx
call fcn.00458e0b
mov eax, dword [ebp - 0xb0c]
add esp, 0x10
cmp dword [ebp - 0xaf8], 8
jae 0x40cda2
lea eax, [ebp - 0xb0c]
push eax
push 0x480df4
lea ecx, [ebp - 0x38]
push ecx
push str.FILE
call esi
mov ebx, dword [ebp - 0xb50]
mov esi, dword [ebp - 0xb4c]
mov edi, 0x10
jmp 0x40ce67
mov ebx, dword [ebp - 0xb50]
test ebx, ebx
jne 0x40ce41
call fcn.0045808d
xor eax, eax
mov edx, dword [ebp - 0xb4c]
cmp edx, dword [eax + 0x14]
jne 0x40cdea
call fcn.0045808d
test ebx, ebx
jne 0x40ce45
call fcn.0045808d
xor eax, eax
mov ecx, dword [ebp - 0xb4c]
cmp ecx, dword [eax + 0x14]
jne 0x40ce05
call fcn.0045808d
mov esi, dword [ebp - 0xb4c]
lea edx, [esi + 0x24]
push edx
lea eax, [esi + 0x40]
push eax
lea edi, [ebp - 0x2c]
call fcn.00406ba0
mov ecx, dword [ebp - 0xaf0]
mov edi, 0x10
add esp, 8
cmp dword [ebp - 0xadc], edi
jae 0x40ce37
lea ecx, [ebp - 0xaf0]
cmp dword [eax + 0x18], edi
jb 0x40ce49
mov eax, dword [eax + 4]
jmp 0x40ce4c
mov eax, dword [ebx]
jmp 0x40cdda
mov eax, dword [ebx]
jmp 0x40cdf5
add eax, 4
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
cmp dword [ebp - 0x14], edi
jb 0x40ce67
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00457a6e
add esp, 4
inc dword [ebp - 0xb54]
mov byte [ebp - 4], 7
cmp dword [ebp - 0xadc], edi
jb 0x40ce88
mov edx, dword [ebp - 0xaf0]
push edx
call fcn.00457a6e
add esp, 4
test ebx, ebx
jne 0x40ceb6
call fcn.0045808d
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x40ce9d
call fcn.0045808d
mov eax, dword [esi]
mov edi, dword [ebp - 0xb5c]
mov esi, dword [ebp - 0xb50]
mov dword [ebp - 0xb4c], eax
jmp 0x40c8d9
mov eax, dword [ebx]
jmp 0x40ce93
mov ecx, dword [ebp - 0xb58]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
push 0xa
mov dword [ebp - 0xb3e], eax
mov dword [ebp - 0xb3a], eax
mov dword [ebp - 0xb36], eax
mov dword [ebp - 0xb32], eax
mov word [ebp - 0xb2e], ax
mov eax, dword [ebp - 0xb54]
push 0xa
lea ecx, [ebp - 0xb40]
dec eax
push ecx
xor edx, edx
push eax
mov word [ebp - 0xb40], dx
call fcn.00459147
mov eax, dword [ebp - 0xb0c]
mov esi, 8
add esp, 0x10
cmp dword [ebp - 0xaf8], esi
jae 0x40cf25
lea eax, [ebp - 0xb0c]
push eax
lea edx, [ebp - 0xb40]
push edx
push str.NUMBER
push str.FILE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], 0x10
jb 0x40d4f1
mov eax, dword [ebp - 0x50]
push eax
call fcn.00457a6e
add esp, 4
jmp 0x40d4f1
push edi
call fcn.0040dd80
cmp dword [ebp - 0xaf8], 8
mov eax, dword [ebp - 0xb0c]
jae 0x40cf77
lea eax, [ebp - 0xb0c]
push eax
push 0
push str.NUMBER
push str.FILE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xb54], eax
test eax, eax
jle 0x40d3e8
mov dword [ebp - 0xb58], 0x7c
push 0x412
xor esi, esi
lea edx, [ebp - 0xad6]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0xad8], cx
call fcn.00459f00
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x2a6]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x2a8], ax
call fcn.00459f00
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x86], eax
mov dword [ebp - 0x82], eax
mov dword [ebp - 0x7e], eax
mov dword [ebp - 0x7a], eax
mov dword [ebp - 0x76], eax
mov dword [ebp - 0x72], eax
mov dword [ebp - 0x6e], eax
mov dword [ebp - 0x6a], eax
mov dword [ebp - 0x66], eax
mov word [ebp - 0x62], ax
mov eax, dword [ebp - 0xb54]
push eax
push 0x480df8
lea ecx, [ebp - 0x88]
xor edx, edx
push 0x14
push ecx
mov word [ebp - 0x88], dx
call fcn.00458e0b
mov eax, dword [ebp - 0xb0c]
add esp, 0x10
cmp dword [ebp - 0xaf8], 8
jae 0x40d042
lea eax, [ebp - 0xb0c]
push eax
push 0x20a
lea edx, [ebp - 0xad8]
push edx
push 0x4810b4
lea eax, [ebp - 0x88]
push eax
push str.FILE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0xb14], eax
mov dword [ebp - 0xb18], esi
mov word [ebp - 0xb28], cx
xor edx, edx
mov dword [ebp - 0xadc], eax
mov dword [ebp - 0xae0], esi
mov word [ebp - 0xaf0], dx
mov dword [ebp - 0xb30], eax
xor eax, eax
mov dword [ebp - 0xb34], esi
mov word [ebp - 0xb44], ax
lea eax, [ebp - 0xad8]
mov byte [ebp - 4], 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40d0b7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xad8]
lea esi, [ebp - 0xb48]
call fcn.00409400
lea ecx, [ebp - 0xb58]
push ecx
mov ebx, 1
xor eax, eax
mov edx, esi
call fcn.00411520
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d16b
mov edx, esi
push edx
mov ecx, ebx
xor edx, edx
lea esi, [ebp - 0x2c]
call fcn.00409010
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 0xd
call fcn.004090c0
mov edi, 8
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], edi
jb 0x40d130
mov eax, dword [ebp - 0x28]
push eax
call fcn.00457a6e
add esp, 4
lea ecx, [ebp - 0xb48]
push ecx
lea edx, [ebx + 1]
or ecx, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.00409010
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xaf4]
mov byte [ebp - 4], 0xe
call fcn.004090c0
cmp dword [ebp - 0x14], edi
jb 0x40d194
mov edx, dword [ebp - 0x28]
push edx
call fcn.00457a6e
add esp, 4
jmp 0x40d194
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb48]
lea ecx, [ebp - 0xaf4]
call fcn.004090c0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xb2c]
call fcn.004090c0
mov edi, 8
mov ecx, dword [ebp - 0xaf0]
cmp dword [ebp - 0xadc], edi
jae 0x40d1a8
lea ecx, [ebp - 0xaf0]
mov eax, dword [ebp - 0xb28]
cmp dword [ebp - 0xb14], edi
jae 0x40d1bc
lea eax, [ebp - 0xb28]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, dword [ebp - 0xb54]
test eax, eax
je 0x40d359
xor eax, eax
push ebx
push str.RUN_d
lea ecx, [ebp - 0x38]
push 0x14
push ecx
mov word [ebp - 0x38], ax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call fcn.00458e0b
mov eax, dword [ebp - 0xb0c]
add esp, 0x10
cmp dword [ebp - 0xaf8], edi
jae 0x40d221
lea eax, [ebp - 0xb0c]
push eax
push 0
lea edx, [ebp - 0x38]
push edx
push str.FILE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x40d2bc
cmp dword [ebp - 0xb30], edi
jb 0x40d252
mov eax, dword [ebp - 0xb44]
push eax
call fcn.00457a6e
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0xb30], esi
mov dword [ebp - 0xb34], 0
mov word [ebp - 0xb44], cx
cmp dword [ebp - 0xadc], edi
jb 0x40d287
mov edx, dword [ebp - 0xaf0]
push edx
call fcn.00457a6e
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0xadc], esi
mov dword [ebp - 0xae0], 0
mov word [ebp - 0xaf0], ax
cmp dword [ebp - 0xb14], edi
jb 0x40d3d9
mov ecx, dword [ebp - 0xb28]
push ecx
jmp 0x40d3d1
xor eax, eax
push ebx
push str.ARGUMENT_d
mov dword [ebp - 0x5e], eax
mov dword [ebp - 0x5a], eax
mov dword [ebp - 0x56], eax
mov dword [ebp - 0x52], eax
mov dword [ebp - 0x4e], eax
mov dword [ebp - 0x4a], eax
mov dword [ebp - 0x46], eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x60]
xor edx, edx
push 0x14
push eax
mov word [ebp - 0x60], dx
call fcn.00458e0b
mov eax, dword [ebp - 0xb0c]
add esp, 0x10
cmp dword [ebp - 0xaf8], edi
jae 0x40d30b
lea eax, [ebp - 0xb0c]
push eax
push 0x104
lea ecx, [ebp - 0x2a8]
push ecx
push 0x4810b4
lea edx, [ebp - 0x60]
push edx
push str.FILE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0xaf0]
cmp dword [ebp - 0xadc], edi
jae 0x40d340
lea eax, [ebp - 0xaf0]
push 1
push 0
lea ecx, [ebp - 0x2a8]
push ecx
push eax
push 0x480398
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0xb30], edi
jb 0x40d370
mov edx, dword [ebp - 0xb44]
push edx
call fcn.00457a6e
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0xb30], esi
mov dword [ebp - 0xb34], 0
mov word [ebp - 0xb44], ax
cmp dword [ebp - 0xadc], edi
jb 0x40d3a5
mov ecx, dword [ebp - 0xaf0]
push ecx
call fcn.00457a6e
add esp, 4
xor edx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0xadc], esi
mov dword [ebp - 0xae0], 0
mov word [ebp - 0xaf0], dx
cmp dword [ebp - 0xb14], edi
jb 0x40d3d9
mov eax, dword [ebp - 0xb28]
push eax
call fcn.00457a6e
add esp, 4
dec ebx
mov dword [ebp - 0xb54], ebx
test ebx, ebx
jg 0x40cfa2
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x6be]
push edx
mov word [ebp - 0x6c0], cx
call fcn.00459f00
mov eax, dword [ebp - 0xb0c]
add esp, 0xc
cmp dword [ebp - 0xaf8], 8
jae 0x40d41b
lea eax, [ebp - 0xb0c]
push eax
push 0x104
lea eax, [ebp - 0x6c0]
push eax
push 0x4810b4
push str.NAME
push str.FORCE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x6c0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d446
sub eax, edx
sar eax, 1
jne 0x40d4e6
mov edx, dword [ebp - 0xb60]
push str.updateex.ini
mov eax, 0xc
call fcn.00409320
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x40d47f
mov eax, dword [eax + 4]
jmp 0x40d482
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 0xb5c]
mov eax, esi
call fcn.0040b310
push 1
push 0
push 0
push 0x480be4
push 0x480398
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov ecx, esi
call fcn.0042e2a6
cmp dword [ebp - 0xaf8], edi
jb 0x40d4ce
mov ecx, dword [ebp - 0xb0c]
push ecx
call fcn.00457a6e
add esp, 4
xor edx, edx
mov dword [ebp - 0xaf8], 7
mov word [ebp - 0xb0c], dx
jmp 0x40dcf9
mov edi, dword [ebp - 0xb5c]
mov esi, 8
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x4ae]
push ecx
mov word [ebp - 0x4b0], ax
call fcn.00459f00
add esp, 0xc
cmp dword [edi + 0x42c], esi
jb 0x40d51f
mov eax, dword [edi + 0x418]
jmp 0x40d525
lea eax, [edi + 0x418]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea edx, [ebp - 0x4b0]
push edx
push 0x4810b4
push str.NAME
push 0x480d78
call ebx
lea eax, [ebp - 0x4b0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d552
sub eax, edx
sar eax, 1
jne 0x40d57a
cmp byte [edi + 0x3a9], cl
je 0x40dbd5
mov edi, dword [ebp - 0xb5c]
mov esi, 8
cmp byte [edi + 0x3a9], 0
je 0x40d6aa
mov eax, dword [ebp - 0xb0c]
cmp dword [ebp - 0xaf8], esi
jae 0x40d59b
lea eax, [ebp - 0xb0c]
push eax
push 0x104
lea eax, [ebp - 0x4b0]
push eax
push 0x4810b4
push str.NAME
push str.FORCE
call ebx
lea eax, [ebp - 0x4b0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d5c2
sub eax, edx
sar eax, 1
jne 0x40d610
mov edx, dword [ebp - 0xb60]
push str.updateex.ini
mov eax, 0xc
call fcn.00409320
cmp dword [eax + 0x18], esi
jb 0x40d5f2
mov eax, dword [eax + 4]
jmp 0x40d5f5
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
mov ecx, edi
call fcn.0042e2a6
cmp dword [ebp - 0xaf8], esi
jmp 0x40d4bd
push str.TTKvod_Update_Haidao_timer
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [edi + 0x290], eax
test eax, eax
je 0x40d645
push 0
push 0
push edi
push 0x40af10
push 0
push 0
call fcn.00458f54
add esp, 0x18
mov dword [edi + 0x44c], eax
mov ecx, dword [edi + 0x290]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xb68]
push eax
push ecx
mov dword [ebp - 0xb68], 0xff676980
mov dword [ebp - 0xb64], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov edx, dword [edi + 4]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov eax, dword [edi + 4]
push 0x40000
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [edi + 0x3d8]
push 3
call fcn.0043dcc5
push 1
push 1
mov ecx, edi
call fcn.0042d9c5
push 0x3e
xor esi, esi
lea edx, [ebp - 0x9e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0xa0], cx
call fcn.00459f00
mov ecx, dword [edi + 4]
add esp, 0xc
push 0xa
push 0x20
lea eax, [ebp - 0xa0]
push eax
push ecx
call fcn.00459173
mov eax, 7
xor edx, edx
add esp, 0x10
mov dword [ebp - 0xb14], eax
mov dword [ebp - 0xb18], esi
mov word [ebp - 0xb28], dx
mov dword [ebp - 0xb30], eax
xor eax, eax
mov dword [ebp - 0xb34], esi
mov word [ebp - 0xb44], ax
lea eax, [ebp - 0x4b0]
mov byte [ebp - 4], 0x10
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40d720
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x4b0]
lea esi, [ebp - 0xb2c]
call fcn.00409400
xor eax, eax
mov ebx, 1
mov edx, esi
cmp byte [edi + 0x3a9], al
jne 0x40d759
push 0x480394
jmp 0x40d75e
push 0x480e58
call fcn.00411520
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d7e4
lea ecx, [ebp - 0xb2c]
push ecx
lea edx, [ebx + 1]
or ecx, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.00409010
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xb48]
mov byte [ebp - 4], 0x11
call fcn.004090c0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x14], 8
jb 0x40d7a8
mov edx, dword [ebp - 0x28]
push edx
call fcn.00457a6e
add esp, 4
lea eax, [ebp - 0xb2c]
push eax
mov ecx, ebx
xor edx, edx
lea esi, [ebp - 0x2c]
call fcn.00409010
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 0x12
call fcn.004090c0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x14], 8
jb 0x40d7e4
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00457a6e
add esp, 4
cmp byte [edi + 0x3a9], 0
jne 0x40d83f
mov eax, dword [ebp - 0xb60]
lea edx, [ebp - 0xb2c]
push edx
push eax
lea edi, [ebp - 0x2c]
call fcn.00414410
add esp, 8
mov esi, dword [ebp - 0xb5c]
add esi, 0x45c
push 0xffffffffffffffff
mov byte [ebp - 4], 0x13
push 0
mov ecx, esi
mov dword [ebp - 0xb54], esi
call fcn.004090c0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x14], 8
jb 0x40d85e
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00457a6e
add esp, 4
jmp 0x40d85e
add edi, 0x45c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb2c]
mov ecx, edi
mov dword [ebp - 0xb54], edi
call fcn.004090c0
mov esi, edi
mov edi, dword [ebp - 0xb5c]
push esi
mov ebx, 0x480e58
lea esi, [ebp - 0xaf4]
call fcn.00409790
add esp, 4
push 0
lea edx, [ebp - 0xb48]
push edx
or eax, 0xffffffff
mov byte [ebp - 4], 0x14
call fcn.00409250
push 0x480e5c
mov eax, 0xc
lea edx, [ebp - 0xb48]
call fcn.00409320
lea eax, [ebp - 0xa0]
lea edx, [eax + 2]
jmp 0x40d8b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d8b0
sub eax, edx
lea ecx, [ebp - 0xa0]
sar eax, 1
push ecx
lea edx, [ebp - 0xb48]
call fcn.00409320
mov esi, dword [ebp - 0xb54]
mov ebx, 8
cmp dword [esi + 0x18], ebx
jb 0x40d8e6
mov eax, dword [esi + 4]
jmp 0x40d8e9
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40db1e
cmp word [edi + 0x26c], 2
je 0x40d914
mov ecx, dword [edi + 0x3d8]
push 3
call fcn.0043dcc5
jmp 0x40d9b2
cmp byte [edi + 0x3a9], 0
jne 0x40d9b2
mov edx, dword [edi + 4]
push 3
push edx
push 2
push 0x480e78
mov esi, 0x480b70
mov ecx, 0x480e80
call fcn.0040a1a0
add esp, 0x10
cmp eax, 1
je 0x40d9ac
mov eax, dword [ebp - 0xb0c]
cmp dword [ebp - 0xaf8], ebx
jae 0x40d959
lea eax, [ebp - 0xb0c]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x480df4
push str.NEXTTIME
push str.FORCE
call esi
mov ecx, dword [ebp - 0xb0c]
cmp dword [ebp - 0xaf8], ebx
jae 0x40d985
lea ecx, [ebp - 0xb0c]
mov eax, dword [ebp - 0xaf0]
cmp dword [ebp - 0xadc], ebx
jae 0x40d999
lea eax, [ebp - 0xaf0]
push ecx
push eax
push str.NAME
push str.FORCE
call esi
jmp 0x40dc3f
mov esi, dword [ebp - 0xb54]
push edi
call fcn.0040dd80
mov ecx, dword [ebp - 0xb44]
cmp dword [ebp - 0xb30], ebx
jae 0x40d9cc
lea ecx, [ebp - 0xb44]
cmp dword [esi + 0x18], ebx
jb 0x40d9d6
mov eax, dword [esi + 4]
jmp 0x40d9d9
lea eax, [esi + 4]
push 1
push 0
push ecx
push eax
push 0x480398
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp word [edi + 0x26c], 2
jne 0x40db5f
mov eax, dword [ebp - 0xb0c]
cmp dword [ebp - 0xaf8], ebx
jae 0x40da0e
lea eax, [ebp - 0xb0c]
push eax
push 0x480ebc
push str.NEXTTIME
push str.FORCE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0xb60]
push str.updateex.ini
mov eax, 0xc
call fcn.00409320
cmp dword [eax + 0x18], ebx
jb 0x40da43
mov eax, dword [eax + 4]
jmp 0x40da46
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x478]
mov eax, esi
call fcn.004090c0
mov eax, edi
call fcn.0040b310
push 1
mov ecx, edi
call fcn.0042e2a6
cmp dword [ebp - 0xadc], ebx
jb 0x40da85
mov edx, dword [ebp - 0xaf0]
push edx
call fcn.00457a6e
add esp, 4
xor edi, edi
xor eax, eax
mov esi, 7
mov dword [ebp - 0xadc], esi
mov dword [ebp - 0xae0], edi
mov word [ebp - 0xaf0], ax
cmp dword [ebp - 0xb30], ebx
jb 0x40dab8
mov ecx, dword [ebp - 0xb44]
push ecx
call fcn.00457a6e
add esp, 4
xor edx, edx
mov dword [ebp - 0xb30], esi
mov dword [ebp - 0xb34], edi
mov word [ebp - 0xb44], dx
cmp dword [ebp - 0xb14], ebx
jb 0x40dae4
mov eax, dword [ebp - 0xb28]
push eax
call fcn.00457a6e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xb14], esi
mov dword [ebp - 0xb18], edi
mov word [ebp - 0xb28], cx
cmp dword [ebp - 0xaf8], ebx
jb 0x40db10
mov edx, dword [ebp - 0xb0c]
push edx
call fcn.00457a6e
add esp, 4
xor eax, eax
mov word [ebp - 0xb0c], ax
jmp 0x40dcf3
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.updatefile.list
call esi
cmp dword [edi + 0x42c], ebx
jb 0x40db3b
mov eax, dword [edi + 0x418]
jmp 0x40db41
lea eax, [edi + 0x418]
push eax
call esi
cmp word [edi + 0x26c], 2
je 0x40dbf5
mov ecx, dword [edi + 0x3d8]
push 5
call fcn.0043dcc5
cmp dword [ebp - 0xadc], ebx
jb 0x40db76
mov ecx, dword [ebp - 0xaf0]
push ecx
call fcn.00457a6e
add esp, 4
xor edi, edi
xor edx, edx
mov esi, 7
mov dword [ebp - 0xadc], esi
mov dword [ebp - 0xae0], edi
mov word [ebp - 0xaf0], dx
cmp dword [ebp - 0xb30], ebx
jb 0x40dba9
mov eax, dword [ebp - 0xb44]
push eax
call fcn.00457a6e
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xb30], esi
mov dword [ebp - 0xb34], edi
mov word [ebp - 0xb44], cx
cmp dword [ebp - 0xb14], ebx
jb 0x40dbd5
mov edx, dword [ebp - 0xb28]
push edx
call fcn.00457a6e
add esp, 4
mov eax, dword [ebp - 0xb5c]
push 0
add eax, 0x454
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0xaf8], 8
jmp 0x40d4bd
mov eax, dword [ebp - 0xb0c]
cmp dword [ebp - 0xaf8], ebx
jae 0x40dc09
lea eax, [ebp - 0xb0c]
push eax
push 0x480df4
push str.NEXTTIME
push str.FORCE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.updatefile.list
call esi
cmp dword [edi + 0x42c], ebx
jb 0x40dc36
mov eax, dword [edi + 0x418]
jmp 0x40dc3c
lea eax, [edi + 0x418]
push eax
call esi
push 1
mov ecx, edi
call fcn.0042e2a6
cmp dword [ebp - 0xadc], ebx
jb 0x40dc5f
mov eax, dword [ebp - 0xaf0]
push eax
call fcn.00457a6e
add esp, 4
xor edi, edi
xor ecx, ecx
mov esi, 7
mov word [ebp - 0xaf0], cx
mov dword [ebp - 0xae0], edi
mov dword [ebp - 0xadc], esi
cmp dword [ebp - 0xb30], ebx
jb 0x40dc92
mov edx, dword [ebp - 0xb44]
push edx
call fcn.00457a6e
add esp, 4
xor eax, eax
mov word [ebp - 0xb44], ax
mov dword [ebp - 0xb34], edi
mov dword [ebp - 0xb30], esi
cmp dword [ebp - 0xb14], ebx
jb 0x40dcbe
mov ecx, dword [ebp - 0xb28]
push ecx
call fcn.00457a6e
add esp, 4
xor edx, edx
mov word [ebp - 0xb28], dx
mov dword [ebp - 0xb18], edi
mov dword [ebp - 0xb14], esi
cmp dword [ebp - 0xaf8], ebx
jb 0x40dcea
mov eax, dword [ebp - 0xb0c]
push eax
call fcn.00457a6e
add esp, 4
xor ecx, ecx
mov word [ebp - 0xb0c], cx
mov dword [ebp - 0xaf8], esi
lea esi, [ebp - 0xbb0]
mov dword [ebp - 0xafc], 0
call fcn.0040dd30
lea esp, [ebp - 0xbc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457a79
mov esp, ebp
pop ebp
ret