Function at 0x40eff3
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x320
lea ebp, [esp - 4]
mov eax, dword [0x46c054]
xor eax, ebp
mov dword [ebp + 0x320], eax
push 0xc8
mov eax, 0x4410f4
call fcn.00426671
mov eax, dword [ebp + 0x32c]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], bl
call dword [0x46b508]
push dword [0x46d43c]
lea eax, [ebp + 0x21c]
push eax
call fcn.00429180
lea eax, [ebp + 0x21c]
push str._mod_mod.asp_m
push eax
call fcn.00429190
lea eax, [ebp + 0x21c]
push str.ntrsm
push eax
call fcn.00429190
add esp, 0x18
lea eax, [ebp + 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str._f0h1v
lea eax, [ebp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x118]
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__current_dir_:__s
call fcn.00414978
pop ecx
pop ecx
lea ecx, [ebp]
call fcn.00404cf9
mov dword [ebp - 4], ebx
push 1
lea ecx, [ebp]
call fcn.00407c12
mov eax, dword [esi + 0x18]
cmp eax, ebx
jbe 0x40f108
cmp dword [esi + 0x54], 8
jb 0x40f0c5
mov edx, dword [esi + 0x40]
jmp 0x40f0c8
lea edx, [esi + 0x40]
cmp dword [esi + 0x38], 8
jb 0x40f0d3
mov ecx, dword [esi + 0x24]
jmp 0x40f0d6
lea ecx, [esi + 0x24]
lea edi, [esi + 4]
cmp dword [edi + 0x18], 0x10
jb 0x40f0e4
mov eax, dword [edi + 4]
jmp 0x40f0e7
lea eax, [edi + 4]
push edx
push ecx
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__Setting_proxy_from_data_in_command_line__s___ws:_ws
call fcn.00414978
add esp, 0x10
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x20]
push eax
push edi
lea ecx, [ebp]
call fcn.00408cac
lea eax, [ebp + 0x21c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405057
mov byte [ebp - 4], 1
lea eax, [ebp + 0x118]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405057
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp]
call fcn.00407864
mov edi, eax
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004049a0
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004049a0
cmp edi, ebx
lea eax, [ebp + 0x21c]
jne 0x40f16f
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_downloaded.
jmp 0x40f17a
cmp edi, 0xfffffffe
jne 0x40f187
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_not_downloaded:_already_exists
call fcn.00414978
pop ecx
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x40f196
push edi
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_error:__d
call fcn.00414978
add esp, 0xc
push ebx
lea ecx, [ebp + 0xfc]
mov dword [ebp + 0x114], 0xf
call fcn.00404219
mov byte [ebp - 4], 3
push 7
pop edi
push ebx
lea ecx, [ebp + 0xe0]
mov dword [ebp + 0xf8], edi
call fcn.004082cc
mov byte [ebp - 4], 4
push ebx
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xdc], edi
call fcn.004082cc
mov byte [ebp - 4], 5
lea eax, [ebp + 0xc4]
push eax
lea eax, [ebp + 0xe0]
push eax
lea eax, [ebp + 0xfc]
push eax
lea ecx, [ebp]
call fcn.00407d69
cmp dword [ebp + 0xdc], 8
mov edx, dword [ebp + 0xc8]
jae 0x40f211
lea edx, [ebp + 0xc8]
cmp dword [ebp + 0xf8], 8
mov ecx, dword [ebp + 0xe4]
jae 0x40f226
lea ecx, [ebp + 0xe4]
cmp dword [ebp + 0x114], 0x10
mov eax, dword [ebp + 0x100]
jae 0x40f23b
lea eax, [ebp + 0x100]
push edx
push ecx
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__Proxy_data_after_download:__s___ws:_ws
call fcn.00414978
add esp, 0x10
or edi, 0xffffffff
cmp dword [ebp + 0x110], ebx
jbe 0x40f299
push edi
push ebx
lea eax, [ebp + 0xfc]
push eax
lea ecx, [esi + 4]
call fcn.00404dfa
cmp dword [ebp + 0xf4], ebx
jbe 0x40f280
push edi
push ebx
lea eax, [ebp + 0xe0]
push eax
lea ecx, [esi + 0x20]
call fcn.004088b5
cmp dword [ebp + 0xd8], ebx
jbe 0x40f299
push edi
push ebx
lea eax, [ebp + 0xc4]
push eax
lea ecx, [esi + 0x3c]
call fcn.004088b5
xor esi, esi
inc esi
push esi
push 3
lea ecx, [ebp - 0xd4]
call fcn.00407449
mov byte [ebp - 4], 6
push str.ntrsm.ntr
lea eax, [ebp + 0x118]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00406c97
pop ecx
pop ecx
push eax
call fcn.00406c97
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040567f
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
push edi
push ebx
push eax
call fcn.00404dfa
mov byte [ebp - 4], 6
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.004049a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.004047bf
lea ecx, [ebp - 0x80]
call fcn.00403ad0
mov byte [ebp - 4], 4
push ebx
push esi
lea ecx, [ebp + 0xc4]
call fcn.00408542
mov byte [ebp - 4], 3
push ebx
push esi
lea ecx, [ebp + 0xe0]
call fcn.00408542
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 0xfc]
call fcn.004049a0
mov dword [ebp - 4], edi
lea ecx, [ebp]
call fcn.00404d71
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x320]
xor ecx, ebp
call fcn.00425c6b
add ebp, 0x324
leave
ret 4