Function at 0x4733bd
Capabilities:
Check if file exists

Disassembly:
push 0xdc
mov eax, 0x49836b
call fcn.0047e89a
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 0x4733ed
xor al, al
jmp 0x47395d
cmp eax, esi
je 0x4733f3
mov dword [eax], esi
push ecx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
call fcn.0047436c
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 0x473438
push str.easy_init_failed
mov ecx, edi
call fcn.004041d0
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x64], esi
je 0x4733e6
mov esi, dword [ebp - 0x64]
call fcn.00401040
jmp 0x4733e6
mov edi, dword [ebp - 0x68]
push dword [edi + 0x48]
add edi, 0x3c
lea esi, [ebp - 0x60]
call fcn.00473f0d
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ebx
add ebx, 0x40
push dword [edi + 0x10]
lea esi, [ebp - 0x74]
call fcn.00473f0d
cmp dword [ebp - 0x60], 0
je 0x47346b
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x74]
je 0x473470
call fcn.0047db04
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x70]
je 0x47357e
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x4734aa
call fcn.0047db04
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x473497
call fcn.0047db04
mov eax, dword [ebp - 0x50]
cmp byte [eax], 0
je 0x4734d8
cmp dword [ebx - 0x24], 0x10
jb 0x4734ae
mov ecx, dword [ebx - 0x38]
jmp 0x4734b1
mov eax, dword [esi]
jmp 0x47348a
lea ecx, [ebx - 0x38]
cmp dword [ebx + 0x14], 0x10
jb 0x4734bb
mov eax, dword [ebx]
jmp 0x4734bd
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 0x473556
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x1c], 0
jne 0x473556
cmp dword [ebx - 0xc], 0
jbe 0x473528
cmp dword [ebx - 0x24], 0x10
jb 0x4734f2
mov ecx, dword [ebx - 0x38]
jmp 0x4734f5
lea ecx, [ebx - 0x38]
cmp dword [ebx - 8], 0x10
jb 0x473500
mov eax, dword [ebx - 0x1c]
jmp 0x473503
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 0x473556
cmp dword [ebx - 0x24], 0x10
jb 0x473533
mov eax, dword [ebx - 0x38]
jmp 0x473536
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 0x47357a
call fcn.0047db04
xor eax, eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x10]
jb 0x47356e
call fcn.0047db04
add dword [ebp - 0x50], 0x60
add ebx, 0x60
jmp 0x473452
mov eax, dword [esi]
jmp 0x473561
push str.Expect:
push 0
call dword [sym.imp.libcurl32.dll_curl_slist_append]
pop ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [0x4c44b0]
mov eax, dword [eax]
pop ecx
mov ecx, dword [0x4c4498]
mov dword [ebp - 0x54], ecx
mov ebx, eax
mov dword [ebp - 0x50], ebx
mov eax, dword [0x4c44b0]
mov dword [ebp - 0x70], eax
mov eax, dword [0x4c4498]
lea esi, [ebp - 0x74]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x74], eax
call fcn.004166b0
test al, al
je 0x47368d
mov esi, edi
call fcn.00463da9
push 0x4ae8dc
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00470dcb
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00463da9
add eax, 0x1c
push eax
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.004651a7
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x47360e
mov eax, dword [eax + 4]
jmp 0x473611
add eax, 4
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.libcurl32.dll_curl_slist_append]
pop ecx
pop ecx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x5c], eax
call fcn.00403df0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0
call fcn.00403df0
cmp dword [ebp - 0x54], 0
jne 0x473645
call fcn.0047db04
cmp byte [ebx + 0x45], 0
je 0x473655
call fcn.0047db04
jmp 0x4735a5
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x45], 0
je 0x473665
mov eax, dword [ebx + 4]
jmp 0x473682
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x473663
mov ebx, ecx
jmp 0x4735a2
cmp ebx, dword [eax + 8]
jne 0x4735a0
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x473674
jmp 0x4735a0
push 0xf
pop edi
xor esi, esi
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], edi
call fcn.004048e0
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x68]
cmp byte [ebx + 0x1c], 0
je 0x4736f7
push str.Content_Type:_application_x_www_form_urlencoded
push dword [ebp - 0x5c]
call dword [sym.imp.libcurl32.dll_curl_slist_append]
sub esp, 0x18
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x50], esp
mov eax, esp
lea ecx, [ebx + 0x54]
push ecx
push eax
call fcn.00411680
lea ecx, [ebp - 0xb0]
call fcn.00473295
add esp, 0x20
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004040f0
lea ecx, [ebp - 0xb0]
call fcn.00403df0
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], edi
call fcn.004048e0
mov byte [ebp - 4], 4
mov eax, dword [0x4c3b64]
cmp eax, esi
je 0x47373d
lea ecx, [ebp - 0xb0]
push ebx
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.004040f0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00403df0
jmp 0x473749
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x4c]
call fcn.004040f0
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 0x473760
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 0x473963
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 0x4a16c8
push 0x2776
push edi
call esi
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4737f4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4737e8
lea eax, [ebp - 0x2c]
push eax
push 0x271f
push edi
call esi
add esp, 0xc
cmp byte [0x4c3a60], 0
je 0x47381c
push 0x4c3a60
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x47381c
push 0x4c3a60
push 0x272f
push edi
call esi
add esp, 0xc
cmp dword [ebx + 0x34], 0
je 0x47383c
cmp dword [ebx + 0x38], 0x10
jb 0x47382d
mov eax, dword [ebx + 0x24]
jmp 0x473830
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 [0x4c3159], 0
je 0x473863
push 0
push 0x40
push edi
call esi
add esp, 0xc
push 0
push 0x51
push edi
call esi
add esp, 0xc
cmp dword [0x4c0400], 0
je 0x47388b
cmp dword [0x4c0404], 0x10
mov eax, dword [0x4c03f0]
jae 0x47387f
mov eax, 0x4c03f0
push eax
push 0x2751
push edi
call esi
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
jb 0x473896
mov ebx, dword [ebx + 4]
jmp 0x473899
add ebx, 4
mov dword [ebp - 0x90], ebx
xor ebx, ebx
push edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call dword [sym.imp.libcurl32.dll_curl_easy_perform]
pop ecx
mov esi, eax
cmp dword [ebp - 0x58], ebx
je 0x4738cc
push dword [ebp - 0x58]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [ebp - 0x5c], ebx
je 0x4738db
push dword [ebp - 0x5c]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp esi, ebx
je 0x47391c
push esi
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.004041d0
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.00403df0
lea ecx, [ebp - 0x30]
call fcn.00403df0
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
cmp esi, ebx
je 0x4733e6
jmp 0x473431
cmp dword [ebp - 0x78], ebx
je 0x473933
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
lea ecx, [ebp - 0x4c]
call fcn.00403df0
lea ecx, [ebp - 0x30]
call fcn.00403df0
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x64]
cmp esi, ebx
je 0x47395b
call fcn.00401040
mov al, 1
call fcn.0047e91d
ret