Function at 0x406bd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x754
mov eax, dword [0x46b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x48]
mov dword [ebp - 0x754], ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c8]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x188]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x148]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x88]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x6d0]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc8]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x2d0]
add esp, 0xc
push eax
push 0x104
call esi
push str.Memoryuser.apo
lea eax, [ebp - 0x2d0]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
push 0
push 0
push 0x1004
push dword [0x46b96c]
call edi
mov dword [ebp - 0x750], eax
lea eax, [ebp - 0x2d0]
push 0x4652fc
push eax
lea eax, [ebp - 0x6d4]
mov dword [ebp - 0x6d4], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ecx, dword [ebp - 0x6d4]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test ecx, ecx
je 0x406f60
xor esi, esi
cmp dword [ebp - 0x750], esi
jle 0x406f50
nop word [eax + eax]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x708], 0
mov dword [ebp - 0x6fc], eax
lea eax, [ebp - 0x710]
push eax
push esi
push 0x102d
push dword [0x46b96c]
mov dword [ebp - 0x6f8], 0x40
call edi
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x744], 2
mov dword [ebp - 0x738], eax
lea eax, [ebp - 0x74c]
push eax
push esi
push 0x102d
push dword [0x46b96c]
mov dword [ebp - 0x734], 0x40
call edi
lea eax, [ebp - 0x188]
mov dword [ebp - 0x708], 3
mov dword [ebp - 0x6fc], eax
lea eax, [ebp - 0x710]
push eax
push esi
push 0x102d
push dword [0x46b96c]
mov dword [ebp - 0x6f8], 0x40
call edi
lea eax, [ebp - 0x148]
mov dword [ebp - 0x744], 4
mov dword [ebp - 0x738], eax
lea eax, [ebp - 0x74c]
push eax
push esi
push 0x102d
push dword [0x46b96c]
mov dword [ebp - 0x734], 0x40
call edi
lea eax, [ebp - 0x108]
mov dword [ebp - 0x708], 5
mov dword [ebp - 0x6fc], eax
lea eax, [ebp - 0x710]
push eax
push esi
push 0x102d
push dword [0x46b96c]
mov dword [ebp - 0x6f8], 0x40
call edi
push 0xf000
push esi
push 0x102c
push dword [0x46b96c]
call edi
shr eax, 0xc
sub eax, 1
lea eax, [ebp - 0x88]
je 0x406e4b
push 1
jmp 0x406e4d
push 0
push 0x465680
push eax
call fcn.00405c60
add esp, 0xc
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x48]
push eax
push str.ACCOUNT
push eax
call ebx
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x1c8]
push eax
push str.DAQU
lea eax, [ebp - 0x48]
push eax
call ebx
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x188]
push eax
push str.SERVER
lea eax, [ebp - 0x48]
push eax
call ebx
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x148]
push eax
push str.CANNEL
lea eax, [ebp - 0x48]
push eax
call ebx
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x108]
push eax
push str.ROLE
lea eax, [ebp - 0x48]
push eax
call ebx
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x88]
push eax
push str.CHECK
lea eax, [ebp - 0x48]
push eax
call ebx
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x6d0]
push str._s__s__s__s__s__s
push eax
call fcn.004020f0
lea eax, [ebp - 0x6d0]
push eax
push 0x4656c8
push dword [ebp - 0x6d4]
call fcn.00405c90
inc esi
add esp, 0x2c
cmp esi, dword [ebp - 0x750]
jl 0x406d20
mov ecx, dword [ebp - 0x6d4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add esp, 4
mov edi, dword [ebp - 0x754]
test edi, edi
je 0x407027
lea eax, [ebp - 0x2d0]
push eax
push 0x104
call esi
push str.Memory_t.ttx
lea eax, [ebp - 0x2d0]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0xc8]
add esp, 0xc
push 0x40
push eax
push 0x3fc
push edi
call esi
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0xc8]
push eax
push str.INTERVAL
push str.LOGIN
call ebx
push 0x40
lea eax, [ebp - 0xc8]
push eax
push 0x403
push edi
call esi
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0xc8]
push eax
push str.WAITETIME
push str.LOGIN
call ebx
push 0x22b
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push eax
lea eax, [ebp - 0x48]
push 0x465680
push eax
call fcn.00405c60
add esp, 0xc
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x48]
push eax
push str.IDC_CHK_RESTART
push str.LOGIN
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041150d
mov esp, ebp
pop ebp
ret