Function at 0x41c371
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43eae1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x44e060]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x44e060]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
cmp ecx, edi
jne 0x41c3d2
xor al, al
jmp 0x41c997
cmp eax, edi
je 0x41c3d8
mov dword [eax], edi
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0041d0b0
mov dword [esp + 0xe8], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.libcurl32.dll_curl_easy_init]
mov dword [esp + 0x38], eax
cmp eax, edi
jne 0x41c42a
push str.easy_init_failed
mov ecx, esi
call fcn.0040259b
or dword [esp + 0xe8], 0xffffffff
mov esi, dword [esp + 0x24]
cmp esi, edi
je 0x41c3cb
call fcn.00401000
jmp 0x41c3cb
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x48]
cmp esi, dword [edi + 0x4c]
jbe 0x41c43b
call fcn.004256fa
mov eax, dword [edi + 0x3c]
mov ebx, dword [sym.imp.libcurl32.dll_curl_formadd]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
add esi, 0x40
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x4c]
cmp dword [eax + 0x48], edi
jbe 0x41c460
call fcn.004256fa
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x3c]
je 0x41c474
cmp dword [esp + 0x10], eax
je 0x41c479
call fcn.004256fa
cmp dword [esp + 0x14], edi
je 0x41c589
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41c4b4
call fcn.004256fa
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x41c4a0
call fcn.004256fa
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
je 0x41c4e0
cmp dword [esi - 0x24], 0x10
jb 0x41c4b8
mov ecx, dword [esi - 0x38]
jmp 0x41c4bb
mov eax, dword [eax]
jmp 0x41c492
lea ecx, [esi - 0x38]
cmp dword [esi + 0x14], 0x10
jb 0x41c4c5
mov eax, dword [esi]
jmp 0x41c4c7
mov eax, esi
push 0x11
push ecx
push 1
push eax
push 0xa
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
push eax
call ebx
add esp, 0x1c
jmp 0x41c55b
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x1c], 0
jne 0x41c55b
cmp dword [esi - 0xc], 0
jbe 0x41c52f
cmp dword [esi - 0x24], 0x10
jb 0x41c4fb
mov ecx, dword [esi - 0x38]
jmp 0x41c4fe
lea ecx, [esi - 0x38]
cmp dword [esi - 8], 0x10
jb 0x41c509
mov eax, dword [esi - 0x1c]
jmp 0x41c50c
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, [esp + 0x4c]
push eax
lea eax, [esp + 0x44]
push eax
call ebx
add esp, 0x2c
jmp 0x41c55b
cmp dword [esi - 0x24], 0x10
jb 0x41c53a
mov eax, dword [esi - 0x38]
jmp 0x41c53d
lea eax, [esi - 0x38]
push 0x11
push dword [esi + 0x1c]
push 6
push dword [esi + 0x18]
push 4
push eax
push 1
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x3c]
push eax
call ebx
add esp, 0x24
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41c585
call fcn.004256fa
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x41c578
call fcn.004256fa
add dword [esp + 0x14], 0x60
add esi, 0x60
jmp 0x41c44f
mov eax, dword [eax]
jmp 0x41c56a
mov ebx, dword [sym.imp.libcurl32.dll_curl_slist_append]
push str.Expect:
push 0
call ebx
mov dword [esp + 0x20], eax
mov eax, dword [0x452f94]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [0x452f7c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [0x452f94]
mov dword [esp + 0x40], eax
mov eax, dword [0x452f7c]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x10]
mov dword [esp + 0x3c], eax
call fcn.00409824
test al, al
jne 0x41c664
call fcn.00402e4d
push 0x4452cc
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.00419765
add esp, 0xc
mov edi, eax
mov byte [esp + 0xe8], 1
call fcn.00402e4d
add eax, 0x1c
push eax
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.0041d041
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x41c621
mov eax, dword [eax + 4]
jmp 0x41c624
add eax, 4
push eax
push dword [esp + 0x1c]
call ebx
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x70]
mov dword [esp + 0x20], eax
call fcn.00402609
push 0
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf0], 0
call fcn.00402609
lea esi, [esp + 0x10]
call fcn.004080d3
jmp 0x41c5b3
xor esi, esi
push esi
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], 0xf
call fcn.00402b98
mov byte [esp + 0xe8], 2
mov edi, dword [esp + 0x20]
cmp byte [edi + 0x1c], 0
je 0x41c6e1
push str.Content_Type:_application_x_www_form_urlencoded
push dword [esp + 0x1c]
call ebx
sub esp, 0x18
mov dword [esp + 0x38], eax
mov eax, esp
mov dword [esp + 0x30], esp
lea ecx, [edi + 0x54]
push eax
call fcn.0040956b
lea ecx, [esp + 0x6c]
call fcn.0041c288
add esp, 0x20
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0xf4], 3
call fcn.00402509
push esi
push 1
lea ecx, [esp + 0x54]
call fcn.00402609
push esi
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], 0xf
call fcn.00402b98
mov byte [esp + 0xe8], 4
mov eax, dword [0x4520c4]
cmp eax, esi
je 0x41c742
lea ecx, [esp + 0x4c]
push edi
push ecx
call eax
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0xf4], 5
call fcn.00402509
push esi
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xf0], 4
call fcn.00402609
jmp 0x41c752
push 0xffffffffffffffff
push esi
push edi
lea ecx, [esp + 0xc8]
call fcn.00402509
mov ebx, dword [esp + 0x38]
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_reset]
cmp dword [esp + 0xd8], 0x10
mov eax, dword [esp + 0xc4]
pop ecx
jae 0x41c776
lea eax, [esp + 0xc0]
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 0x41c9bb
push 0x4e2b
push ebx
call esi
add esp, 0xc
push dword [esp + 0x34]
push 0x2711
push ebx
call esi
add esp, 0xc
push dword [esp + 0x1c]
push 0x2728
push ebx
call esi
add esp, 0xc
push dword [esp + 0x18]
push 0x2727
push ebx
call esi
add esp, 0xc
push 0x443b60
push 0x2776
push ebx
call esi
add esp, 0xc
cmp dword [esp + 0xb4], 0
je 0x41c80d
cmp dword [esp + 0xb8], 0x10
mov eax, dword [esp + 0xa4]
jae 0x41c801
lea eax, [esp + 0xa4]
push eax
push 0x271f
push ebx
call esi
add esp, 0xc
cmp byte [0x4526e0], 0
je 0x41c835
push 0x4526e0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41c835
push 0x4526e0
push 0x272f
push ebx
call esi
add esp, 0xc
cmp dword [edi + 0x34], 0
je 0x41c855
cmp dword [edi + 0x38], 0x10
jb 0x41c846
mov eax, dword [edi + 0x24]
jmp 0x41c849
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 [0x451b52], 0
je 0x41c87c
push 0
push 0x40
push ebx
call esi
add esp, 0xc
push 0
push 0x51
push ebx
call esi
add esp, 0xc
cmp dword [0x44fcf8], 0
je 0x41c8a4
cmp dword [0x44fcfc], 0x10
mov eax, dword [0x44fce8]
jae 0x41c898
mov eax, 0x44fce8
push eax
push 0x2751
push ebx
call esi
add esp, 0xc
cmp dword [edi + 0x18], 0x10
jb 0x41c8af
mov edi, dword [edi + 4]
jmp 0x41c8b2
add edi, 4
xor esi, esi
push ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
call dword [sym.imp.libcurl32.dll_curl_easy_perform]
pop ecx
mov edi, eax
cmp dword [esp + 0x1c], esi
je 0x41c8d7
push dword [esp + 0x1c]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [esp + 0x18], esi
je 0x41c8e8
push dword [esp + 0x18]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp edi, esi
je 0x41c93f
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.0040259b
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push esi
push 1
lea ecx, [esp + 0xc4]
call fcn.00402609
push esi
push 1
lea ecx, [esp + 0xa8]
call fcn.00402609
or dword [esp + 0xe8], 0xffffffff
cmp dword [esp + 0x24], esi
je 0x41c3cb
mov esi, dword [esp + 0x24]
jmp 0x41c423
cmp dword [esp + 0x2c], esi
je 0x41c958
push dword [esp + 0x2c]
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, [esp + 0xc4]
call fcn.00402609
push esi
push 1
lea ecx, [esp + 0xa8]
call fcn.00402609
or dword [esp + 0xe8], 0xffffffff
cmp dword [esp + 0x24], esi
je 0x41c995
mov esi, dword [esp + 0x24]
call fcn.00401000
mov al, 1
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0042515e
mov esp, ebp
pop ebp
ret