Function at 0x4b97f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dce51
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x520b38]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea eax, [edi + 4]
mov esi, dword [ebp + 8]
push eax
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x1a8], edi
mov byte [ebp - 0x1a4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004b8b20
push ebx
push 0x4b93f0
lea eax, [ebp - 0x118]
mov dword [ebp - 0x174], 0
push eax
push esi
push dword [edi + 0x50]
lea eax, [ebp - 0x174]
push eax
mov eax, dword [edi + 0x2c]
call eax
add esp, 0x18
mov ebx, eax
cmp dword [ebp - 0x174], 0
je 0x4b98fd
lea eax, [ebp - 0x180]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], str.Internet_Client_Error:_codition__theError__kICNoError__failed_in_ICGetFileRequest
xorps xmm0, xmm0
mov byte [ebp - 0x16c], 1
push eax
movq qword [ebp - 0x180], xmm0
call dword [0x4e1450]
add esp, 8
mov dword [ebp - method.std::exception.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x184]
push 0x50d824
push eax
call fcn.004c5558
lea esi, [edi + 0x54]
mov byte [ebp - 0x1ac], 0
lea eax, [esi + 4]
mov dword [ebp - 0x1b0], esi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x16c]
lea ecx, [esi + 0x1c]
push dword [ebp - 0x178]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x170]
push eax
push 0
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x16c], ebx
call fcn.004b8510
lea eax, [esi + 4]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call esi
mov eax, dword [edi + 0x34]
push 0xffffffffffffffff
push 0
push 0
push str.application_x_www_form_urlencoded
push 0
push 0
push ebx
call eax
add esp, 0x1c
mov dword [ebp - 0x174], eax
test eax, eax
je 0x4b99d5
lea eax, [ebp - 0x18c]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], str.Internet_Client_Error:_codition__theError__kICNoError__failed_in_ICSetHTTPInfo
xorps xmm0, xmm0
mov byte [ebp - 0x16c], 1
push eax
movq qword [ebp - 0x18c], xmm0
call dword [0x4e1450]
add esp, 8
mov dword [ebp - method.std::exception.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x190]
push 0x50d824
push eax
call fcn.004c5558
push 0
push ebx
push 0
push dword [edi + 0xb8]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x4b9a42
lea eax, [ebp - 0x198]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], str.Internet_Client_Error:_codition__queueResult___FALSE__failed_in_m_threadPool.QueueRequest
xorps xmm0, xmm0
mov byte [ebp - 0x16c], 1
push eax
movq qword [ebp - 0x198], xmm0
call dword [0x4e1450]
add esp, 8
mov dword [ebp - method.std::exception.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x19c]
push 0x50d824
push eax
call fcn.004c5558
lea eax, [edi + 4]
push eax
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c35dc
mov esp, ebp
pop ebp
ret 8