Function at 0x4e6c0e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bc9e2
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x61dc40]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x61dc40]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov esi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
cmp dword [eax + 0xc], ecx
je 0x4e6ec9
cmp dword [eax + 8], ecx
je 0x4e6ec9
cmp esi, ecx
je 0x4e6ec9
cmp word [esi], cx
je 0x4e6ec9
push 7
mov ebx, str.http:__
push ebx
push esi
call fcn.00590d27
add esp, 0xc
mov edi, str.https:__
test eax, eax
je 0x4e6cb2
push 8
push edi
push esi
call fcn.00590d27
add esp, 0xc
test eax, eax
jne 0x4e6ec9
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4e6ec9
cmp word [esi], 0
je 0x4e6ec9
push 7
push ebx
push esi
call fcn.00590d27
add esp, 0xc
test eax, eax
je 0x4e6cec
push 8
push edi
push esi
call fcn.00590d27
add esp, 0xc
test eax, eax
jne 0x4e6ec9
call fcn.0049e596
mov ecx, dword [ebp + 0xc]
mov esi, eax
call fcn.0049e9f7
mov ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x4e6ec9
push 0x3310
call fcn.0058f82d
mov edi, eax
pop ecx
mov dword [esp + 0x24], edi
and dword [esp + 0x250], 0
test edi, edi
je 0x4e6d4d
push 4
lea esi, [edi + 0x32f8]
call fcn.0058f82d
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x4e6d3e
mov dword [eax], esi
jmp 0x4e6d40
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
jmp 0x4e6d4f
xor edi, edi
or dword [esp + 0x250], 0xffffffff
test edi, edi
je 0x4e6ec9
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebx + 0x6654]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov ecx, ebx
mov dword [edi + 8], eax
call fcn.004410b2
push eax
mov ebx, 0x5db9e0
push ebx
mov esi, 0x824
lea eax, [edi + 0xc]
push esi
push eax
call fcn.0058f42f
push dword [esp + 0x2c]
lea eax, [edi + 0x1056]
push ebx
push esi
push eax
call fcn.0058f42f
push dword [esp + 0x40]
lea eax, [edi + 0x20a0]
push ebx
push esi
push eax
call fcn.0058f42f
xor eax, eax
push 0x206
push eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push eax
call fcn.00596530
add esp, 0x3c
lea eax, [esp + 0x34]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [edi + 0x30ea]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.jzvd
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
and dword [edi + 0x32f4], 0
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [0x63696c]
mov esi, 0x63696c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x258], 2
push dword [esp + 0x24]
call fcn.004410b2
mov edx, dword [esp + 0x2c]
push ebx
mov ecx, eax
call fcn.004e6691
test eax, eax
je 0x4e6ebd
mov eax, dword [0x63696c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x2c]
mov byte [esp + 0x250], 3
call fcn.00518626
lea ecx, [esp + 0x1c]
push ecx
push dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
mov esi, ebx
call fcn.004e69f6
mov esi, dword [esp + 0x1c]
push edi
push 0x4e6eef
push dword [esp + 0x2c]
push esi
call fcn.004437e7
mov edi, eax
call fcn.00443d04
lea eax, [esi - 0x10]
call fcn.00407b6b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00407b6b
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0058f3cf
mov esp, ebp
pop ebp
ret 8