Function at 0x455cb2
Capabilities:
Check if file exists

Disassembly:
push 0xac
mov eax, 0x4b3bf0
call fcn.004991ba
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
test eax, eax
jne 0x455ce8
push str.invalid_param_2
call fcn.00403d3c
xor al, al
call fcn.0049923d
ret
and dword [ebp - 0x38], 0
call dword [sym.imp.libcurl32.dll_curl_easy_init]
mov ebx, eax
test ebx, ebx
jne 0x455d01
push str.easy_init_failed
mov ecx, esi
jmp 0x455cdb
mov eax, dword [0x4ef870]
mov eax, dword [eax]
mov ecx, dword [0x4ef858]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [0x4ef870]
mov dword [ebp - 0x50], eax
mov eax, dword [0x4ef858]
lea edi, [ebp - 0x54]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x54], eax
call fcn.0043a0e2
test al, al
jne 0x455db2
call fcn.00431223
push 0x4c9b54
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0040cca0
add esp, 0xc
mov edi, eax
and dword [ebp - 4], 0
call fcn.00431223
add eax, 0x1c
push eax
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00445839
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x455d74
mov eax, dword [eax + 4]
jmp 0x455d77
add eax, 4
push eax
push dword [ebp - 0x38]
call dword [sym.imp.libcurl32.dll_curl_slist_append]
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], eax
call fcn.00403db0
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x9c]
call fcn.00403db0
lea esi, [ebp - 0x44]
call fcn.00431b04
jmp 0x455d14
xor edi, edi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.0040492f
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov eax, dword [0x4eeb3c]
cmp eax, edi
je 0x455e04
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xb8]
push ecx
call eax
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403caa
push edi
push esi
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.00403db0
jmp 0x455e12
push 0xffffffffffffffff
push edi
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
call fcn.00403caa
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_reset]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
pop ecx
jae 0x455e26
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.libcurl32.dll_curl_easy_setopt]
push eax
push 0x2712
push ebx
call esi
add esp, 0xc
push edi
push 0x2714
push ebx
call esi
add esp, 0xc
push 5
push 0x4e
push ebx
call esi
add esp, 0xc
push 0x455f89
push 0x4e2b
push ebx
call esi
add esp, 0xc
push dword [ebp - 0x4c]
push 0x2711
push ebx
call esi
add esp, 0xc
push dword [ebp - 0x38]
push 0x2727
push ebx
call esi
add esp, 0xc
mov edi, 0x4c102f
push edi
push 0x272f
push ebx
call esi
add esp, 0xc
push edi
push 0x2776
push ebx
call esi
add esp, 0xc
push 1
push 0x34
push ebx
call esi
add esp, 0xc
cmp byte [0x4edfb9], 0
je 0x455ebe
push 0
push 0x40
push ebx
call esi
add esp, 0xc
push 0
push 0x51
push ebx
call esi
add esp, 0xc
cmp dword [0x4ea2bc], 0
je 0x455ee6
cmp dword [0x4ea2c0], 0x10
mov eax, dword [0x4ea2ac]
jae 0x455eda
mov eax, 0x4ea2ac
push eax
push 0x2751
push ebx
call esi
add esp, 0xc
cmp byte [0x4eea38], 0
je 0x455f17
mov edi, 0x4eea38
push edi
push 0x2762
push ebx
call esi
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x455f17
push edi
push 0x272f
push ebx
call esi
add esp, 0xc
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x18], 0x10
jb 0x455f25
mov eax, dword [eax + 4]
jmp 0x455f28
add eax, 4
xor edi, edi
push ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
call dword [sym.imp.libcurl32.dll_curl_easy_perform]
pop ecx
mov esi, eax
cmp dword [ebp - 0x38], edi
je 0x455f4f
push dword [ebp - 0x38]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp esi, edi
je 0x455f83
push esi
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
call fcn.00403d3c
mov byte [ebp - 0x31], 0
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.00403db0
mov al, byte [ebp - 0x31]
jmp 0x455ce2
mov byte [ebp - 0x31], 1
jmp 0x455f68