Function at 0x416a56
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44477b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b0
mov dword [ebp - 0x3b0], ecx
mov byte [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov eax, dword [0x470e30]
push eax
lea ecx, [ebp - 0x364]
push ecx
call fcn.0042a7b0
add esp, 8
push str._mod_mod.asp_m
lea edx, [ebp - 0x364]
push edx
call fcn.0042a7c0
add esp, 8
push str.ntrsm
lea eax, [ebp - 0x364]
push eax
call fcn.0042a7c0
add esp, 8
lea ecx, [ebp - 0x1dc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x462e40
lea edx, [ebp - 0x1dc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x1dc]
push eax
call fcn.00420e10
add esp, 4
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__current_dir_:__s
call fcn.004288c1
add esp, 8
lea ecx, [ebp - 0x258]
call fcn.00403060
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x258]
call fcn.004099d7
mov ecx, dword [ebp - 0x3b0]
add ecx, 4
call fcn.00404560
test eax, eax
jbe 0x416be2
lea ecx, [ebp - 0x258]
call fcn.00409acd
and eax, 0xff
test eax, eax
je 0x416bb1
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x24
call fcn.0040bea0
push eax
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x14
call fcn.0040bea0
push eax
mov ecx, dword [ebp - 0x3b0]
add ecx, 4
call fcn.00404530
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__Setting_proxy_from_data_in_command_line__s___ws:_ws
call fcn.004288c1
add esp, 0x10
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x24
push ecx
mov edx, dword [ebp - 0x3b0]
add edx, 0x14
push edx
mov eax, dword [ebp - 0x3b0]
add eax, 4
push eax
lea ecx, [ebp - 0x258]
call fcn.0040a088
jmp 0x416be2
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x24
call fcn.0040bea0
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__Setting_proxy_auth:__ws
call fcn.004288c1
add esp, 8
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x258]
call fcn.0040b830
lea edx, [ebp - 0x378]
push edx
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x374]
call fcn.00408de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38c]
push ecx
lea edx, [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x388]
call fcn.00408de0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x388]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00403db6
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x388]
call fcn.004044d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x374]
call fcn.004044d0
cmp dword [ebp - 0xb8], 0
jne 0x416c7c
lea edx, [ebp - 0x364]
push edx
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_downloaded.
call fcn.004288c1
add esp, 8
mov byte [ebp - 0x10], 1
jmp 0x416cba
cmp dword [ebp - 0xb8], 0xfffffffe
jne 0x416c9f
lea eax, [ebp - 0x364]
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_not_downloaded:_already_exists
call fcn.004288c1
add esp, 8
mov byte [ebp - 0x10], 1
jmp 0x416cba
mov ecx, dword [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x364]
push edx
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_error:__d
call fcn.004288c1
add esp, 0xc
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004044a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x394]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.0040bde0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x398]
push edx
lea ecx, [ebp - 0xc8]
call fcn.0040bde0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x258]
call fcn.00409d3e
lea ecx, [ebp - 0xc8]
call fcn.0040bea0
push eax
lea ecx, [ebp - 0xd8]
call fcn.0040bea0
push eax
lea ecx, [ebp - 0xb4]
call fcn.00404530
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__Proxy_data_after_download:__s___ws:_ws
call fcn.004288c1
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.00404560
test eax, eax
jbe 0x416db9
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x3b0]
add ecx, 4
call fcn.004044f0
lea ecx, [ebp - 0xd8]
call fcn.0040bed0
test eax, eax
jbe 0x416d95
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x14
call fcn.0040be60
lea ecx, [ebp - 0xc8]
call fcn.0040bed0
test eax, eax
jbe 0x416db9
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x24
call fcn.0040be60
push 1
push 3
lea ecx, [ebp - 0xa4]
call fcn.004049c0
mov byte [ebp - 4], 6
lea eax, [ebp - 0xa4]
test eax, eax
je 0x416de4
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x3b4], ecx
jmp 0x416dee
mov dword [ebp - 0x3b4], 0
push str.ntrsm.ntr
lea edx, [ebp - 0x1dc]
push edx
mov eax, dword [ebp - 0x3b4]
push eax
call fcn.00407180
add esp, 8
push eax
call fcn.00407180
add esp, 8
lea ecx, [ebp - 0x3a8]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00404ae0
mov dword [ebp - 0x3b8], eax
mov edx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x3bc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004044f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3a8]
call fcn.004044d0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 0x3ac], cl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00404300
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.0040be40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.0040be40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.004044d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.004031e8
mov al, byte [ebp - 0x3ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4