Function at 0x401d20
Capabilities:
Check if file exists
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ffd0
mov eax, dword fs:[0]
push eax
sub esp, 0xd88
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0xd80], eax
push ebx
push esi
push edi
mov eax, dword [0x4a2a04]
xor eax, esp
push eax
lea eax, [esp + 0xd98]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
push 0x206
push eax
lea ecx, [esp + 0x36e]
mov ebx, edx
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x370], ax
call fcn.00456530
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x576]
push eax
mov word [esp + 0x578], dx
call fcn.00456530
add esp, 0xc
mov ecx, esi
call fcn.00402a10
mov edi, 8
mov dword [esi + 0x3d0], eax
cmp dword [esi + 0x3c4], edi
jb 0x401dce
mov ecx, dword [esi + 0x3b0]
jmp 0x401dd4
lea ecx, [esi + 0x3b0]
cmp dword [esi + 0x3a8], edi
jb 0x401de4
mov eax, dword [esi + 0x394]
jmp 0x401dea
lea eax, [esi + 0x394]
push ecx
push eax
lea ecx, [esp + 0x36c]
push str.Hr_g
push ecx
call fcn.004516d5
add esp, 0x10
cmp dword [esi + 0x354], edi
jb 0x401e11
mov ecx, dword [esi + 0x340]
jmp 0x401e17
lea ecx, [esi + 0x340]
cmp dword [esi + 0x338], edi
jb 0x401e27
mov eax, dword [esi + 0x324]
jmp 0x401e2d
lea eax, [esi + 0x324]
push ecx
push eax
lea edx, [esp + 0x574]
push str.Hr_g
push edx
call fcn.004516d5
add esp, 0x10
cmp dword [esi + 0x3d0], 0
je 0x401ed8
cmp byte [esi + 0x3d5], 0
je 0x401e6b
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401fc6
mov ecx, dword [esi + 0x2f8]
test ecx, ecx
je 0x401e81
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 0x47e610
call eax
mov ecx, dword [esi + 0x2fc]
test ecx, ecx
je 0x401e97
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push str.ck_WGS
call eax
mov ecx, dword [esi + 0x300]
test ecx, ecx
je 0x401ead
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 0x47e63c
call eax
mov ecx, dword [esi + 0x310]
test ecx, ecx
je 0x401ec3
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 0
call eax
mov ecx, dword [esi + 0x314]
test ecx, ecx
je 0x401fb4
push 0
jmp 0x401faa
cmp byte [esi + 0x3d5], 0
je 0x401ef6
mov ecx, dword [ebx + 4]
push 0
push 0
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4029e6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x166]
push eax
mov word [esp + 0x168], dx
call fcn.00456530
add esp, 0xc
push str._aNt
push 0x47e65c
lea ecx, [esp + 0x164]
push 0x104
push ecx
call fcn.0045176d
mov ecx, dword [esi + 0x2f8]
add esp, 0x10
test ecx, ecx
je 0x401f59
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x15c]
push eax
call edx
mov ecx, dword [esi + 0x2fc]
test ecx, ecx
je 0x401f72
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x364]
push edx
call eax
mov ecx, dword [esi + 0x300]
test ecx, ecx
je 0x401f88
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 0x47e670
call eax
mov ecx, dword [esi + 0x310]
test ecx, ecx
je 0x401f9e
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [esi + 0x314]
test ecx, ecx
je 0x401fb4
push 1
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
call eax
mov ecx, dword [esi + 0x318]
test ecx, ecx
je 0x401fc6
push 0
call dword [0x47f93c]
cmp byte [esi + 0x3d5], 0
jne 0x401fe5
mov ecx, dword [esi + 0x318]
test ecx, ecx
je 0x401fe5
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
cmp dword [esi + 0x3d0], 0
je 0x4029e6
cmp dword [esi + 0x36c], 0
je 0x4029e6
lea ebx, [esi + 0x358]
lea edi, [esp + 0x14]
mov dword [esp + 0x14], 0x2f
call fcn.004042a0
lea edx, [eax + 1]
push ebx
or ecx, 0xffffffff
lea esi, [esp + 0x144]
call fcn.00404270
lea ecx, [esp + 0xec]
push ecx
xor esi, esi
mov ecx, ebx
mov dword [esp + 0xda4], esi
call fcn.0040b8a0
add esp, 4
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], esi
mov byte [esp + 0x10c], 0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x140]
add eax, 0x374
push edx
mov byte [esp + 0xda4], 2
push eax
lea edi, [esp + 0x84]
mov dword [esp + 0x1c], eax
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x402096
mov eax, dword [eax + 4]
jmp 0x402099
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 8
mov edi, eax
cmp dword [esp + 0x94], ebx
jb 0x4020c0
mov eax, dword [esp + 0x80]
push eax
call fcn.00444c3b
add esp, 4
cmp edi, esi
je 0x40210d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x140]
push ecx
push edx
lea edi, [esp + 0x84]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], ebx
jb 0x4020ea
mov eax, dword [eax + 4]
jmp 0x4020ed
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x94], ebx
jb 0x40210d
mov eax, dword [esp + 0x80]
push eax
call fcn.00444c3b
add esp, 4
mov edx, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x144]
push ecx
push edx
lea edi, [esp + 0x88]
call fcn.00404df0
sub esp, 0x14
mov bl, 3
mov byte [esp + 0xdc0], bl
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
mov ecx, eax
call fcn.0040b8a0
add esp, 4
mov byte [esp + 0xdc0], 4
cmp dword [esp + 0x124], 0x10
mov edi, dword [esp + 0x110]
jae 0x402164
lea edi, [esp + 0x110]
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x14], esi
mov eax, edi
mov dword [ecx + 0x18], 0xf
mov dword [esp + 0x60], esp
mov byte [ecx + 4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402180
sub eax, esi
push eax
push edi
call fcn.00406710
mov byte [esp + 0xddc], bl
call fcn.0040b010
mov byte [esp + 0xda0], 2
cmp dword [esp + 0x94], 8
mov bl, al
jb 0x4021c0
mov edx, dword [esp + 0x80]
push edx
call fcn.00444c3b
add esp, 4
test bl, bl
je 0x402962
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x140]
push eax
push ecx
lea edi, [esp + 0xd8]
call fcn.00404df0
add esp, 8
mov byte [esp + 0xda0], 5
mov ecx, dword [esp + 0xd4]
mov edi, 8
cmp dword [esp + 0xe8], edi
jae 0x402208
lea ecx, [esp + 0xd4]
mov esi, dword [esp + 0x1c]
push esi
call fcn.004034e0
mov eax, dword [esp + 0xd4]
cmp dword [esp + 0xe8], edi
jae 0x402229
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x318]
test ecx, ecx
je 0x402242
push 0
call dword [0x47f93c]
mov eax, 0x47e69c
lea ecx, [esp + 0x7c]
call fcn.004041d0
mov byte [esp + 0xda0], 6
mov ecx, dword [esi + 0x31c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xb8]
push eax
call edx
mov byte [esp + 0xda0], 8
cmp dword [esp + 0x94], edi
jb 0x402293
mov eax, dword [esp + 0x80]
push eax
call fcn.00444c3b
add esp, 4
xor ecx, ecx
lea edi, [esp + 0x18]
lea ebx, [esp + 0xb4]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], cx
mov dword [esp + 0x18], 0x2f
call fcn.004042a0
lea edx, [eax + 1]
mov eax, ebx
push eax
or ecx, 0xffffffff
lea esi, [esp + 0x9c]
call fcn.00404270
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], 0
mov byte [esp + 0x128], 0
mov ecx, esi
mov byte [esp + 0xda0], 0xa
mov ebx, dword [esp + 0x14]
push ecx
push ebx
lea edi, [esp + 0x84]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x402328
mov eax, dword [eax + 4]
jmp 0x40232b
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, 8
mov edi, eax
cmp dword [esp + 0x94], esi
jb 0x402352
mov edx, dword [esp + 0x80]
push edx
call fcn.00444c3b
add esp, 4
test edi, edi
je 0x402388
lea eax, [esp + 0x98]
push eax
push ebx
lea edi, [esp + 0x30]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], esi
jb 0x402375
mov eax, dword [eax + 4]
jmp 0x402378
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + 0x28]
call fcn.00404210
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x9c]
push ecx
push ebx
lea edi, [esp + 0x34]
call fcn.00404df0
sub esp, 0x14
mov byte [esp + 0xdc0], 0xb
mov edx, esp
mov dword [esp + 0x44], esp
push edx
mov ecx, eax
call fcn.0040b8a0
add esp, 4
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0xdc4], 0xc
call fcn.0040b8a0
add esp, 4
mov byte [esp + 0xdc0], 0xd
cmp dword [eax + 0x18], 0x10
jb 0x4023ed
mov eax, dword [eax + 4]
jmp 0x4023f0
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.004067f0
mov byte [esp + 0xddc], 0xe
call fcn.0040b010
cmp dword [esp + 0x94], 0x10
mov bl, al
jb 0x402428
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00444c3b
add esp, 4
xor edi, edi
mov byte [esp + 0xda0], 0xa
cmp dword [esp + 0x40], 8
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
jb 0x402460
mov edx, dword [esp + 0x2c]
push edx
call fcn.00444c3b
add esp, 4
test bl, bl
je 0x402812
lea edi, [esp + 0x18]
lea ebx, [esp + 0x98]
mov dword [esp + 0x18], 0x2e
call fcn.004042a0
mov ecx, ebx
push ecx
mov ecx, eax
xor edx, edx
lea esi, [esp + 0x2c]
call fcn.00404270
push eax
mov ebx, str..exe
lea esi, [esp + 0x80]
mov byte [esp + 0xda4], 0xf
call fcn.00404ea0
add esp, 4
lea esi, [esp + 0x28]
mov byte [esp + 0xda0], 0x11
call fcn.00404210
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x7c]
push edx
push ebx
lea edi, [esp + 0x4c]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x4024df
mov eax, dword [eax + 4]
jmp 0x4024e2
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea esi, [esp + 0x44]
mov edi, eax
call fcn.00404210
test edi, edi
je 0x402528
lea eax, [esp + 0x7c]
push eax
push ebx
lea edi, [esp + 0x4c]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x402515
mov eax, dword [eax + 4]
jmp 0x402518
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + 0x44]
call fcn.00404210
lea ecx, [esp + 0x7c]
push ecx
push ebx
lea edi, [esp + 0x68]
call fcn.00404df0
mov esi, eax
lea edx, [esp + 0xa0]
push edx
push ebx
lea edi, [esp + 0x54]
mov byte [esp + 0xdb0], 0x12
call fcn.00404df0
mov ecx, 8
add esp, 0x10
cmp dword [esi + 0x18], ecx
jb 0x402565
mov esi, dword [esi + 4]
jmp 0x402568
add esi, 4
cmp dword [eax + 0x18], ecx
jb 0x402572
mov eax, dword [eax + 4]
jmp 0x402575
add eax, 4
push esi
push eax
call fcn.00451be6
add esp, 8
lea esi, [esp + 0x44]
call fcn.00404210
lea esi, [esp + 0x60]
mov byte [esp + 0xda0], 0x11
call fcn.00404210
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea eax, [esp + 0x160]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x15c]
push 0x5c
push ecx
call fcn.00451ab5
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x98e]
push ecx
mov word [esp + 0x990], ax
call fcn.00456530
add esp, 0x14
lea edx, [esp + 0x7c]
push edx
push ebx
lea edi, [esp + 0x68]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x40260b
mov eax, dword [eax + 4]
jmp 0x40260e
add eax, 4
lea ecx, [esp + 0x15c]
push ecx
push eax
push str.__s___S__D_s
lea edx, [esp + 0x988]
push 0x208
push edx
call fcn.0045176d
add esp, 0x14
lea esi, [esp + 0x60]
call fcn.00404210
lea ecx, [esp + 0x97c]
call fcn.0040b7d0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x77e]
push ecx
mov word [esp + 0x780], ax
call fcn.00456530
add esp, 0xc
push str._aNt
push 0x47e6c0
lea edx, [esp + 0x77c]
push 0x104
push edx
call fcn.0045176d
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x2f8]
add esp, 0x10
test ecx, ecx
je 0x4026a2
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x774]
push edx
call eax
mov ecx, dword [esi + 0x2fc]
test ecx, ecx
je 0x4026bb
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x56c]
push eax
call edx
mov ecx, dword [esi + 0x300]
test ecx, ecx
je 0x4026d1
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push 0x47e670
call edx
mov ecx, dword [esi + 0x300]
test ecx, ecx
je 0x4026e7
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
mov ecx, dword [esi + 0x310]
test ecx, ecx
je 0x4026fd
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
mov ecx, dword [esi + 0x308]
test ecx, ecx
je 0x402713
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
mov ecx, dword [esi + 0x314]
test ecx, ecx
je 0x402729
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
mov ecx, dword [esi + 0x318]
test ecx, ecx
je 0x40273f
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 0
call edx
mov ecx, dword [esi + 0x3e0]
test ecx, ecx
je 0x402755
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
mov ecx, dword [esi + 0x3e4]
test ecx, ecx
je 0x40276b
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
push 1
call edx
cmp byte [esi + 0x3d5], 0
je 0x4027c5
mov ebx, dword [sym.SoftUpd.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea edi, [esi + 0x2c]
push str.minmize
mov ecx, edi
call ebx
mov esi, eax
test esi, esi
je 0x40279a
mov eax, dword [esi]
mov edx, dword [eax + 0xcc]
push 0
mov ecx, esi
call edx
push str.close
mov ecx, edi
call ebx
test esi, esi
je 0x4027b5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
push 0
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [esp + 0x20]
call fcn.00404120
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x7c]
push eax
push ecx
lea edi, [esp + 0x68]
call fcn.00404df0
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x4027ef
mov eax, dword [eax + 4]
jmp 0x4027f2
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + 0x60]
call fcn.00404210
lea esi, [esp + 0x7c]
call fcn.00404210
xor edi, edi
jmp 0x4028ab
mov ecx, dword [esi + 0x2f8]
cmp ecx, edi
je 0x402828
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 0x47e6dc
call eax
mov ecx, dword [esi + 0x2fc]
cmp ecx, edi
je 0x40283e
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push str.S_MRQ
call eax
mov ecx, dword [esi + 0x300]
cmp ecx, edi
je 0x402854
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 0x47e670
call eax
mov ecx, dword [esi + 0x300]
cmp ecx, edi
je 0x40286a
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [esi + 0x310]
cmp ecx, edi
je 0x402880
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [esi + 0x314]
cmp ecx, edi
je 0x402896
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [esi + 0x318]
cmp ecx, edi
je 0x4028ab
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
cmp dword [esp + 0x13c], 0x10
jb 0x4028c5
mov ecx, dword [esp + 0x128]
push ecx
call fcn.00444c3b
add esp, 4
cmp dword [esp + 0xb0], 8
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], edi
mov byte [esp + 0x128], 0
jb 0x4028f9
mov edx, dword [esp + 0x9c]
push edx
call fcn.00444c3b
add esp, 4
xor eax, eax
cmp dword [esp + 0xcc], 8
mov esi, 7
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], ax
jb 0x402930
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.00444c3b
add esp, 4
xor edx, edx
cmp dword [esp + 0xe8], 8
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], edi
mov word [esp + 0xb8], dx
jb 0x402962
mov eax, dword [esp + 0xd4]
push eax
call fcn.00444c3b
add esp, 4
mov ebx, 0x10
cmp dword [esp + 0x120], ebx
jb 0x402980
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.00444c3b
add esp, 4
xor esi, esi
mov edi, 0xf
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], esi
mov byte [esp + 0x10c], 0
cmp dword [esp + 0x104], ebx
jb 0x4029b6
mov edx, dword [esp + 0xf0]
push edx
call fcn.00444c3b
add esp, 4
cmp dword [esp + 0x158], 8
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], esi
mov byte [esp + 0xf0], 0
jb 0x4029e6
mov eax, dword [esp + 0x144]
push eax
call fcn.00444c3b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xd98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd80]
xor ecx, esp
call fcn.004516c6
mov esp, ebp
pop ebp
ret