Function at 0x404610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
test ecx, ecx
je 0x404625
mov dword [0x42c0a5], esi
jmp 0x404641
xchg dword [0x42c060], eax
mov dword [0x42c061], edi
mov dword [0x42c095], 0x14c92
mov dword [0x42c025], ebx
mov dword [0x42c0dd], edx
mov dword [0x42c075], 0x109cb
mov byte [0x42c0b4], 0xf8
mov eax, dword [0x42c077]
mov dword [ebp - 4], 0x1efd2
mov eax, 0x404eac
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_RemovePropA
call fcn.004017e0
lea eax, [0x42c05e]
mov dword [eax], 0xf6
inc esi
mov dword [0x42c076], edx
mov byte [0x42c0ad], 0x15
dec edi
sub dword [0x42c0c6], ecx
lea edx, [0x42c0e1]
mov dword [edx], 0x11
mov dword [0x42c052], ebx
mov dword [0x42c0d2], edi
mov word [0x42c039], 0xaedc
mov dword [ebp - 0xc], 0x1fec5
mov eax, 0x404eb4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_RemovePropA
test eax, eax
jne 0x404728
xchg dword [0x42c104], ebx
mov esi, dword [0x42c020]
mov dword [0x42c106], ecx
mov dword [0x42c065], eax
cmp byte [0x42c0a8], 0
jge 0x404718
lea ecx, [0x42c031]
mov dword [ecx], edx
mov dword [0x42c01b], ecx
mov dword [0x42c056], eax
jmp 0x404728
mov dword [0x42c0e5], 0x1021e
mov dword [0x42c0de], ecx
mov dword [ebp - 0x14], 0x51
mov eax, dword [0x42e4fc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x404790
mov dword [0x42c0ac], ecx
mov dword [0x42c041], edi
cmp si, word [0x42c0c4]
jle 0x404773
add dword [0x42c0fb], esi
mov dword [0x42c102], eax
dec edx
mov word [0x42c072], 0xcc25
mov byte [0x42c0ae], 0xdd
mov dword [0x42c041], 0x13d4b
mov dword [0x42c07f], ebx
mov dword [0x42c03d], esi
mov dword [ebp - 0x1c], 0x1a920
mov dword [ebp - 0x20], 0x12efb
mov dword [ebp - 0x24], 0x1d969
mov dword [ebp - 0x28], 0x17302
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
test eax, eax
jne 0x4047fc
sub dword [0x42c065], ecx
mov eax, 0x5e
cmp byte [0x42c0ae], 0
jne 0x4047f3
mov dword [0x42c043], ebx
mov word [0x42c109], 0x1219
mov esi, 0x57
mov dword [esp - 0x28], ebx
jmp 0x4047f8
mov eax, edx
and edi, 5
xchg dword [esp - 0xc], edx
call fcn.00403160
mov dword [ebp - 0x2c], 0x10481
mov eax, 0x404ec0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.user32.dll_RemovePropA
test eax, eax
jne 0x404846
mov dword [0x42c109], edi
mov dword [0x42c0fc], edx
mov dword [0x42c0ad], 0x1573c
mov word [0x42c049], 0x981b
mov dword [0x42c048], ecx
mov dword [ebp - 0x34], 0x153fd
mov dword [ebp - 0x38], 0x176ae
mov dword [ebp - 0x3c], 0x127aa
mov dword [ebp - 0x40], 0x174bd
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
test eax, eax
je 0x4048c3
mov dword [0x42c0ac], ecx
mov dword [0x42c041], edi
cmp si, word [0x42c0c4]
jle 0x4048a6
add dword [0x42c0fb], esi
mov dword [0x42c102], eax
dec edx
mov word [0x42c072], 0xcc25
mov byte [0x42c0ae], 0xdd
mov dword [0x42c041], 0x13d4b
mov dword [0x42c07f], ebx
mov dword [0x42c03d], esi
call fcn.004020a0
mov dword [0x42c109], edi
mov dword [0x42c0fc], edx
mov dword [0x42c0ad], 0x1573c
mov word [0x42c049], 0x981b
mov dword [0x42c048], ecx
mov dword [ebp - 0x44], 0x12131
mov eax, 0x404ed4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
push eax
call sub.user32.dll_RemovePropA
mov dword [0x42c109], edi
mov dword [0x42c0fc], edx
mov dword [0x42c0ad], 0x1573c
mov word [0x42c049], 0x981b
mov dword [0x42c048], ecx
call fcn.004020a0
mov dword [0x42c0ac], ecx
mov dword [0x42c041], edi
cmp si, word [0x42c0c4]
jle 0x40495e
add dword [0x42c0fb], esi
mov dword [0x42c102], eax
dec edx
mov word [0x42c072], 0xcc25
mov byte [0x42c0ae], 0xdd
mov dword [0x42c041], 0x13d4b
mov dword [0x42c07f], ebx
mov dword [0x42c03d], esi
mov dword [ebp - 0x4c], 0x16b05
mov eax, 0x404ee8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.user32.dll_RemovePropA
test eax, eax
jne 0x404a10
cmp byte [0x42c0df], bl
jle 0x4049ab
add dword [0x42c0d1], eax
mov eax, edi
mov dword [0x42c081], 0x1091a
lea ebx, [0x42c046]
mov dword [ebx], eax
lea esi, [0x42c0f9]
mov dword [esi], 0x4d
mov dword [0x42c0a5], edx
add ebx, dword [0x42c0e1]
mov dword [0x42c025], edx
mov byte [0x42c039], 0x86
cmp dword [0x42c0ea], 0
jge 0x4049f8
mov dword [0x42c07d], edi
dec edx
mov dword [0x42c0b9], ebx
lea esi, [0x42c0de]
mov dword [esi], 0x1d
add dword [0x42c014], edi
mov dword [0x42c03c], ecx
mov dword [ebp - 0x54], 0x56
mov eax, dword [0x42e4fc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_GetTempPathA
test eax, eax
jne 0x404a67
sub dword [0x42c065], ecx
mov eax, 0x5e
cmp byte [0x42c0ae], 0
jne 0x404a5e
mov dword [0x42c043], ebx
mov word [0x42c109], 0x1219
mov esi, 0x57
mov dword [esp - 0x28], ebx
jmp 0x404a63
mov eax, edx
and edi, 5
xchg dword [esp - 0xc], edx
push edi
push 1
push eax
call fcn.004017e0
sub dword [0x42c0c6], ecx
lea edx, [0x42c0e1]
mov dword [edx], 0x11
mov dword [0x42c052], ebx
mov dword [0x42c0d2], edi
mov word [0x42c039], 0xaedc
mov dword [ebp - 0x5c], 0x104ff
mov dword [ebp - 0x60], 0x1b389
mov dword [ebp - 0x64], 0x101f9
mov dword [ebp - 0x68], 0x19918
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
test eax, eax
jne 0x404b14
mov dword [0x42c0ac], ecx
mov dword [0x42c041], edi
cmp si, word [0x42c0c4]
jle 0x404af7
add dword [0x42c0fb], esi
mov dword [0x42c102], eax
dec edx
mov word [0x42c072], 0xcc25
mov byte [0x42c0ae], 0xdd
mov dword [0x42c041], 0x13d4b
mov dword [0x42c07f], ebx
mov dword [0x42c03d], esi
mov dword [ebp - 0x6c], 0x35
mov eax, dword [0x42e4fc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_GetTempPathA
test eax, eax
jne 0x404ba9
cmp byte [0x42c0df], bl
jle 0x404b44
add dword [0x42c0d1], eax
mov eax, edi
mov dword [0x42c081], 0x1091a
lea ebx, [0x42c046]
mov dword [ebx], eax
lea esi, [0x42c0f9]
mov dword [esi], 0x4d
mov dword [0x42c0a5], edx
add ebx, dword [0x42c0e1]
mov dword [0x42c025], edx
mov byte [0x42c039], 0x86
cmp dword [0x42c0ea], 0
jge 0x404b91
mov dword [0x42c07d], edi
dec edx
mov dword [0x42c0b9], ebx
lea esi, [0x42c0de]
mov dword [esi], 0x1d
add dword [0x42c014], edi
mov dword [0x42c03c], ecx
call fcn.0040206c
mov dword [ebp - 0x74], 0x1c
mov eax, dword [0x42e4fc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_GetTempPathA
mov ecx, edx
mov word [0x42c0dc], 0xf9de
cmp dword [0x42c07f], edx
jge 0x404bee
mov ecx, 0x17f
mov dword [0x42c064], edx
mov dword [0x42c07e], esi
mov byte [0x42c085], 0xb9
mov byte [0x42c0a9], 0x15
mov ebx, 0x10c
mov dword [0x42c0e7], edi
lea eax, [0x42c05e]
mov dword [eax], 0xf6
inc esi
mov dword [0x42c076], edx
mov byte [0x42c0ad], 0x15
dec edi
mov dword [ebp - 0x7c], 0x1a7e5
mov eax, 0x404eec
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.user32.dll_RemovePropA
mov ecx, edx
mov word [0x42c0dc], 0xf9de
cmp dword [0x42c07f], edx
jge 0x404c62
mov ecx, 0x17f
mov dword [0x42c064], edx
mov dword [0x42c07e], esi
mov byte [0x42c085], 0xb9
mov byte [0x42c0a9], 0x15
mov ebx, 0x10c
mov dword [0x42c0e7], edi
call fcn.0040329c
lea eax, [ebp - 0xe4]
push eax
call sub.kernel32.dll_GetStartupInfoA
sub dword [0x42c065], ecx
mov eax, 0x5e
cmp byte [0x42c0ae], 0
jne 0x404cba
mov dword [0x42c043], ebx
mov word [0x42c109], 0x1219
mov esi, 0x57
mov dword [esp - 0x28], ebx
jmp 0x404cbf
mov eax, edx
and edi, 5
xchg dword [esp - 0xc], edx
call fcn.0040329c
mov dword [ebp - 0x84], 0x1769d
mov dword [ebp - 0x88], 0x15090
mov dword [ebp - 0x8c], 0x151ec
mov dword [ebp - 0x90], 0x14194
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x84]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
test eax, eax
jne 0x404d5d
mov dword [0x42c0ac], ecx
mov dword [0x42c041], edi
cmp si, word [0x42c0c4]
jle 0x404d40
add dword [0x42c0fb], esi
mov dword [0x42c102], eax
dec edx
mov word [0x42c072], 0xcc25
mov byte [0x42c0ae], 0xdd
mov dword [0x42c041], 0x13d4b
mov dword [0x42c07f], ebx
mov dword [0x42c03d], esi
lea eax, [ebp - 0x128]
push eax
call sub.kernel32.dll_GetStartupInfoA
test ecx, ecx
je 0x404d75
mov dword [0x42c0a5], esi
jmp 0x404d91
xchg dword [0x42c060], eax
mov dword [0x42c061], edi
mov dword [0x42c095], 0x14c92
mov dword [0x42c025], ebx
mov dword [0x42c0dd], edx
mov dword [0x42c075], 0x109cb
mov byte [0x42c0b4], 0xf8
mov eax, dword [0x42c077]
call fcn.00401014
sub dword [0x42c0c6], ecx
lea edx, [0x42c0e1]
mov dword [edx], 0x11
mov dword [0x42c052], ebx
mov dword [0x42c0d2], edi
mov word [0x42c039], 0xaedc
mov dword [ebp - 0x94], 0x2f
mov eax, dword [0x42e4fc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x94]
push eax
call sub.kernel32.dll_GetTempPathA
test eax, eax
jne 0x404e7b
cmp byte [0x42c0df], bl
jle 0x404e16
add dword [0x42c0d1], eax
mov eax, edi
mov dword [0x42c081], 0x1091a
lea ebx, [0x42c046]
mov dword [ebx], eax
lea esi, [0x42c0f9]
mov dword [esi], 0x4d
mov dword [0x42c0a5], edx
add ebx, dword [0x42c0e1]
mov dword [0x42c025], edx
mov byte [0x42c039], 0x86
cmp dword [0x42c0ea], 0
jge 0x404e63
mov dword [0x42c07d], edi
dec edx
mov dword [0x42c0b9], ebx
lea esi, [0x42c0de]
mov dword [esi], 0x1d
add dword [0x42c014], edi
mov dword [0x42c03c], ecx
mov dword [ebp - 0x9c], 0x17b70
mov eax, 0x404efc
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x9c]
push eax
call sub.user32.dll_RemovePropA
test eax, eax
mov esp, ebp
pop ebp
ret