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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c2e7
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x47ca80]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x164], ecx
mov ecx, dword [ebp - 0x164]
call fcn.0042274f
push 1
mov ecx, dword [ebp - 0x164]
call fcn.0042c690
push 0
mov ecx, dword [ebp - 0x164]
call fcn.00409d20
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40528b
lea ecx, [ebp - 0x130]
call fcn.00402f90
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x130]
call fcn.004032a0
lea ecx, [ebp - 0x130]
call fcn.00403180
movzx eax, al
test eax, eax
jne 0x405279
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x10]
call fcn.00409cf0
lea ecx, [ebp - 0x130]
call fcn.00403130
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00409cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00403050
push 1
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx + 0x78]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00409d50
push 0
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x78]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00409d50
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x5bc], 0
call fcn.004050d0
mov eax, dword [ebp - 0x164]
push eax
call fcn.00411f30
mov ecx, eax
call fcn.00411fc0
push 0x80
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x534
push ecx
call fcn.00440170
add esp, 0xc
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x538], 1
push 0x46129b
mov eax, dword [ebp - 0x164]
add eax, 0x53c
push eax
call fcn.0040a990
add esp, 8
push 0x4612ab
mov ecx, dword [ebp - 0x164]
add ecx, 0x54c
push ecx
call fcn.0040a990
add esp, 8
mov edx, dword [0x47e080]
add edx, 0x68
push edx
mov ecx, 0x47dfa4
call fcn.004032a0
lea ecx, [ebp - 0x128]
call fcn.00402f90
mov dword [ebp - 4], 1
mov eax, dword [0x47e080]
add eax, 0xc9
push eax
lea ecx, [ebp - 0x128]
call fcn.004032a0
push 0x47dfa4
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x15c]
push edx
call fcn.0040a1f0
add esp, 0xc
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
push ecx
mov ecx, 0x47dfa4
call fcn.00404c60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.00403050
mov ecx, 0x47dfa4
call fcn.00403130
push eax
mov ecx, dword [ebp - 0x164]
call fcn.00428d58
push 0x80
call fcn.00409ae0
mov ecx, eax
call fcn.00409b40
mov dword [ebp - 0x14], eax
push 0x83
mov edx, dword [ebp - 0x14]
push edx
mov ecx, 0x47dfa4
call fcn.00403130
push eax
push 0x4ca
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x164]
add ecx, 0x4b8
call fcn.004124c0
test eax, eax
je 0x40543c
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x5bc], 1
mov edx, dword [ebp - 0x164]
add edx, 0x534
push edx
mov eax, dword [0x47e060]
mov edx, dword [eax]
mov ecx, dword [0x47e060]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp - 0x164]
add ecx, 0x53c
push ecx
call fcn.004404c0
add esp, 4
test eax, eax
jbe 0x4054b0
mov edx, dword [ebp - 0x164]
add edx, 0x53c
push edx
push 0x3eb
mov ecx, dword [ebp - 0x164]
call fcn.00428c44
mov ecx, eax
call fcn.00428d58
mov eax, dword [ebp - 0x164]
add eax, 0x53c
push eax
mov ecx, 0x47e0d0
call fcn.00403070
jmp 0x4054d2
mov ecx, 0x47e0d0
call fcn.00403130
push eax
push 0x3eb
mov ecx, dword [ebp - 0x164]
call fcn.00428c44
mov ecx, eax
call fcn.00428d58
mov ecx, dword [ebp - 0x164]
add ecx, 0x54c
push ecx
call fcn.004404c0
add esp, 4
test eax, eax
jbe 0x405527
mov edx, dword [ebp - 0x164]
add edx, 0x54c
push edx
push 0x3ed
mov ecx, dword [ebp - 0x164]
call fcn.00428c44
mov ecx, eax
call fcn.00428d58
mov eax, dword [ebp - 0x164]
add eax, 0x54c
push eax
mov ecx, 0x47e0b8
call fcn.00403070
jmp 0x405549
mov ecx, 0x47e0b8
call fcn.00403130
push eax
push 0x3ed
mov ecx, dword [ebp - 0x164]
call fcn.00428c44
mov ecx, eax
call fcn.00428d58
push 0x461354
mov ecx, 0x47dfa4
call fcn.00403130
push eax
mov ecx, dword [ebp - 0x164]
call fcn.004064b0
mov byte [ebp - 0x129], 1
movzx ecx, byte [0x47e052]
test ecx, ecx
jne 0x405600
movzx edx, byte [0x47e050]
test edx, edx
je 0x4055fb
mov byte [ebp - 0x129], 0
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x4ac], 1
lea ecx, [ebp - 0x134]
call fcn.00402f90
mov byte [ebp - 4], 3
mov ecx, dword [0x47e0e4]
push ecx
mov edx, dword [0x47e0d0]
push edx
mov eax, dword [0x47e13c]
push eax
push 0x46137c
lea ecx, [ebp - 0x134]
push ecx
call fcn.00404400
add esp, 0x14
lea ecx, [ebp - 0x134]
call fcn.00403130
push eax
push 0
mov ecx, dword [ebp - 0x164]
call fcn.004064b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.00403050
jmp 0x405941
movzx edx, byte [0x47e050]
test edx, edx
je 0x405695
movzx eax, byte [0x47e051]
test eax, eax
jne 0x405695
mov byte [ebp - 0x129], 0
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x4ac], 1
lea ecx, [ebp - 0x138]
call fcn.00402f90
mov byte [ebp - 4], 4
mov edx, dword [0x47e0e4]
push edx
mov eax, dword [0x47e0d0]
push eax
mov ecx, dword [0x47e13c]
push ecx
push 0x461384
lea edx, [ebp - 0x138]
push edx
call fcn.00404400
add esp, 0x14
lea ecx, [ebp - 0x138]
call fcn.00403130
push eax
push 0
mov ecx, dword [ebp - 0x164]
call fcn.004064b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.00403050
jmp 0x405941
movzx eax, byte [0x47e050]
test eax, eax
jne 0x40572a
movzx ecx, byte [0x47e051]
test ecx, ecx
je 0x40572a
mov byte [ebp - 0x129], 0
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x4ac], 2
lea ecx, [ebp - 0x13c]
call fcn.00402f90
mov byte [ebp - 4], 5
mov eax, dword [0x47e0e4]
push eax
mov ecx, dword [0x47e0b8]
push ecx
mov edx, dword [0x47e13c]
push edx
push 0x46138c
lea eax, [ebp - 0x13c]
push eax
call fcn.00404400
add esp, 0x14
lea ecx, [ebp - 0x13c]
call fcn.00403130
push eax
push 0
mov ecx, dword [ebp - 0x164]
call fcn.004064b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x13c]
call fcn.00403050
jmp 0x405941
movzx ecx, byte [0x47e04f]
test ecx, ecx
jne 0x4057ce
movzx edx, byte [0x47e050]
test edx, edx
je 0x4057ce
movzx eax, byte [0x47e051]
test eax, eax
je 0x4057ce
mov byte [ebp - 0x129], 0
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0x4ac], 2
lea ecx, [ebp - 0x140]
call fcn.00402f90
mov byte [ebp - 4], 6
mov edx, dword [0x47e0e4]
push edx
mov eax, dword [0x47e0b8]
push eax
mov ecx, dword [0x47e13c]
push ecx
push 0x461394
lea edx, [ebp - 0x140]
push edx
call fcn.00404400
add esp, 0x14
lea ecx, [ebp - 0x140]
call fcn.00403130
push eax
push 0
mov ecx, dword [ebp - 0x164]
call fcn.004064b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00403050
jmp 0x405941
movzx eax, byte [0x47e04f]
test eax, eax
je 0x40588c
movzx ecx, byte [0x47e050]
test ecx, ecx
je 0x40588c
movzx edx, byte [0x47e051]
test edx, edx
je 0x40588c
cmp dword [0x47e054], 0
je 0x40588c
cmp dword [0x47e058], 0
jne 0x40588c
mov byte [ebp - 0x129], 0
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x4ac], 1
lea ecx, [ebp - 0x144]
call fcn.00402f90
mov byte [ebp - 4], 7
mov ecx, dword [0x47e0e4]
push ecx
mov edx, dword [0x47e0d0]
push edx
mov eax, dword [0x47e13c]
push eax
push 0x46139c
lea ecx, [ebp - 0x144]
push ecx
call fcn.00404400
add esp, 0x14
lea ecx, [ebp - 0x144]
call fcn.00403130
push eax
push 0
mov ecx, dword [ebp - 0x164]
call fcn.004064b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.00403050
jmp 0x405941
movzx edx, byte [0x47e04f]
test edx, edx
je 0x405941
movzx eax, byte [0x47e050]
test eax, eax
je 0x405941
movzx ecx, byte [0x47e051]
test ecx, ecx
je 0x405941
cmp dword [0x47e054], 0
jne 0x405941
cmp dword [0x47e058], 0
je 0x405941
mov byte [ebp - 0x129], 0
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x4ac], 2
lea ecx, [ebp - 0x148]
call fcn.00402f90
mov byte [ebp - 4], 8
mov eax, dword [0x47e0e4]
push eax
mov ecx, dword [0x47e0b8]
push ecx
mov edx, dword [0x47e13c]
push edx
push str._s_s_s
lea eax, [ebp - 0x148]
push eax
call fcn.00404400
add esp, 0x14
lea ecx, [ebp - 0x148]
call fcn.00403130
push eax
push 0
mov ecx, dword [ebp - 0x164]
call fcn.004064b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.00403050
mov ecx, 0x47e0d0
call fcn.00403130
push eax
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.00428d58
mov ecx, 0x47e0b8
call fcn.00403130
push eax
mov ecx, dword [ebp - 0x164]
add ecx, 0x128
call fcn.00428d58
movzx ecx, byte [ebp - 0x129]
test ecx, ecx
jne 0x405b14
lea ecx, [ebp - 0x158]
call fcn.0041a220
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.00428dfa
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x128
call fcn.00428dfa
lea edx, [ebp - 0x158]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00402d00
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x164]
add ecx, 0x17c
call fcn.00402ce0
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00429fb5
mov edx, dword [ebp - 0x14c]
sub edx, 0x19
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x154]
sub eax, 0x19
mov dword [ebp - 0x154], eax
push 1
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x164]
add ecx, 0x17c
call fcn.00402ca0
lea edx, [ebp - 0x158]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00402d00
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x164]
add ecx, 0x1f0
call fcn.00402ce0
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00429fb5
mov edx, dword [ebp - 0x14c]
sub edx, 0x19
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x154]
sub eax, 0x19
mov dword [ebp - 0x154], eax
push 1
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x164]
add ecx, 0x1f0
call fcn.00402ca0
lea edx, [ebp - 0x158]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00402ce0
mov eax, dword [ebp - 0x14c]
sub eax, 0x19
mov dword [ebp - 0x14c], eax
push 1
lea ecx, [ebp - 0x158]
call fcn.0041a220
push eax
mov ecx, dword [ebp - 0x164]
call fcn.00402ca0
mov ecx, dword [ebp - 0x164]
cmp dword [ecx + 0x4ac], 1
jne 0x405aff
push 1
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.00409d80
jmp 0x405b12
push 1
mov ecx, dword [ebp - 0x164]
add ecx, 0x128
call fcn.00409d80
jmp 0x405b27
push 1
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.00409d80
mov ecx, dword [ebp - 0x164]
call fcn.00407a20
mov ecx, dword [ebp - 0x164]
call fcn.00407d70
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x5b4], 0
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x5b8], 0
push str.check_m_bIsAutoLoginMode
push 0
push 0x1a8
push 0x4613c8
push 0x4613dc
call fcn.00405d80
add esp, 0x14
movzx ecx, byte [0x47e05c]
test ecx, ecx
je 0x405c64
push str.m_bIsAutoLoginMode_is_true
push 0
push 0x1ab
push 0x461414
push 0x461428
call fcn.00405d80
add esp, 0x14
mov edx, dword [ebp - 0x164]
mov dword [edx + 0x5b4], 1
mov eax, dword [ebp - 0x164]
mov dword [eax + 0x5b8], 1
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0xd4
call fcn.00428dfa
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x128
call fcn.00428dfa
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x7c
call fcn.00428e3c
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x17c
call fcn.00428e3c
push 0
push 0x3f5
mov ecx, dword [ebp - 0x164]
call fcn.00428c44
mov ecx, eax
call fcn.00428dfa
push 0
push 0x3f7
mov ecx, dword [ebp - 0x164]
call fcn.00428c44
mov ecx, eax
call fcn.00428dfa
push 0
push 1
mov ecx, dword [ebp - 0x164]
call fcn.00428c44
mov ecx, eax
call fcn.00428dfa
mov ecx, dword [ebp - 0x164]
call fcn.004081e0
mov ecx, 0x47e0ac
call fcn.00403130
push eax
push 0x3f5
mov ecx, dword [ebp - 0x164]
call fcn.00428c44
mov ecx, eax
call fcn.00428d58
mov ecx, dword [ebp - 0x164]
call fcn.00408e70
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea ecx, [ebp - 0x123]
push ecx
call fcn.00440170
add esp, 0xc
push 0x104
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [0x47e04c]
push eax
push str.008541FF_46BA_4fc6_A2C0_6482AECFDD95_
lea ecx, [ebp - 0x124]
push ecx
push str._s_s_c
mov edx, dword [ebp - 0x164]
add edx, 0x51c
push edx
call fcn.00404400
add esp, 0x14
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x51c
call fcn.00403140
push eax
push 0
push 0x1c3
push 0x461474
push str.CEdpDiskDlg::OnInitDialog
call fcn.00405d80
add esp, 0x14
mov ecx, dword [ebp - 0x164]
add ecx, 0x51c
call fcn.00403130
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
mov ecx, dword [ebp - 0x164]
call fcn.00424ef5
mov dword [ebp - 0x160], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00403050
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00440160
mov esp, ebp
pop ebp
ret