Function at 0x41dc47
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440244
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x451070]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x451070]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
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 0x41dca8
xor al, al
jmp 0x41e275
cmp eax, edi
je 0x41dcae
mov dword [eax], edi
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0041e95e
mov dword [esp + 0xf0], 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 0x41dd00
push str.easy_init_failed
mov ecx, esi
call fcn.004031e0
or dword [esp + 0xf0], 0xffffffff
mov esi, dword [esp + 0x24]
cmp esi, edi
je 0x41dca1
call fcn.00401000
jmp 0x41dca1
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x48]
cmp esi, dword [edi + 0x4c]
jbe 0x41dd11
call fcn.00426e5a
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 0x41dd36
call fcn.00426e5a
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x3c]
je 0x41dd4a
cmp dword [esp + 0x10], eax
je 0x41dd4f
call fcn.00426e5a
cmp dword [esp + 0x14], edi
je 0x41de5f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41dd8a
call fcn.00426e5a
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x41dd76
call fcn.00426e5a
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
je 0x41ddb6
cmp dword [esi - 0x24], 0x10
jb 0x41dd8e
mov ecx, dword [esi - 0x38]
jmp 0x41dd91
mov eax, dword [eax]
jmp 0x41dd68
lea ecx, [esi - 0x38]
cmp dword [esi + 0x14], 0x10
jb 0x41dd9b
mov eax, dword [esi]
jmp 0x41dd9d
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 0x41de31
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x1c], 0
jne 0x41de31
cmp dword [esi - 0xc], 0
jbe 0x41de05
cmp dword [esi - 0x24], 0x10
jb 0x41ddd1
mov ecx, dword [esi - 0x38]
jmp 0x41ddd4
lea ecx, [esi - 0x38]
cmp dword [esi - 8], 0x10
jb 0x41dddf
mov eax, dword [esi - 0x1c]
jmp 0x41dde2
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 0x41de31
cmp dword [esi - 0x24], 0x10
jb 0x41de10
mov eax, dword [esi - 0x38]
jmp 0x41de13
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 0x41de5b
call fcn.00426e5a
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x41de4e
call fcn.00426e5a
add dword [esp + 0x14], 0x60
add esi, 0x60
jmp 0x41dd25
mov eax, dword [eax]
jmp 0x41de40
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 [0x455ffc]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [0x455fe4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [0x455ffc]
mov dword [esp + 0x40], eax
mov eax, dword [0x455fe4]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x10]
mov dword [esp + 0x3c], eax
call fcn.004032a9
test al, al
jne 0x41df3a
call fcn.00406801
push 0x44767c
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0041a80a
add esp, 0xc
mov edi, eax
mov byte [esp + 0xf0], 1
call fcn.00406801
add eax, 0x1c
push eax
lea eax, [esp + 0x74]
push edi
push eax
call fcn.0041e8ef
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x41def7
mov eax, dword [eax + 4]
jmp 0x41defa
add eax, 4
push eax
push dword [esp + 0x1c]
call ebx
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], eax
call fcn.00401773
push 0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xf8], 0
call fcn.00401773
lea esi, [esp + 0x10]
call fcn.00409024
jmp 0x41de89
xor esi, esi
push esi
lea ecx, [esp + 0xac]
mov dword [esp + 0xc4], 0xf
call fcn.00401a35
mov byte [esp + 0xf0], 2
mov edi, dword [esp + 0x20]
cmp byte [edi + 0x1c], 0
je 0x41dfb7
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.0040a5d2
lea ecx, [esp + 0x74]
call fcn.0041db5e
add esp, 0x20
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfc], 3
call fcn.0040314e
push esi
push 1
lea ecx, [esp + 0x5c]
call fcn.00401773
push esi
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], 0xf
call fcn.00401a35
mov byte [esp + 0xf0], 4
mov eax, dword [0x4550ec]
cmp eax, esi
je 0x41e018
lea ecx, [esp + 0x54]
push edi
push ecx
call eax
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0xfc], 5
call fcn.0040314e
push esi
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 4
call fcn.00401773
jmp 0x41e028
push 0xffffffffffffffff
push esi
push edi
lea ecx, [esp + 0xd0]
call fcn.0040314e
mov ebx, dword [esp + 0x38]
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_reset]
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
pop ecx
jae 0x41e04c
lea eax, [esp + 0xc8]
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 0x41e299
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 0x445c4e
push 0x2776
push ebx
call esi
add esp, 0xc
cmp dword [esp + 0xbc], 0
je 0x41e0e3
cmp dword [esp + 0xc0], 0x10
mov eax, dword [esp + 0xac]
jae 0x41e0d7
lea eax, [esp + 0xac]
push eax
push 0x271f
push ebx
call esi
add esp, 0xc
cmp byte [0x455958], 0
je 0x41e10b
push 0x455958
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41e10b
push 0x455958
push 0x272f
push ebx
call esi
add esp, 0xc
cmp dword [edi + 0x34], 0
je 0x41e12b
cmp dword [edi + 0x38], 0x10
jb 0x41e11c
mov eax, dword [edi + 0x24]
jmp 0x41e11f
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 [0x454b7a], 0
je 0x41e152
push 0
push 0x40
push ebx
call esi
add esp, 0xc
push 0
push 0x51
push ebx
call esi
add esp, 0xc
cmp dword [0x452d10], 0
je 0x41e17a
cmp dword [0x452d14], 0x10
mov eax, dword [0x452d00]
jae 0x41e16e
mov eax, 0x452d00
push eax
push 0x2751
push ebx
call esi
add esp, 0xc
cmp dword [edi + 0x18], 0x10
jb 0x41e185
mov edi, dword [edi + 4]
jmp 0x41e188
add edi, 4
xor esi, esi
push ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call dword [sym.imp.libcurl32.dll_curl_easy_perform]
pop ecx
mov edi, eax
cmp dword [esp + 0x1c], esi
je 0x41e1b5
push dword [esp + 0x1c]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [esp + 0x18], esi
je 0x41e1c6
push dword [esp + 0x18]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp edi, esi
je 0x41e21d
push edi
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.004031e0
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push esi
push 1
lea ecx, [esp + 0xcc]
call fcn.00401773
push esi
push 1
lea ecx, [esp + 0xb0]
call fcn.00401773
or dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x24], esi
je 0x41dca1
mov esi, dword [esp + 0x24]
jmp 0x41dcf9
cmp dword [esp + 0x2c], esi
je 0x41e236
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 + 0xcc]
call fcn.00401773
push esi
push 1
lea ecx, [esp + 0xb0]
call fcn.00401773
or dword [esp + 0xf0], 0xffffffff
cmp dword [esp + 0x24], esi
je 0x41e273
mov esi, dword [esp + 0x24]
call fcn.00401000
mov al, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00426962
mov esp, ebp
pop ebp
ret