Function at 0x10026f53
Capabilities:
Check if file exists

Disassembly:
push 0xd8
mov eax, 0x10043589
call fcn.1002ddda
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 0x10026f84
xor al, al
jmp 0x100274b3
cmp ecx, edi
je 0x10026f8a
mov dword [ecx], edi
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
call fcn.10027d22
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 0x10026fcd
push str.easy_init_failed
mov ecx, esi
call fcn.1000584c
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x5c]
cmp esi, edi
je 0x10026f7d
call fcn.1000108c
jmp 0x10026f7d
mov edi, dword [ebp - 0x60]
mov esi, dword [edi + 0x48]
cmp esi, dword [edi + 0x4c]
jbe 0x10026fdd
call fcn.1002d258
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 0x10026fff
call fcn.1002d258
cmp dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x3c]
je 0x10027010
cmp dword [ebp - 0x50], eax
je 0x10027015
call fcn.1002d258
cmp dword [ebp - 0x4c], edi
je 0x10027117
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x1002704c
call fcn.1002d258
xor eax, eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax + 0x10]
jb 0x10027039
call fcn.1002d258
mov eax, dword [ebp - 0x4c]
cmp byte [eax], 0
je 0x10027076
cmp dword [esi - 0x24], 0x10
jb 0x10027050
mov ecx, dword [esi - 0x38]
jmp 0x10027053
mov eax, dword [eax]
jmp 0x1002702c
lea ecx, [esi - 0x38]
cmp dword [esi + 0x14], 0x10
jb 0x1002705d
mov eax, dword [esi]
jmp 0x1002705f
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 0x100270ec
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x1c], 0
jne 0x100270ec
cmp dword [esi - 0xc], 0
jbe 0x100270c2
cmp dword [esi - 0x24], 0x10
jb 0x10027090
mov ecx, dword [esi - 0x38]
jmp 0x10027093
lea ecx, [esi - 0x38]
cmp dword [esi - 8], 0x10
jb 0x1002709e
mov eax, dword [esi - 0x1c]
jmp 0x100270a1
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 0x100270ec
cmp dword [esi - 0x24], 0x10
jb 0x100270cd
mov eax, dword [esi - 0x38]
jmp 0x100270d0
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 0x10027113
call fcn.1002d258
xor eax, eax
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax + 0x10]
jb 0x10027107
call fcn.1002d258
add dword [ebp - 0x4c], 0x60
add esi, 0x60
jmp 0x10026fef
mov eax, dword [eax]
jmp 0x100270fa
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 [0x100597c0]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [0x100597a8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [0x100597c0]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x100597a8]
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x50]
mov dword [ebp - 0x80], eax
call fcn.10018070
test al, al
jne 0x100271e2
call fcn.10017ff8
push 0x1004c1dc
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10013ef7
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 1
call fcn.10017ff8
add eax, 0x1c
push eax
lea eax, [ebp - 0xe4]
push edi
push eax
call fcn.10013f3d
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x100271a5
mov eax, dword [eax + 4]
jmp 0x100271a8
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.100058ba
push 0
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
call fcn.100058ba
lea esi, [ebp - 0x50]
call fcn.10012a18
jmp 0x1002713e
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.100066a4
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x60]
cmp byte [esi + 0x1c], 0
je 0x1002724b
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.100124d4
lea ecx, [ebp - 0xac]
call fcn.10026e6a
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.100057ba
push edi
push 1
lea ecx, [ebp - 0xac]
call fcn.100058ba
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.100066a4
mov byte [ebp - 4], 4
mov eax, dword [0x100592a4]
cmp eax, edi
je 0x10027298
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.100057ba
push edi
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.100058ba
jmp 0x100272a4
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x48]
call fcn.100057ba
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 0x100272bb
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 5
push 0x4e
push ebx
call esi
add esp, 0xc
push 0x100274b9
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 0x1004992b
push 0x2776
push ebx
call esi
add esp, 0xc
cmp dword [ebp - 0x18], edi
je 0x1002733e
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10027332
lea eax, [ebp - 0x28]
push eax
push 0x271f
push ebx
call esi
add esp, 0xc
cmp dword [ebp - 0x68], edi
je 0x1002734d
push dword [ebp - 0x68]
push 0x2762
jmp 0x1002736f
cmp byte [0x100591a0], 0
je 0x10027375
push 0x100591a0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10027375
push 0x100591a0
push 0x272f
push ebx
call esi
add esp, 0xc
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x34], edi
je 0x10027397
cmp dword [eax + 0x38], 0x10
jb 0x10027388
mov eax, dword [eax + 0x24]
jmp 0x1002738b
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 [0x10059198], 0
je 0x100273bc
push edi
push 0x40
push ebx
call esi
add esp, 0xc
push edi
push 0x51
push ebx
call esi
add esp, 0xc
cmp dword [0x10056f5c], edi
je 0x100273e3
cmp dword [0x10056f60], 0x10
mov eax, dword [0x10056f4c]
jae 0x100273d7
mov eax, 0x10056f4c
push eax
push 0x2751
push ebx
call esi
add esp, 0xc
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x18], 0x10
jb 0x100273f1
mov eax, dword [eax + 4]
jmp 0x100273f4
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 0x10027425
push dword [ebp - 0x58]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [ebp - 0x54], edi
je 0x10027434
push dword [ebp - 0x54]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp esi, edi
je 0x1002746c
push esi
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [ebp - 0x70]
push eax
call fcn.1000584c
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.100058ba
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100058ba
jmp 0x10026fbb
cmp dword [ebp - 0x6c], edi
je 0x10027483
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.100058ba
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100058ba
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x5c]
cmp esi, edi
je 0x100274b1
call fcn.1000108c
mov al, 1
call fcn.1002de5d
ret