Function at 0x414c55
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5a00
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x32e3]
push esi
push edi
mov esi, 0x3e7
mov dword [ebp - 0x59fc], ecx
push esi
push 0
push eax
mov byte [ebp - 0x32e4], 0
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x2efc], 0
lea eax, [ebp - 0x2efb]
push esi
push 0
push eax
call fcn.006390b0
mov esi, str.accounts.ini
lea edi, [ebp - 0x18]
add esp, 0xc
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x414d05
lea eax, [ebp - 0x2efc]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x414cf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
mov eax, str._sPocomail_s
lea ebx, [ebp - 0x2efc]
jmp 0x414d0a
mov eax, 0x6c643c
lea ecx, [ebp - 0x18]
mov edi, 0x3e8
push ecx
push ebx
push eax
lea eax, [ebp - 0x32e4]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0x32e4]
xor ebx, ebx
mov dword [ebp - 0x59f8], ebx
push 0x6c63d0
push eax
lea eax, [ebp - 0x59f8]
push eax
call fcn.00649a00
add esp, 0xc
test eax, eax
jne 0x414ce5
cmp dword [ebp - 0x59f8], ebx
je 0x414ce5
lea esi, [edi - 1]
mov byte [ebp - 0xfbc], bl
push esi
lea eax, [ebp - 0xfbb]
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x7ec], bl
lea eax, [ebp - 0x7eb]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x2344], bl
lea eax, [ebp - 0x2343]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x1f5c], bl
lea eax, [ebp - 0x1f5b]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x404], bl
lea eax, [ebp - 0x403]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x13a4], bl
lea eax, [ebp - 0x13a3]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x272c], bl
lea eax, [ebp - 0x272b]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x2b14], bl
lea eax, [ebp - 0x2b13]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0x1b74], bl
lea eax, [ebp - 0x1b73]
push esi
push ebx
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x59f4]
push dword [ebp - 0x59f8]
push 0x2710
push eax
call fcn.006494dd
mov esi, dword [ebp - 0x59fc]
jmp 0x41534f
lea eax, [ebp - 0x59f4]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x414e79
lea eax, [ebp - 0x59f4]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, 0x2710
jae 0x41558f
mov byte [ebp + eax - 0x59f4], bl
lea ecx, [ebp - 0x59f4]
call fcn.004047e7
lea eax, [ebp - 0x59f4]
push 0x5b
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x4150fe
lea eax, [ebp - 0x59f4]
push 0x5d
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
je 0x4150fe
lea eax, [ebp - 0x2344]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x41501f
lea eax, [ebp - 0xfbc]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x414ee3
lea eax, [ebp - 0x7ec]
jmp 0x414f2a
lea eax, [ebp - 0xfbc]
push 0x40
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
jne 0x414f24
cmp byte [ebp - 0x7ec], bl
je 0x414f24
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0xfbc]
push eax
push str._s___s_
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x414f3b
lea eax, [ebp - 0xfbc]
push eax
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.006494f3
add esp, 0xc
push 0x3e7
lea eax, [ebp - 0x178b]
mov byte [ebp - 0x178c], bl
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xbd4], bl
lea eax, [ebp - 0xbd3]
push 0x3e7
push ebx
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x1f5c]
push eax
lea eax, [ebp - 0xbd4]
push edi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0xbd4]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0xbd4]
push eax
call fcn.0064ffd4
lea eax, [ebp - 0xbd4]
push 0x6c9560
push eax
call fcn.00639500
add esp, 0x10
test eax, eax
je 0x414fc2
push str.IMAP
jmp 0x414fde
lea eax, [ebp - 0xbd4]
push 0x6c9568
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x414fee
push str.POP3
lea eax, [ebp - 0x178c]
push edi
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
push 0x6c5bb9
lea eax, [ebp - 0x2344]
mov ecx, esi
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1f5c]
push eax
lea eax, [ebp - 0x178c]
push eax
push 0x108
push 2
call fcn.0043ee6b
lea eax, [ebp - 0x272c]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x4150d5
lea eax, [ebp - 0x13a4]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41504e
lea eax, [ebp - 0x7ec]
jmp 0x415095
lea eax, [ebp - 0x13a4]
push 0x40
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
jne 0x41508f
cmp byte [ebp - 0x7ec], bl
je 0x41508f
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0x13a4]
push eax
push str._s___s_
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x4150a6
lea eax, [ebp - 0x13a4]
push eax
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
push 0x6c5bb9
lea eax, [ebp - 0x272c]
mov ecx, esi
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x2b14]
push eax
push str.SMTP
push 0x108
push 2
call fcn.0043ee6b
mov byte [ebp - 0x1b74], bl
mov byte [ebp - 0x2b14], bl
mov byte [ebp - 0x13a4], bl
mov byte [ebp - 0x1f5c], bl
mov byte [ebp - 0x7ec], bl
mov byte [ebp - 0xfbc], bl
jmp 0x415338
push 0x6c956c
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x59f4]
push 0x6c956c
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x41514a
lea eax, [ebp - 0x59f4]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x7ec]
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x7ec]
jmp 0x4152cc
push str.popserver
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x59f4]
push str.popserver
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x415196
lea eax, [ebp - 0x59f4]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x1f5c]
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x1f5c]
jmp 0x4152cc
push str.popuser
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x59f4]
push str.popuser
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x4151e2
lea eax, [ebp - 0x59f4]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0xfbc]
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0xfbc]
jmp 0x4152cc
push str.poppass
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x59f4]
push str.poppass
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x41523c
lea eax, [ebp - 0x59f4]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x1b74]
push edi
push eax
call fcn.006494f3
add esp, 0x14
lea ecx, [ebp - 0x1b74]
call fcn.004047e7
lea edx, [ebp - 0x2344]
jmp 0x41532b
push str.smtp
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x59f4]
push str.smtp
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x415285
lea eax, [ebp - 0x59f4]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x2b14]
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x2b14]
jmp 0x4152cc
push str.smtpuser
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x59f4]
push str.smtpuser
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x4152d6
lea eax, [ebp - 0x59f4]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x13a4]
push edi
push eax
call fcn.006494f3
lea ecx, [ebp - 0x13a4]
add esp, 0x14
call fcn.004047e7
jmp 0x415338
push str.smtppass
call fcn.00643470
pop ecx
push eax
lea eax, [ebp - 0x59f4]
push str.smtppass
push eax
call fcn.0065106c
add esp, 0xc
test eax, eax
jne 0x415338
lea eax, [ebp - 0x59f4]
push 0x3d
push eax
call fcn.006393d0
inc eax
push eax
lea eax, [ebp - 0x1b74]
push edi
push eax
call fcn.006494f3
add esp, 0x14
lea ecx, [ebp - 0x1b74]
call fcn.004047e7
lea edx, [ebp - 0x272c]
push ecx
lea ecx, [ebp - 0x1b74]
call fcn.00414be5
pop ecx
push dword [ebp - 0x59f8]
lea eax, [ebp - 0x59f4]
push 0x2710
push eax
call fcn.006494dd
add esp, 0xc
test eax, eax
jne 0x414e48
push dword [ebp - 0x59f8]
call fcn.00649273
pop ecx
lea eax, [ebp - 0x2344]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x4154d1
lea eax, [ebp - 0xfbc]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x415395
lea eax, [ebp - 0x7ec]
jmp 0x4153dc
lea eax, [ebp - 0xfbc]
push 0x40
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
jne 0x4153d6
cmp byte [ebp - 0x7ec], bl
je 0x4153d6
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0xfbc]
push eax
push str._s___s_
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x4153ed
lea eax, [ebp - 0xfbc]
push eax
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.006494f3
add esp, 0xc
push 0x3e7
lea eax, [ebp - 0x178b]
mov byte [ebp - 0x178c], bl
push ebx
push eax
call fcn.006390b0
add esp, 0xc
mov byte [ebp - 0xbd4], bl
lea eax, [ebp - 0xbd3]
push 0x3e7
push ebx
push eax
call fcn.006390b0
add esp, 0xc
lea eax, [ebp - 0x1f5c]
push eax
lea eax, [ebp - 0xbd4]
push edi
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0xbd4]
push eax
call fcn.00643470
pop ecx
inc eax
push eax
lea eax, [ebp - 0xbd4]
push eax
call fcn.0064ffd4
lea eax, [ebp - 0xbd4]
push 0x6c9560
push eax
call fcn.00639500
add esp, 0x10
test eax, eax
je 0x415474
push str.IMAP
jmp 0x415490
lea eax, [ebp - 0xbd4]
push 0x6c9568
push eax
call fcn.00639500
pop ecx
pop ecx
test eax, eax
je 0x4154a0
push str.POP3
lea eax, [ebp - 0x178c]
push edi
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
push 0x6c5bb9
lea eax, [ebp - 0x2344]
mov ecx, esi
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x1f5c]
push eax
lea eax, [ebp - 0x178c]
push eax
push 0x108
push 2
call fcn.0043ee6b
lea eax, [ebp - 0x272c]
push eax
call fcn.00643470
pop ecx
test eax, eax
je 0x415587
lea eax, [ebp - 0x13a4]
push eax
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x415500
lea eax, [ebp - 0x7ec]
jmp 0x415547
lea eax, [ebp - 0x13a4]
push 0x40
push eax
call fcn.006393d0
pop ecx
pop ecx
test eax, eax
jne 0x415541
cmp byte [ebp - 0x7ec], bl
je 0x415541
lea eax, [ebp - 0x7ec]
push eax
lea eax, [ebp - 0x13a4]
push eax
push str._s___s_
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x415558
lea eax, [ebp - 0x13a4]
push eax
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.006494f3
add esp, 0xc
push 0xffffffffffffffff
push 0x6c5bb9
lea eax, [ebp - 0x272c]
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x2b14]
push ecx
push str.SMTP
push 0x108
push 2
mov ecx, esi
call fcn.0043ee6b
xor eax, eax
inc eax
jmp 0x414ce7
call fcn.00612782
int3