Function at 0x42c524
Capabilities:
Check if file exists

Disassembly:
push 0xdc
mov eax, 0x4ad0e2
call fcn.0049174a
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 0x42c554
xor al, al
jmp 0x42ca78
cmp eax, esi
je 0x42c55a
mov dword [eax], esi
push ecx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call fcn.0042d1ea
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 0x42c59f
push str.easy_init_failed
mov ecx, edi
call fcn.00402a23
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
je 0x42c54d
mov esi, dword [ebp - 0x64]
call fcn.004011af
jmp 0x42c54d
mov edi, dword [ebp - 0x68]
push dword [edi + 0x48]
add edi, 0x3c
lea esi, [ebp - 0x60]
call fcn.0042015e
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ebx
add ebx, 0x40
push dword [edi + 0x10]
lea esi, [ebp - 0x74]
call fcn.0042015e
cmp dword [ebp - 0x60], 0
je 0x42c5d2
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x74]
je 0x42c5d7
call fcn.00490386
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x70]
je 0x42c6e5
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x42c611
call fcn.00490386
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x42c5fe
call fcn.00490386
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0
je 0x42c63f
cmp dword [ebx - 0x24], 0x10
jb 0x42c615
mov ecx, dword [ebx - 0x38]
jmp 0x42c618
mov eax, dword [esi]
jmp 0x42c5f1
lea ecx, [ebx - 0x38]
cmp dword [ebx + 0x14], 0x10
jb 0x42c622
mov eax, dword [ebx]
jmp 0x42c624
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 0x42c6bd
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x1c], 0
jne 0x42c6bd
cmp dword [ebx - 0xc], 0
jbe 0x42c68f
cmp dword [ebx - 0x24], 0x10
jb 0x42c659
mov ecx, dword [ebx - 0x38]
jmp 0x42c65c
lea ecx, [ebx - 0x38]
cmp dword [ebx - 8], 0x10
jb 0x42c667
mov eax, dword [ebx - 0x1c]
jmp 0x42c66a
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 0x42c6bd
cmp dword [ebx - 0x24], 0x10
jb 0x42c69a
mov eax, dword [ebx - 0x38]
jmp 0x42c69d
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 0x42c6e1
call fcn.00490386
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x42c6d5
call fcn.00490386
add dword [ebp - 0x50], 0x60
add ebx, 0x60
jmp 0x42c5b9
mov eax, dword [esi]
jmp 0x42c6c8
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 [0x4e4390]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [0x4e4378]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [0x4e4390]
mov dword [ebp - 0x70], eax
mov eax, dword [0x4e4378]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x54]
mov dword [ebp - 0x74], eax
call fcn.00429373
test al, al
jne 0x42c7b0
call fcn.00429348
push 0x4bdbc4
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0040bea3
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00429348
add eax, 0x1c
push eax
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.0042d17b
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x42c773
mov eax, dword [eax + 4]
jmp 0x42c776
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.00402abb
push 0
push 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0
call fcn.00402abb
lea esi, [ebp - 0x54]
call fcn.0040654a
jmp 0x42c70c
xor esi, esi
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.00402ff0
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x68]
cmp byte [edi + 0x1c], 0
je 0x42c81a
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, [edi + 0x54]
push ecx
push eax
call fcn.0041ba16
lea ecx, [ebp - 0xb0]
call fcn.0042c43b
add esp, 0x20
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00402991
push esi
push 1
lea ecx, [ebp - 0xb0]
call fcn.00402abb
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
call fcn.00402ff0
mov byte [ebp - 4], 4
mov eax, dword [0x4e3254]
cmp eax, esi
je 0x42c867
lea ecx, [ebp - 0xb0]
push edi
push ecx
call eax
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00402991
push esi
push 1
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00402abb
jmp 0x42c873
push 0xffffffffffffffff
push esi
push edi
lea ecx, [ebp - 0x4c]
call fcn.00402991
mov ebx, dword [ebp - 0x80]
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_reset]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
pop ecx
jae 0x42c88a
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.libcurl32.dll_curl_easy_setopt]
push eax
push 0x2712
push ebx
call esi
add esp, 0xc
push 5
push 0x4e
push ebx
call esi
add esp, 0xc
push 0x42ca7e
push 0x4e2b
push ebx
call esi
add esp, 0xc
push dword [ebp - 0x84]
push 0x2711
push ebx
call esi
add esp, 0xc
push dword [ebp - 0x58]
push 0x2728
push ebx
call esi
add esp, 0xc
push dword [ebp - 0x5c]
push 0x2727
push ebx
call esi
add esp, 0xc
push 0x4b8448
push 0x2776
push ebx
call esi
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x42c911
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42c905
lea eax, [ebp - 0x2c]
push eax
push 0x271f
push ebx
call esi
add esp, 0xc
cmp byte [0x4e3150], 0
je 0x42c939
push 0x4e3150
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42c939
push 0x4e3150
push 0x272f
push ebx
call esi
add esp, 0xc
cmp dword [edi + 0x34], 0
je 0x42c959
cmp dword [edi + 0x38], 0x10
jb 0x42c94a
mov eax, dword [edi + 0x24]
jmp 0x42c94d
lea eax, [edi + 0x24]
push eax
push 0x2734
push ebx
call esi
add esp, 0xc
push 1
push 0x34
push ebx
call esi
add esp, 0xc
cmp byte [0x4e2e55], 0
je 0x42c980
push 0
push 0x40
push ebx
call esi
add esp, 0xc
push 0
push 0x51
push ebx
call esi
add esp, 0xc
cmp dword [0x4df2a4], 0
je 0x42c9a8
cmp dword [0x4df2a8], 0x10
mov eax, dword [0x4df294]
jae 0x42c99c
mov eax, 0x4df294
push eax
push 0x2751
push ebx
call esi
add esp, 0xc
cmp dword [edi + 0x18], 0x10
jb 0x42c9b3
mov edi, dword [edi + 4]
jmp 0x42c9b6
add edi, 4
xor esi, esi
push ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], esi
call dword [sym.imp.libcurl32.dll_curl_easy_perform]
pop ecx
mov edi, eax
cmp dword [ebp - 0x58], esi
je 0x42c9e9
push dword [ebp - 0x58]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [ebp - 0x5c], esi
je 0x42c9f8
push dword [ebp - 0x5c]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp edi, esi
je 0x42ca30
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.00402a23
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00402abb
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.00402abb
jmp 0x42c58c
cmp dword [ebp - 0x78], esi
je 0x42ca47
push dword [ebp - 0x78]
push 0x200002
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_getinfo]
add esp, 0xc
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00402abb
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.00402abb
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
je 0x42ca76
mov esi, dword [ebp - 0x64]
call fcn.004011af
mov al, 1
call fcn.004917cd
ret