Function at 0x4563a7
Capabilities:
Check if file exists

Disassembly:
push 0xdc
mov eax, 0x4b4c7e
call fcn.004991ba
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], eax
cmp ecx, esi
jne 0x4563d7
xor al, al
jmp 0x456908
cmp eax, esi
je 0x4563dd
mov dword [eax], esi
push ecx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call fcn.00457027
mov dword [ebp - 4], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x6c], esi
call dword [sym.imp.libcurl32.dll_curl_easy_init]
mov dword [ebp - 0x80], eax
cmp eax, esi
jne 0x456422
push str.easy_init_failed
mov ecx, edi
call fcn.00403d3c
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
je 0x4563d0
mov esi, dword [ebp - 0x64]
call fcn.00401065
jmp 0x4563d0
mov edi, dword [ebp - 0x68]
push dword [edi + 0x48]
add edi, 0x3c
lea esi, [ebp - 0x60]
call fcn.0040c5c5
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ebx
add ebx, 0x40
push dword [edi + 0x10]
lea esi, [ebp - 0x74]
call fcn.0040c5c5
cmp dword [ebp - 0x60], 0
je 0x456455
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x74]
je 0x45645a
call fcn.00497df5
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x70]
je 0x456568
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x456494
call fcn.00497df5
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x456481
call fcn.00497df5
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0
je 0x4564c2
cmp dword [ebx - 0x24], 0x10
jb 0x456498
mov ecx, dword [ebx - 0x38]
jmp 0x45649b
mov eax, dword [esi]
jmp 0x456474
lea ecx, [ebx - 0x38]
cmp dword [ebx + 0x14], 0x10
jb 0x4564a5
mov eax, dword [ebx]
jmp 0x4564a7
mov eax, ebx
push 0x11
push ecx
push 1
push eax
push 0xa
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.libcurl32.dll_curl_formadd]
add esp, 0x1c
jmp 0x456540
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x1c], 0
jne 0x456540
cmp dword [ebx - 0xc], 0
jbe 0x456512
cmp dword [ebx - 0x24], 0x10
jb 0x4564dc
mov ecx, dword [ebx - 0x38]
jmp 0x4564df
lea ecx, [ebx - 0x38]
cmp dword [ebx - 8], 0x10
jb 0x4564ea
mov eax, dword [ebx - 0x1c]
jmp 0x4564ed
lea eax, [ebx - 0x1c]
push 0x11
push ecx
push 1
push dword [ebx + 0x1c]
push 0xd
push dword [ebx + 0x18]
push 0xc
push eax
push 0xe
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.libcurl32.dll_curl_formadd]
add esp, 0x2c
jmp 0x456540
cmp dword [ebx - 0x24], 0x10
jb 0x45651d
mov eax, dword [ebx - 0x38]
jmp 0x456520
lea eax, [ebx - 0x38]
push 0x11
push dword [ebx + 0x1c]
push 6
push dword [ebx + 0x18]
push 4
push eax
push 1
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.libcurl32.dll_curl_formadd]
add esp, 0x24
test esi, esi
jne 0x456564
call fcn.00497df5
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x456558
call fcn.00497df5
add dword [ebp - 0x50], 0x60
add ebx, 0x60
jmp 0x45643c
mov eax, dword [esi]
jmp 0x45654b
mov ebx, dword [sym.imp.libcurl32.dll_curl_slist_append]
push str.Expect:
push 0
call ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [0x4ef870]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [0x4ef858]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [0x4ef870]
mov dword [ebp - 0x70], eax
mov eax, dword [0x4ef858]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x54]
mov dword [ebp - 0x74], eax
call fcn.0043a0e2
test al, al
jne 0x456633
call fcn.00431223
push 0x4c9b54
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0040cca0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00431223
add eax, 0x1c
push eax
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.00445839
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4565f6
mov eax, dword [eax + 4]
jmp 0x4565f9
add eax, 4
push eax
push dword [ebp - 0x5c]
call ebx
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x5c], eax
call fcn.00403db0
push 0
push 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0
call fcn.00403db0
lea esi, [ebp - 0x54]
call fcn.00431b04
jmp 0x45658f
xor edi, edi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.0040492f
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x68]
cmp byte [esi + 0x1c], 0
je 0x45669d
push str.Content_Type:_application_x_www_form_urlencoded
push dword [ebp - 0x5c]
call ebx
sub esp, 0x18
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x50], esp
mov eax, esp
lea ecx, [esi + 0x54]
push ecx
push eax
call fcn.00423a8a
lea ecx, [ebp - 0xb0]
call fcn.004562be
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00403caa
push edi
push 1
lea ecx, [ebp - 0xb0]
call fcn.00403db0
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
call fcn.0040492f
mov byte [ebp - 4], 4
mov eax, dword [0x4eeb3c]
cmp eax, edi
je 0x4566ea
lea ecx, [ebp - 0xb0]
push esi
push ecx
call eax
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00403caa
push edi
push 1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00403db0
jmp 0x4566f6
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x4c]
call fcn.00403caa
mov edi, dword [ebp - 0x80]
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_reset]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
pop ecx
jae 0x45670d
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.libcurl32.dll_curl_easy_setopt]
push eax
push 0x2712
push edi
call esi
add esp, 0xc
push 0
push 0x2714
push edi
call esi
add esp, 0xc
push 5
push 0x4e
push edi
call esi
add esp, 0xc
push 0x45690e
push 0x4e2b
push edi
call esi
add esp, 0xc
push dword [ebp - 0x84]
push 0x2711
push edi
call esi
add esp, 0xc
push dword [ebp - 0x58]
push 0x2728
push edi
call esi
add esp, 0xc
push dword [ebp - 0x5c]
push 0x2727
push edi
call esi
add esp, 0xc
push 0x4c102f
push 0x2776
push edi
call esi
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4567a1
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x456795
lea eax, [ebp - 0x2c]
push eax
push 0x271f
push edi
call esi
add esp, 0xc
cmp byte [0x4eea38], 0
je 0x4567c6
mov ebx, 0x4eea38
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4567c6
push ebx
push 0x272f
push edi
call esi
add esp, 0xc
mov ebx, dword [ebp - 0x68]
cmp dword [ebx + 0x34], 0
je 0x4567e9
cmp dword [ebx + 0x38], 0x10
jb 0x4567da
mov eax, dword [ebx + 0x24]
jmp 0x4567dd
lea eax, [ebx + 0x24]
push eax
push 0x2734
push edi
call esi
add esp, 0xc
push 1
push 0x34
push edi
call esi
add esp, 0xc
cmp byte [0x4edfb9], 0
je 0x456810
push 0
push 0x40
push edi
call esi
add esp, 0xc
push 0
push 0x51
push edi
call esi
add esp, 0xc
cmp dword [0x4ea2bc], 0
je 0x456838
cmp dword [0x4ea2c0], 0x10
mov eax, dword [0x4ea2ac]
jae 0x45682c
mov eax, 0x4ea2ac
push eax
push 0x2751
push edi
call esi
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
jb 0x456843
mov eax, dword [ebx + 4]
jmp 0x456846
lea eax, [ebx + 4]
xor esi, esi
push edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], esi
call dword [sym.imp.libcurl32.dll_curl_easy_perform]
pop ecx
mov ebx, eax
cmp dword [ebp - 0x58], esi
je 0x456879
push dword [ebp - 0x58]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [ebp - 0x5c], esi
je 0x456888
push dword [ebp - 0x5c]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp ebx, esi
je 0x4568c0
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.00403d3c
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403db0
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.00403db0
jmp 0x45640f
cmp dword [ebp - 0x78], esi
je 0x4568d7
push dword [ebp - 0x78]
push 0x200002
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_getinfo]
add esp, 0xc
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403db0
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.00403db0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
je 0x456906
mov esi, dword [ebp - 0x64]
call fcn.00401065
mov al, 1
call fcn.0049923d
ret