Function at 0x419513
Capabilities:
Check if file exists

Disassembly:
push 0xdc
mov eax, 0x481c36
call fcn.0046908a
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 0x419543
xor al, al
jmp 0x419a74
cmp eax, esi
je 0x419549
mov dword [eax], esi
push ecx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call fcn.0041a4cf
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 0x41958e
push str.easy_init_failed
mov ecx, edi
call fcn.00404819
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
je 0x41953c
mov esi, dword [ebp - 0x64]
call fcn.004011e7
jmp 0x41953c
mov edi, dword [ebp - 0x68]
push dword [edi + 0x48]
add edi, 0x3c
lea esi, [ebp - 0x60]
call fcn.00408c9a
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ebx
add ebx, 0x40
push dword [edi + 0x10]
lea esi, [ebp - 0x74]
call fcn.00408c9a
cmp dword [ebp - 0x60], 0
je 0x4195c1
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x74]
je 0x4195c6
call fcn.00467c91
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x70]
je 0x4196d4
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x419600
call fcn.00467c91
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x4195ed
call fcn.00467c91
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0
je 0x41962e
cmp dword [ebx - 0x24], 0x10
jb 0x419604
mov ecx, dword [ebx - 0x38]
jmp 0x419607
mov eax, dword [esi]
jmp 0x4195e0
lea ecx, [ebx - 0x38]
cmp dword [ebx + 0x14], 0x10
jb 0x419611
mov eax, dword [ebx]
jmp 0x419613
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 0x4196ac
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x1c], 0
jne 0x4196ac
cmp dword [ebx - 0xc], 0
jbe 0x41967e
cmp dword [ebx - 0x24], 0x10
jb 0x419648
mov ecx, dword [ebx - 0x38]
jmp 0x41964b
lea ecx, [ebx - 0x38]
cmp dword [ebx - 8], 0x10
jb 0x419656
mov eax, dword [ebx - 0x1c]
jmp 0x419659
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 0x4196ac
cmp dword [ebx - 0x24], 0x10
jb 0x419689
mov eax, dword [ebx - 0x38]
jmp 0x41968c
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 0x4196d0
call fcn.00467c91
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x4196c4
call fcn.00467c91
add dword [ebp - 0x50], 0x60
add ebx, 0x60
jmp 0x4195a8
mov eax, dword [esi]
jmp 0x4196b7
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 [0x4a7b84]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [0x4a7b6c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [0x4a7b84]
mov dword [ebp - 0x70], eax
mov eax, dword [0x4a7b6c]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x54]
mov dword [ebp - 0x74], eax
call fcn.00405d80
test al, al
jne 0x41979f
call fcn.0041667d
push 0x48b404
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0041a41a
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 1
call fcn.0041667d
add eax, 0x1c
push eax
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.0041a460
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x419762
mov eax, dword [eax + 4]
jmp 0x419765
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.0040488d
push 0
push 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0
call fcn.0040488d
lea esi, [ebp - 0x54]
call fcn.00408965
jmp 0x4196fb
xor edi, edi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.00404bdf
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x68]
cmp byte [esi + 0x1c], 0
je 0x419809
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.0040463a
lea ecx, [ebp - 0xb0]
call fcn.0041942a
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00404787
push edi
push 1
lea ecx, [ebp - 0xb0]
call fcn.0040488d
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
call fcn.00404bdf
mov byte [ebp - 4], 4
mov eax, dword [0x4a71e4]
cmp eax, edi
je 0x419856
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.00404787
push edi
push 1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.0040488d
jmp 0x419862
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x4c]
call fcn.00404787
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 0x419879
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 0x419a7a
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 0x488f6b
push 0x2776
push edi
call esi
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x41990d
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x419901
lea eax, [ebp - 0x2c]
push eax
push 0x271f
push edi
call esi
add esp, 0xc
cmp byte [0x4a70e0], 0
je 0x419932
mov ebx, 0x4a70e0
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x419932
push ebx
push 0x272f
push edi
call esi
add esp, 0xc
mov ebx, dword [ebp - 0x68]
cmp dword [ebx + 0x34], 0
je 0x419955
cmp dword [ebx + 0x38], 0x10
jb 0x419946
mov eax, dword [ebx + 0x24]
jmp 0x419949
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 [0x4a70d8], 0
je 0x41997c
push 0
push 0x40
push edi
call esi
add esp, 0xc
push 0
push 0x51
push edi
call esi
add esp, 0xc
cmp dword [0x4a4138], 0
je 0x4199a4
cmp dword [0x4a413c], 0x10
mov eax, dword [0x4a4128]
jae 0x419998
mov eax, 0x4a4128
push eax
push 0x2751
push edi
call esi
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
jb 0x4199af
mov eax, dword [ebx + 4]
jmp 0x4199b2
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 0x4199e5
push dword [ebp - 0x58]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [ebp - 0x5c], esi
je 0x4199f4
push dword [ebp - 0x5c]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp ebx, esi
je 0x419a2c
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.00404819
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040488d
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.0040488d
jmp 0x41957b
cmp dword [ebp - 0x78], esi
je 0x419a43
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.0040488d
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.0040488d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
je 0x419a72
mov esi, dword [ebp - 0x64]
call fcn.004011e7
mov al, 1
call fcn.0046910d
ret