Function at 0x10027a32
Capabilities:
Check if file exists

Disassembly:
push 0xd8
mov eax, 0x10044aec
call fcn.1002f38a
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
cmp eax, edi
jne 0x10027a63
xor al, al
jmp 0x10027f9e
cmp ecx, edi
je 0x10027a69
mov dword [ecx], edi
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
call fcn.1002880d
mov dword [ebp - 4], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x64], edi
call dword [sym.imp.libcurl32.dll_curl_easy_init]
mov dword [ebp - 0x74], eax
cmp eax, edi
jne 0x10027aac
push str.easy_init_failed
mov ecx, esi
call fcn.10005b52
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x5c]
cmp esi, edi
je 0x10027a5c
call fcn.1000108c
jmp 0x10027a5c
mov edi, dword [ebp - 0x60]
mov esi, dword [edi + 0x48]
cmp esi, dword [edi + 0x4c]
jbe 0x10027abc
call fcn.1002e810
mov eax, dword [edi + 0x3c]
mov ebx, dword [sym.imp.libcurl32.dll_curl_formadd]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], eax
add esi, 0x40
mov eax, dword [ebp - 0x60]
mov edi, dword [eax + 0x4c]
cmp dword [eax + 0x48], edi
jbe 0x10027ade
call fcn.1002e810
cmp dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x3c]
je 0x10027aef
cmp dword [ebp - 0x50], eax
je 0x10027af4
call fcn.1002e810
cmp dword [ebp - 0x4c], edi
je 0x10027bf6
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x10027b2b
call fcn.1002e810
xor eax, eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax + 0x10]
jb 0x10027b18
call fcn.1002e810
mov eax, dword [ebp - 0x4c]
cmp byte [eax], 0
je 0x10027b55
cmp dword [esi - 0x24], 0x10
jb 0x10027b2f
mov ecx, dword [esi - 0x38]
jmp 0x10027b32
mov eax, dword [eax]
jmp 0x10027b0b
lea ecx, [esi - 0x38]
cmp dword [esi + 0x14], 0x10
jb 0x10027b3c
mov eax, dword [esi]
jmp 0x10027b3e
mov eax, esi
push 0x11
push ecx
push 1
push eax
push 0xa
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
call ebx
add esp, 0x1c
jmp 0x10027bcb
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x1c], 0
jne 0x10027bcb
cmp dword [esi - 0xc], 0
jbe 0x10027ba1
cmp dword [esi - 0x24], 0x10
jb 0x10027b6f
mov ecx, dword [esi - 0x38]
jmp 0x10027b72
lea ecx, [esi - 0x38]
cmp dword [esi - 8], 0x10
jb 0x10027b7d
mov eax, dword [esi - 0x1c]
jmp 0x10027b80
lea eax, [esi - 0x1c]
push 0x11
push ecx
push 1
push dword [esi + 0x1c]
push 0xd
push dword [esi + 0x18]
push 0xc
push eax
push 0xe
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
call ebx
add esp, 0x2c
jmp 0x10027bcb
cmp dword [esi - 0x24], 0x10
jb 0x10027bac
mov eax, dword [esi - 0x38]
jmp 0x10027baf
lea eax, [esi - 0x38]
push 0x11
push dword [esi + 0x1c]
push 6
push dword [esi + 0x18]
push 4
push eax
push 1
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x58]
push eax
call ebx
add esp, 0x24
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x10027bf2
call fcn.1002e810
xor eax, eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax + 0x10]
jb 0x10027be6
call fcn.1002e810
add dword [ebp - 0x4c], 0x60
add esi, 0x60
jmp 0x10027ace
mov eax, dword [eax]
jmp 0x10027bd9
mov ebx, dword [sym.imp.libcurl32.dll_curl_slist_append]
push str.Expect:
push 0
call ebx
mov dword [ebp - 0x54], eax
mov eax, dword [0x1005c8c0]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [0x1005c8a8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [0x1005c8c0]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x1005c8a8]
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x50]
mov dword [ebp - 0x80], eax
call fcn.1001652a
test al, al
jne 0x10027cc1
call fcn.1000cb79
push 0x1004e3a4
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10014473
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 1
call fcn.1000cb79
add eax, 0x1c
push eax
lea eax, [ebp - 0xe4]
push edi
push eax
call fcn.100144b9
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x10027c84
mov eax, dword [eax + 4]
jmp 0x10027c87
add eax, 4
push eax
push dword [ebp - 0x54]
call ebx
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x54], eax
call fcn.10005c5b
push 0
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
call fcn.10005c5b
lea esi, [ebp - 0x50]
call fcn.10012f09
jmp 0x10027c1d
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.10006a21
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x60]
cmp byte [esi + 0x1c], 0
je 0x10027d2a
push str.Content_Type:_application_x_www_form_urlencoded
push dword [ebp - 0x54]
call ebx
sub esp, 0x18
mov dword [ebp - 0x54], eax
mov eax, esp
mov dword [ebp - 0x4c], esp
lea ecx, [esi + 0x54]
push eax
call fcn.100129c5
lea ecx, [ebp - 0xac]
call fcn.10027949
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10005ac0
push edi
push 1
lea ecx, [ebp - 0xac]
call fcn.10005c5b
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.10006a21
mov byte [ebp - 4], 4
mov eax, dword [0x1005c3a4]
cmp eax, edi
je 0x10027d77
lea ecx, [ebp - 0xac]
push esi
push ecx
call eax
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.10005ac0
push edi
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.10005c5b
jmp 0x10027d83
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x48]
call fcn.10005ac0
mov ebx, dword [ebp - 0x74]
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_reset]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
pop ecx
jae 0x10027d9a
lea eax, [ebp - 0x44]
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 0x10027fa4
push 0x4e2b
push ebx
call esi
add esp, 0xc
push dword [ebp - 0x78]
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 - 0x54]
push 0x2727
push ebx
call esi
add esp, 0xc
push 0x1004b92b
push 0x2776
push ebx
call esi
add esp, 0xc
cmp dword [ebp - 0x18], edi
je 0x10027e29
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10027e1d
lea eax, [ebp - 0x28]
push eax
push 0x271f
push ebx
call esi
add esp, 0xc
cmp dword [ebp - 0x68], edi
je 0x10027e38
push dword [ebp - 0x68]
push 0x2762
jmp 0x10027e5a
cmp byte [0x1005c2a0], 0
je 0x10027e60
push 0x1005c2a0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10027e60
push 0x1005c2a0
push 0x272f
push ebx
call esi
add esp, 0xc
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x34], edi
je 0x10027e82
cmp dword [eax + 0x38], 0x10
jb 0x10027e73
mov eax, dword [eax + 0x24]
jmp 0x10027e76
add eax, 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 [0x1005c29c], 0
je 0x10027ea7
push edi
push 0x40
push ebx
call esi
add esp, 0xc
push edi
push 0x51
push ebx
call esi
add esp, 0xc
cmp dword [0x1005a060], edi
je 0x10027ece
cmp dword [0x1005a064], 0x10
mov eax, dword [0x1005a050]
jae 0x10027ec2
mov eax, 0x1005a050
push eax
push 0x2751
push ebx
call esi
add esp, 0xc
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x18], 0x10
jb 0x10027edc
mov eax, dword [eax + 4]
jmp 0x10027edf
add eax, 4
push ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], edi
call dword [sym.imp.libcurl32.dll_curl_easy_perform]
pop ecx
mov esi, eax
cmp dword [ebp - 0x58], edi
je 0x10027f10
push dword [ebp - 0x58]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [ebp - 0x54], edi
je 0x10027f1f
push dword [ebp - 0x54]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp esi, edi
je 0x10027f57
push esi
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [ebp - 0x70]
push eax
call fcn.10005b52
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10005c5b
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005c5b
jmp 0x10027a9a
cmp dword [ebp - 0x6c], edi
je 0x10027f6e
push dword [ebp - 0x6c]
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 edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10005c5b
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005c5b
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x5c]
cmp esi, edi
je 0x10027f9c
call fcn.1000108c
mov al, 1
call fcn.1002f40d
ret