Function at 0x403000
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bbbb
mov eax, dword fs:[0]
push eax
mov eax, 0x1f08
call fcn.004063e0
mov eax, dword [0x457024]
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 eax, dword [ebp + 8]
mov ebx, 0x80000001
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push dword [0x457c28]
mov dword [ebp - 0x1ee0], eax
mov dword [ebp - 0x1ed8], ebx
call esi
push 0x3ea
push dword [0x457c28]
mov dword [ebp - 0x1ef8], eax
call esi
push 0x3eb
push dword [0x457c28]
mov dword [ebp - 0x1edc], eax
call esi
mov dword [ebp - 0x1f00], eax
lea eax, [ebp - 0x1e90]
push 0x30c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x1ef0]
call fcn.00401000
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1e90]
push eax
lea ecx, [ebp - 0x1ef0]
call fcn.00401360
lea ecx, [ebp - 0x1ef0]
call fcn.00401260
cmp eax, 0x100000
jb 0x403b77
push 0
push 0x100000
lea ecx, [ebp - 0x1ef0]
call fcn.00401480
push 0x10
lea eax, [ebp - 0x1ea0]
push eax
lea ecx, [ebp - 0x1ef0]
call fcn.00401450
cmp eax, 0x10
jne 0x403b6c
mov eax, dword [ebp - 0x1e94]
cmp eax, 0x20
ja 0x403b67
lea ecx, [ebp - 0x1ea0]
cmp dword [ecx], 0x49525542
jne 0x403138
cmp dword [ecx + 4], 0x41204f4b
jne 0x403138
cmp dword [ecx + 8], 0x30324352
jne 0x403138
mov edi, 1
jmp 0x40313a
xor edi, edi
mov esi, 0x20
mov dword [ebp - 0x1ecc], edi
xor ecx, ecx
lea edx, [esi + 0x60]
test edi, edi
je 0x40316b
mul edx
mov dword [ebp - 0x1ec8], ecx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406465
mov dword [ebp - 0x1ec4], eax
jmp 0x40318a
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406465
mov dword [ebp - 0x1ec8], eax
mov dword [ebp - 0x1ec4], 0
mov eax, dword [ebp - 0x1e94]
xor ecx, ecx
add esp, 4
mov edx, 4
lea eax, [eax + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406465
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1ee4], ebx
xor ecx, ecx
nop dword [eax]
mov dword [ebx + ecx*4], 0
inc ecx
mov edx, dword [ebp - 0x1e94]
cmp ecx, edx
jbe 0x4031c0
test edi, edi
lea ecx, [ebp - 0x1ef0]
mov eax, 0x80
cmovne esi, eax
mov eax, dword [ebp - 0x1ec8]
imul esi, edx
test edi, edi
mov edi, dword [ebp - 0x1ec4]
cmovne eax, edi
push esi
push eax
call fcn.00401450
cmp eax, esi
jne 0x403b1d
lea eax, [esi + 0x100010]
xor ecx, ecx
mov dword [ebp - 0x1ef4], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1ed4], ecx
mov dword [ebp - 0x1ec0], eax
cmp dword [ebp - 0x1e94], eax
jbe 0x4034f2
mov edi, dword [ebp - 0x1ec8]
mov ebx, dword [ebp - 0x1ec4]
nop dword [eax + eax]
cmp dword [ebp - 0x1ecc], 0
mov eax, ebx
push 1
cmove eax, edi
push eax
lea eax, [ebp - 0x630]
push eax
call fcn.00404b40
lea eax, [ebp - 0x630]
push eax
call fcn.00405b10
add esp, 0x10
lea eax, [ebp - 0x630]
mov ecx, str.bgi.hvl
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x403295
test dl, dl
je 0x403291
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x403295
add eax, 2
add ecx, 2
test dl, dl
jne 0x403275
xor eax, eax
jmp 0x40329a
sbb eax, eax
or eax, 1
test eax, eax
je 0x4032b2
inc esi
sub ebx, 0xffffff80
add edi, 0x20
cmp esi, dword [ebp - 0x1e94]
jb 0x403240
jmp 0x4034f2
cmp dword [ebp - 0x1ecc], 0
je 0x4032ca
mov eax, dword [ebp - 0x1ec4]
shl esi, 7
mov eax, dword [esi + eax + 0x60]
jmp 0x4032d7
mov eax, dword [ebp - 0x1ec8]
shl esi, 5
mov eax, dword [esi + eax + 0x10]
add eax, dword [ebp - 0x1ef4]
lea ecx, [ebp - 0x1ef0]
push 0
push eax
call fcn.00401480
test eax, eax
je 0x4034f2
push 0x10
lea eax, [ebp - 0x1eb0]
push eax
lea ecx, [ebp - 0x1ef0]
call fcn.00401450
cmp eax, 0x10
jne 0x4034f2
lea eax, [ebp - 0x1eb0]
mov edx, 0x40
cmp dword [eax], 0x5f564842
jne 0x40338e
cmp dword [eax + 4], 0x5f5f3256
jne 0x40338e
mov eax, dword [ebp - 0x1ea4]
xor ecx, ecx
mov edx, 0x100
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406465
mov esi, dword [ebp - 0x1ea4]
lea ecx, [ebp - 0x1ef0]
add esp, 4
shl esi, 8
mov edi, eax
push esi
push edi
call fcn.00401450
cmp eax, esi
jne 0x403380
mov eax, dword [ebp - 0x1ea4]
mov ecx, edi
mov dword [ebp - 0x1ec0], eax
mov dword [ebp - 0x1ed4], ecx
jmp 0x40349a
push edi
call fcn.0040646e
add esp, 4
jmp 0x4034f2
lea eax, [ebp - 0x1eb0]
cmp dword [eax], 0x5f564842
jne 0x4034f2
cmp dword [eax + 4], 0x5f5f5f5f
jne 0x4034f2
mov eax, dword [ebp - 0x1ea4]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406465
mov esi, dword [ebp - 0x1ea4]
lea ecx, [ebp - 0x1ef0]
add esp, 4
shl esi, 6
mov edi, eax
mov dword [ebp - 0x1eb8], edi
push esi
push edi
call fcn.00401450
cmp eax, esi
jne 0x403485
mov eax, dword [ebp - 0x1ea4]
xor ecx, ecx
mov edx, 0x100
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406465
mov ecx, dword [ebp - 0x1ea4]
mov esi, eax
shl ecx, 8
push ecx
push 0
push esi
mov dword [ebp - 0x1ed4], esi
call fcn.004082a0
mov eax, dword [ebp - 0x1ea4]
add esp, 0x10
xor ebx, ebx
mov dword [ebp - 0x1ec0], eax
test eax, eax
je 0x403485
mov edi, esi
mov esi, dword [ebp - 0x1eb8]
mov edx, edi
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x403446
mov eax, dword [esi + 0x38]
inc ebx
mov ecx, dword [esi + 0x3c]
add esi, 0x40
mov dword [edi + 0xf8], eax
mov dword [edi + 0xfc], ecx
add edi, 0x100
mov eax, dword [ebp - 0x1ea4]
mov dword [ebp - 0x1ec0], eax
cmp ebx, eax
jb 0x403440
mov edi, dword [ebp - 0x1eb8]
push edi
call fcn.0040646e
mov eax, dword [ebp - 0x1ec0]
add esp, 4
mov ecx, dword [ebp - 0x1ed4]
cmp eax, 1
jb 0x4034f2
mov ebx, ecx
mov dword [ebp - 0x1eb8], eax
nop word [eax + eax]
mov eax, dword [ebx + 0xf8]
mov ecx, dword [ebx + 0xfc]
push 1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x118]
push ebx
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00404b40
mov edi, ebx
lea esi, [ebp - 0x118]
add esp, 0xc
mov ecx, 0x40
add ebx, 0x100
sub dword [ebp - 0x1eb8], 1
rep movsd dword es:[edi], dword [esi]
jne 0x4034b0
mov esi, dword [ebp - 0x1edc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
je 0x40351d
push 0xffff
push 0
push 0x406
push esi
call ebx
push 0
push 0
push 0x402
push esi
call ebx
mov esi, dword [ebp - 0x1f00]
test esi, esi
je 0x403543
push dword [ebp - 0x1e94]
push 0
push 0x406
push esi
call ebx
push 0
push 0
push 0x402
push esi
call ebx
call fcn.00402db0
mov ecx, dword [0x457c30]
test eax, eax
mov edx, 1
cmovne ecx, edx
push 0x100000
mov dword [0x457c30], ecx
call fcn.00406465
xor ebx, ebx
mov dword [ebp - 0x1eb4], eax
add esp, 4
mov dword [ebp - 0x1ebc], ebx
cmp dword [ebp - 0x1e94], ebx
jbe 0x4039f3
mov edi, dword [ebp - 0x1ec8]
mov eax, dword [ebp - 0x1ec4]
add edi, 0x14
add eax, 0x64
mov dword [ebp - 0x1f04], edi
mov dword [ebp - 0x1eb8], eax
cmp dword [0x457c30], 0
jne 0x4039ed
cmp dword [0x457c2c], 0
jne 0x4039ed
cmp dword [ebp - 0x1ecc], 0
je 0x4035cb
mov eax, dword [eax - 4]
jmp 0x4035ce
mov eax, dword [edi - 4]
add eax, dword [ebp - 0x1ef4]
lea ecx, [ebp - 0x1ef0]
push 0
push eax
call fcn.00401480
test eax, eax
je 0x4039e3
xor esi, esi
mov dword [ebp - 0x1ed0], 0
mov dword [ebp - 0x1efc], esi
cmp dword [ebp - 0x1ecc], esi
je 0x40360f
mov eax, dword [ebp - 0x1eb8]
lea ebx, [eax - 0x64]
jmp 0x403614
lea ebx, [edi - 0x14]
mov eax, edi
mov eax, dword [eax]
push 1
mov dword [ebp - 0x1f14], eax
lea eax, [ebp - 0x630]
push ebx
push eax
call fcn.00404b40
lea eax, [ebp - 0x630]
push eax
call fcn.00405b10
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x1ec0], esi
jbe 0x4036ee
mov esi, dword [ebp - 0x1ed4]
nop
push esi
lea eax, [ebp - 0xf54]
push eax
lea eax, [ebp - 0x1260]
push eax
push 0
push 0
call fcn.004010c0
lea eax, [ebp - 0xf54]
push eax
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0x324]
push 0x44d24c
push eax
call fcn.00403f90
lea eax, [ebp - 0x324]
push eax
call fcn.00405b10
add esp, 0x28
lea eax, [ebp - 0x324]
lea ecx, [ebp - 0x630]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4036c2
test dl, dl
je 0x4036be
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4036c2
add ecx, 2
add eax, 2
test dl, dl
jne 0x4036a2
xor eax, eax
jmp 0x4036c7
sbb eax, eax
or eax, 1
test eax, eax
je 0x4036e0
inc edi
add esi, 0x100
cmp edi, dword [ebp - 0x1ec0]
jb 0x403650
jmp 0x4036ee
mov ebx, esi
add esi, 0xf8
mov dword [ebp - 0x1efc], esi
push ebx
push 0
call fcn.00404cc0
mov ebx, dword [ebp - 0x1ebc]
add esp, 8
cmp dword [ebp - 0x1ef8], 0
mov esi, eax
mov edi, dword [ebp - 0x1ee4]
mov dword [edi + ebx*4], esi
je 0x40373e
push 8
call fcn.004025c0
push esi
push eax
lea eax, [ebp - 0x1878]
push eax
call fcn.00403bd0
add esp, 0x10
lea eax, [ebp - 0x1878]
push eax
push dword [ebp - 0x1ef8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x1edc]
test eax, eax
je 0x403758
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00402db0
test eax, eax
jne 0x4039e3
lea ecx, [ebp - 0x1f10]
call fcn.00401000
mov byte [ebp - 4], 1
lea eax, [ebp - 0xc48]
push dword [edi + ebx*4]
push dword [ebp - 0x1ee0]
push str._s_s.tmp
push eax
call fcn.00403bd0
add esp, 0x10
lea eax, [ebp - 0xc48]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea eax, [ebp - 0xc48]
push eax
lea ecx, [ebp - 0x1f10]
call fcn.00401400
test eax, eax
je 0x4039b0
mov ebx, dword [ebp - 0x1f14]
xorps xmm0, xmm0
xor edi, edi
movlpd qword [ebp - 0x18], xmm0
mov esi, 0x100000
test ebx, ebx
je 0x4038b7
nop dword [eax]
cmp dword [0x457c30], 0
jne 0x40389d
cmp dword [0x457c2c], 0
jne 0x40389d
mov eax, ebx
lea ecx, [ebp - 0x1ef0]
sub eax, edi
cmp esi, eax
cmovbe eax, esi
mov esi, eax
push esi
push dword [ebp - 0x1eb4]
call fcn.00401450
cmp eax, esi
jne 0x4038b0
push esi
push dword [ebp - 0x1eb4]
lea eax, [ebp - 0x18]
push eax
call fcn.00401f10
add esp, 0xc
lea ecx, [ebp - 0x1f10]
push esi
push dword [ebp - 0x1eb4]
call fcn.004014e0
cmp eax, esi
jne 0x4038a5
add edi, esi
cmp dword [ebp - 0x1edc], 0
je 0x40387a
mov ecx, 0xffff
mov eax, edi
mul ecx
push 0
push ebx
push edx
push eax
call fcn.00406790
push 0
push eax
push 0x402
push dword [ebp - 0x1edc]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00402db0
test eax, eax
jne 0x403893
cmp edi, ebx
jb 0x4037e0
mov ebx, dword [ebp - 0x1ed0]
jmp 0x4038b9
mov dword [0x457c30], 1
mov ebx, dword [ebp - 0x1ed0]
jmp 0x4038b9
mov ecx, 0x80000004
mov dword [ebp - 0x1ed8], ecx
mov ebx, 1
jmp 0x4038b9
mov ebx, edi
lea ecx, [ebp - 0x1f10]
call fcn.004010a0
cmp dword [0x457c30], 0
jne 0x403999
cmp dword [0x457c2c], 0
jne 0x403999
test ebx, ebx
jne 0x4039cc
mov ecx, dword [ebp - 0x1efc]
test ecx, ecx
je 0x403912
lea edx, [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x403905
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 4]
jne 0x403905
xor eax, eax
jmp 0x40390a
mov eax, 1
test eax, eax
jne 0x4039cc
mov esi, dword [ebp - 0x1f00]
mov ebx, dword [ebp - 0x1ebc]
test esi, esi
je 0x403934
push 0
lea eax, [ebx + 1]
push eax
push 0x402
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00402db0
test eax, eax
jne 0x40397e
mov byte [ebp - 4], al
lea ecx, [ebp - 0x1f10]
call fcn.00401020
mov eax, dword [ebp - 0x1eb8]
inc ebx
mov edi, dword [ebp - 0x1f04]
sub eax, 0xffffff80
add edi, 0x20
mov dword [ebp - 0x1ebc], ebx
mov dword [ebp - 0x1eb8], eax
mov dword [ebp - 0x1f04], edi
cmp ebx, dword [ebp - 0x1e94]
jb 0x4035a3
jmp 0x4039ed
mov dword [0x457c30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f10]
call fcn.00401020
jmp 0x4039ed
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f10]
call fcn.00401020
mov ebx, dword [ebp - 0x1ebc]
jmp 0x4039ed
mov ecx, 0x80000004
mov dword [ebp - 0x1ed8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f10]
call fcn.00401020
jmp 0x4039ed
mov ebx, dword [ebp - 0x1ebc]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f10]
call fcn.00401020
jmp 0x4039ed
mov dword [0x457c30], 1
mov eax, dword [ebp - 0x1eb4]
push eax
call fcn.0040646e
mov eax, dword [ebp - 0x1e94]
add esp, 4
cmp ebx, eax
jne 0x403ac1
cmp dword [0x457c30], 0
jne 0x403ac1
cmp dword [0x457c2c], 0
jne 0x403ac1
xor esi, esi
test eax, eax
je 0x403ab9
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, dword [ebp - 0x1ee4]
nop word [eax + eax]
mov ecx, dword [ebx + esi*4]
test ecx, ecx
je 0x403ab4
cmp word [ecx], 0
je 0x403ab4
push ecx
push dword [ebp - 0x1ee0]
lea eax, [ebp - 0x1878]
push str._s_s.tmp
push eax
call fcn.00403bd0
push dword [ebx + esi*4]
lea eax, [ebp - 0xc48]
push dword [ebp - 0x1ee0]
push 0x44d1a8
push eax
call fcn.00403bd0
add esp, 0x20
lea eax, [ebp - 0xc48]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea eax, [ebp - 0xc48]
push eax
lea eax, [ebp - 0x1878]
push eax
call edi
test eax, eax
mov eax, dword [ebp - 0x1e94]
je 0x403b5d
inc esi
cmp esi, eax
jb 0x403a40
xor ecx, ecx
mov dword [ebp - 0x1ed8], ecx
mov ebx, dword [ebp - 0x1ee4]
xor esi, esi
test eax, eax
je 0x403b09
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + esi*4]
test ecx, ecx
je 0x403b04
push ecx
push dword [ebp - 0x1ee0]
lea eax, [ebp - 0xc48]
push str._s_s.tmp
push eax
call fcn.00403bd0
add esp, 0x10
lea eax, [ebp - 0xc48]
push eax
call edi
mov eax, dword [ebp - 0x1e94]
inc esi
cmp esi, eax
jb 0x403ad3
push dword [ebp - 0x1ed4]
call fcn.0040646e
mov edi, dword [ebp - 0x1ec4]
add esp, 4
xor esi, esi
cmp dword [ebp - 0x1e94], esi
jbe 0x403b3b
push dword [ebx + esi*4]
call fcn.0040646e
inc esi
add esp, 4
cmp esi, dword [ebp - 0x1e94]
jb 0x403b27
push ebx
call fcn.0040646e
push dword [ebp - 0x1ec8]
call fcn.0040646e
push edi
call fcn.0040646e
mov ebx, dword [ebp - 0x1ed8]
add esp, 0xc
jmp 0x403b6c
mov ecx, 0x80000004
jmp 0x403abb
mov ebx, 0x80000002
lea ecx, [ebp - 0x1ef0]
call fcn.004010a0
cmp dword [0x457c30], 0
mov eax, 0x80000007
cmovne ebx, eax
cmp dword [0x457c2c], 0
mov eax, 0x80000006
cmovne ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ef0]
call fcn.00401020
mov eax, ebx
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.004063c7
mov esp, ebp
pop ebp
ret