Function at 0x416804
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44159b
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 [0x46c9bc]
push eax
lea ecx, [ebp - 0x364]
push ecx
call fcn.00427600
add esp, 8
push str._mod_mod.asp_m
lea edx, [ebp - 0x364]
push edx
call fcn.00427610
add esp, 8
push str.ntrsm
lea eax, [ebp - 0x364]
push eax
call fcn.00427610
add esp, 8
lea ecx, [ebp - 0x1dc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x45f00c
lea edx, [ebp - 0x1dc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x1dc]
push eax
call fcn.00416d40
add esp, 4
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__current_dir_:__s
call fcn.0042571d
add esp, 8
lea ecx, [ebp - 0x258]
call fcn.00403060
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x258]
call fcn.004099f7
mov ecx, dword [ebp - 0x3b0]
add ecx, 4
call fcn.00404570
test eax, eax
jbe 0x416945
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x24
call fcn.0040bd00
push eax
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x14
call fcn.0040bd00
push eax
mov ecx, dword [ebp - 0x3b0]
add ecx, 4
call fcn.00404540
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__Setting_proxy_from_data_in_command_line__s___ws:_ws
call fcn.0042571d
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.0040a0a8
lea ecx, [ebp - 0x378]
push ecx
lea edx, [ebp - 0x364]
push edx
lea ecx, [ebp - 0x374]
call fcn.00408e00
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x388]
call fcn.00408e00
mov byte [ebp - 4], 2
lea edx, [ebp - 0x374]
push edx
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403db6
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x388]
call fcn.004044e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x374]
call fcn.004044e0
cmp dword [ebp - 0xb8], 0
jne 0x4169df
lea ecx, [ebp - 0x364]
push ecx
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_downloaded.
call fcn.0042571d
add esp, 8
mov byte [ebp - 0x10], 1
jmp 0x416a1d
cmp dword [ebp - 0xb8], 0xfffffffe
jne 0x416a02
lea edx, [ebp - 0x364]
push edx
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_not_downloaded:_already_exists
call fcn.0042571d
add esp, 8
mov byte [ebp - 0x10], 1
jmp 0x416a1d
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x364]
push ecx
push str._ClsScriptingManagement::DownloadScriptingMachine__DownloadModule__s_error:__d
call fcn.0042571d
add esp, 0xc
lea edx, [ebp - 0x390]
push edx
lea ecx, [ebp - 0xb4]
call fcn.004044b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0xd8]
call fcn.0040bc40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x398]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0040bc40
mov byte [ebp - 4], 5
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x258]
call fcn.00409d5e
lea ecx, [ebp - 0xc8]
call fcn.0040bd00
push eax
lea ecx, [ebp - 0xd8]
call fcn.0040bd00
push eax
lea ecx, [ebp - 0xb4]
call fcn.00404540
push eax
push str._ClsScriptingManagement::DownloadScriptingMachine__Proxy_data_after_download:__s___ws:_ws
call fcn.0042571d
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.00404570
test eax, eax
jbe 0x416b1c
lea edx, [ebp - 0xb4]
push edx
mov ecx, dword [ebp - 0x3b0]
add ecx, 4
call fcn.00404500
lea ecx, [ebp - 0xd8]
call fcn.0040bd30
test eax, eax
jbe 0x416af8
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x14
call fcn.0040bcc0
lea ecx, [ebp - 0xc8]
call fcn.0040bd30
test eax, eax
jbe 0x416b1c
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0x3b0]
add ecx, 0x24
call fcn.0040bcc0
push 1
push 3
lea ecx, [ebp - 0xa4]
call fcn.004049f0
mov byte [ebp - 4], 6
lea edx, [ebp - 0xa4]
test edx, edx
je 0x416b47
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x3b4], eax
jmp 0x416b51
mov dword [ebp - 0x3b4], 0
push str.ntrsm.ntr
lea ecx, [ebp - 0x1dc]
push ecx
mov edx, dword [ebp - 0x3b4]
push edx
call fcn.004071b0
add esp, 8
push eax
call fcn.004071b0
add esp, 8
lea eax, [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00404b10
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x3bc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404500
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3a8]
call fcn.004044e0
mov al, byte [ebp - 0x10]
mov byte [ebp - 0x3ac], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.00404300
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.0040bca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd8]
call fcn.0040bca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.004044e0
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