Function at 0x401930
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x61c]
sub esp, 0x61c
push 0xffffffffffffffff
push 0x414e1b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x419058]
xor eax, ebp
mov dword [ebp + 0x618], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x62c]
mov esi, dword [ebp + 0x624]
push 0x10
mov dword [ebp - 0x1c], esi
mov dword [0x41a664], eax
call fcn.00405c2e
add esp, 4
mov dword [ebp - 0x18], eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x4019a2
mov ecx, eax
call fcn.00401e70
mov dword [ebp - 0x18], eax
jmp 0x4019a5
mov dword [ebp - 0x18], ebx
push 0x104
lea ecx, [ebp + 0x30c]
push ecx
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp + 0x208]
push 0x104
push edx
call fcn.004061c6
add esp, 8
lea eax, [ebp + 0x514]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp + 0x514]
push edx
call fcn.0041163b
add esp, 8
test eax, eax
lea eax, [ebp + 0x514]
je 0x401aa0
push eax
call fcn.004062d6
add esp, 4
call fcn.00401550
lea edi, [ebp + 0x514]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x401a20
mov cx, word [0x4153a4]
mov eax, 0x41a430
mov word [edi], cx
mov ecx, eax
jmp 0x401a40
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x401a40
lea edi, [ebp + 0x514]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x401a56
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [ebp + eax + 0x514]
mov byte [eax + 0x41a328], cl
add eax, 1
cmp cl, bl
jne 0x401a70
push 0x41a430
call fcn.004062d6
push ebx
call fcn.004013b0
lea edx, [ebp + 0x208]
push edx
jmp 0x401b6b
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp + 0x514]
push ecx
call fcn.004062d6
push str.temp
call fcn.00414db5
push str.temp
call fcn.004062d6
add esp, 0xc
call fcn.00401550
lea eax, [ebp + 0x514]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x401ae0
mov edx, dword [str._temp_]
mov cx, word [0x415398]
mov dword [eax], edx
mov dl, byte [0x41539a]
mov word [eax + 4], cx
mov byte [eax + 6], dl
mov eax, 0x41a430
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x401b10
lea edi, [ebp + 0x514]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x401b26
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [ebp + eax + 0x514]
mov byte [eax + 0x41a328], cl
add eax, 1
cmp cl, bl
jne 0x401b40
push 0x41a430
call fcn.004062d6
push ebx
call fcn.004013b0
lea eax, [ebp + 0x208]
push eax
call fcn.004062d6
add esp, 0xc
xor eax, eax
jmp 0x401b80
mov cl, byte [eax + 0x41a328]
mov byte [ebp + eax + 0x410], cl
add eax, 1
cmp cl, bl
jne 0x401b80
lea eax, [ebp + 0x410]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x401ba0
mov ecx, dword [str._virtual.pck]
mov edx, dword [0x415388]
mov edi, dword [ebp - 0x18]
mov dword [eax], ecx
mov ecx, dword [0x41538c]
mov dword [eax + 4], edx
mov dx, word [0x415390]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [ebp + 0x410]
push eax
lea ecx, [ebp + 0x30c]
push ecx
mov ecx, edi
call fcn.004023a0
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x41a328]
mov byte [ebp + eax], cl
add eax, 1
cmp cl, bl
jne 0x401bf0
lea eax, [ebp]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x401c07
mov edx, dword [str._virtual.dat]
mov ecx, dword [0x415378]
mov dword [eax], edx
mov edx, dword [0x41537c]
mov dword [eax + 4], ecx
mov cx, word [0x415380]
mov dword [eax + 8], edx
lea edx, [ebp + 0x410]
mov word [eax + 0xc], cx
push edx
mov ecx, edi
call fcn.004025d0
test al, al
je 0x401c89
xor eax, eax
cmp dword [edi + 0xc], 1
jne 0x401ca0
mov cl, byte [ebp + eax + 0x30c]
mov byte [ebp + eax + 0x104], cl
add eax, 1
cmp cl, bl
jne 0x401c50
lea eax, [ebp + 0x104]
push eax
mov ecx, edi
call fcn.00401fc0
lea ecx, [ebp + 0x104]
push ecx
mov ecx, edi
call fcn.004028c0
test al, al
jne 0x401df1
mov eax, 1
jmp 0x401e3c
mov cl, byte [eax + 0x41a328]
mov byte [ebp + eax + 0x410], cl
add eax, 1
cmp cl, bl
jne 0x401ca0
lea eax, [ebp + 0x410]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x401cc0
mov edx, dword [str._virtual.pck]
mov ecx, dword [0x415388]
mov dword [eax], edx
mov edx, dword [0x41538c]
mov dword [eax + 4], ecx
mov cx, word [0x415390]
mov dword [eax + 8], edx
lea edx, [ebp + 0x410]
push edx
mov word [eax + 0xc], cx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x41a320]
push eax
push 0x41a328
mov ecx, 0x41a678
call fcn.00402e10
mov edx, dword [0x41a69c]
cmp edx, ebx
je 0x401d2f
lea ecx, [ebp + 0x30c]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x401d21
lea ecx, [ebp]
push ecx
mov ecx, 0x41a678
mov dword [ebp - 0x14], ebx
call fcn.004047a0
test al, al
je 0x401dea
mov edx, dword [0x41a688]
mov eax, dword [0x41a684]
mov esi, dword [ebp - 0x1c]
push edx
push eax
lea ecx, [ebp + 0x30c]
push ecx
push esi
call fcn.00401170
lea edx, [ebp - 0x14]
push edx
push esi
mov dword [ebp - 4], 1
call fcn.00401000
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
jmp 0x401d92
mov ecx, 0x41a678
call fcn.004044d0
cmp dword [ebp - 0x14], ebx
je 0x401de0
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x14]
push ebx
push str.Error
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x401de0
push eax
call fcn.004062d1
add esp, 4
mov dword [ebp - 0x14], ebx
mov ecx, 0x41a678
call fcn.004049d0
mov ecx, edi
call fcn.00402170
mov ecx, edi
call fcn.004022f0
push edi
call fcn.004062d1
lea ecx, [ebp + 0x514]
push ecx
call fcn.004062d6
push 0x415270
call fcn.004062d6
add esp, 0xc
cmp eax, 0xffffffff
je 0x401e21
call fcn.00401650
lea edx, [ebp + 0x208]
push edx
call fcn.004062d6
push 0x41a328
call fcn.00414de1
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.00405cae
add ebp, 0x61c
mov esp, ebp
pop ebp
ret 0x10