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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442bdd
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x454070]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x454070]
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 0x41de0f
xor al, al
jmp 0x41e3d1
cmp eax, edi
je 0x41de15
mov dword [eax], edi
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0041eb02
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 0x41de67
push str.easy_init_failed
mov ecx, esi
call fcn.0040315d
or dword [esp + 0xf0], 0xffffffff
mov esi, dword [esp + 0x24]
cmp esi, edi
je 0x41de08
call fcn.00401000
jmp 0x41de08
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x48]
cmp esi, dword [edi + 0x4c]
jbe 0x41de78
call fcn.004296fa
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 0x41de9d
call fcn.004296fa
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x3c]
je 0x41deb1
cmp dword [esp + 0x10], eax
je 0x41deb6
call fcn.004296fa
cmp dword [esp + 0x14], edi
je 0x41dfc6
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41def1
call fcn.004296fa
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x41dedd
call fcn.004296fa
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
je 0x41df1d
cmp dword [esi - 0x24], 0x10
jb 0x41def5
mov ecx, dword [esi - 0x38]
jmp 0x41def8
mov eax, dword [eax]
jmp 0x41decf
lea ecx, [esi - 0x38]
cmp dword [esi + 0x14], 0x10
jb 0x41df02
mov eax, dword [esi]
jmp 0x41df04
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 0x41df98
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x1c], 0
jne 0x41df98
cmp dword [esi - 0xc], 0
jbe 0x41df6c
cmp dword [esi - 0x24], 0x10
jb 0x41df38
mov ecx, dword [esi - 0x38]
jmp 0x41df3b
lea ecx, [esi - 0x38]
cmp dword [esi - 8], 0x10
jb 0x41df46
mov eax, dword [esi - 0x1c]
jmp 0x41df49
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 0x41df98
cmp dword [esi - 0x24], 0x10
jb 0x41df77
mov eax, dword [esi - 0x38]
jmp 0x41df7a
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 0x41dfc2
call fcn.004296fa
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x41dfb5
call fcn.004296fa
add dword [esp + 0x14], 0x60
add esi, 0x60
jmp 0x41de8c
mov eax, dword [eax]
jmp 0x41dfa7
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 [0x459204]
mov eax, dword [eax]
pop ecx
pop ecx
mov ecx, dword [0x4591ec]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [0x459204]
mov dword [esp + 0x40], eax
mov eax, dword [0x4591ec]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x10]
mov dword [esp + 0x3c], eax
call fcn.00420be0
test al, al
jne 0x41e0a1
call fcn.0040dbba
push 0x44a7a4
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0041a848
add esp, 0xc
mov edi, eax
mov byte [esp + 0xf0], 1
call fcn.0040dbba
add eax, 0x1c
push eax
lea eax, [esp + 0x74]
push edi
push eax
call fcn.0041ea93
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x41e05e
mov eax, dword [eax + 4]
jmp 0x41e061
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.00401730
push 0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xf8], 0
call fcn.00401730
lea esi, [esp + 0x10]
call fcn.0040904e
jmp 0x41dff0
xor edi, edi
push edi
lea ecx, [esp + 0xac]
mov dword [esp + 0xc4], 0xf
call fcn.004019d2
mov byte [esp + 0xf0], 2
mov esi, dword [esp + 0x20]
cmp byte [esi + 0x1c], 0
je 0x41e11e
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, [esi + 0x54]
push eax
call fcn.0040a5af
lea ecx, [esp + 0x74]
call fcn.0041dcc5
add esp, 0x20
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfc], 3
call fcn.004030cb
push edi
push 1
lea ecx, [esp + 0x5c]
call fcn.00401730
push edi
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], 0xf
call fcn.004019d2
mov byte [esp + 0xf0], 4
mov eax, dword [0x4580ec]
cmp eax, edi
je 0x41e17f
lea ecx, [esp + 0x54]
push esi
push ecx
call eax
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0xfc], 5
call fcn.004030cb
push edi
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 4
call fcn.00401730
jmp 0x41e18f
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0xd0]
call fcn.004030cb
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 0x41e1b3
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 edi
push 0x2714
push ebx
call esi
add esp, 0xc
push 5
push 0x4e
push ebx
call esi
add esp, 0xc
push 0x41e3f5
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 0x448c8e
push 0x2776
push ebx
call esi
add esp, 0xc
cmp dword [esp + 0xbc], edi
je 0x41e255
cmp dword [esp + 0xc0], 0x10
mov eax, dword [esp + 0xac]
jae 0x41e249
lea eax, [esp + 0xac]
push eax
push 0x271f
push ebx
call esi
add esp, 0xc
cmp byte [0x458958], 0
je 0x41e27d
push 0x458958
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41e27d
push 0x458958
push 0x272f
push ebx
call esi
add esp, 0xc
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x34], edi
je 0x41e2a0
cmp dword [eax + 0x38], 0x10
jb 0x41e291
mov eax, dword [eax + 0x24]
jmp 0x41e294
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 [0x457b7a], 0
je 0x41e2c5
push edi
push 0x40
push ebx
call esi
add esp, 0xc
push edi
push 0x51
push ebx
call esi
add esp, 0xc
cmp dword [0x455d18], edi
je 0x41e2ec
cmp dword [0x455d1c], 0x10
mov eax, dword [0x455d08]
jae 0x41e2e0
mov eax, 0x455d08
push eax
push 0x2751
push ebx
call esi
add esp, 0xc
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x41e2fb
mov eax, dword [eax + 4]
jmp 0x41e2fe
add eax, 4
push ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call dword [sym.imp.libcurl32.dll_curl_easy_perform]
pop ecx
mov esi, eax
cmp dword [esp + 0x1c], edi
je 0x41e329
push dword [esp + 0x1c]
call dword [sym.imp.libcurl32.dll_curl_formfree]
pop ecx
cmp dword [esp + 0x18], edi
je 0x41e33a
push dword [esp + 0x18]
call dword [sym.imp.libcurl32.dll_curl_slist_free_all]
pop ecx
cmp esi, edi
je 0x41e37b
push esi
call dword [sym.imp.libcurl32.dll_curl_easy_strerror]
pop ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.0040315d
push ebx
call dword [sym.imp.libcurl32.dll_curl_easy_cleanup]
pop ecx
push edi
push 1
lea ecx, [esp + 0xcc]
call fcn.00401730
push edi
push 1
lea ecx, [esp + 0xb0]
call fcn.00401730
jmp 0x41de50
cmp dword [esp + 0x2c], edi
je 0x41e394
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 edi
push 1
lea ecx, [esp + 0xcc]
call fcn.00401730
push edi
push 1
lea ecx, [esp + 0xb0]
call fcn.00401730
or dword [esp + 0xf0], 0xffffffff
mov esi, dword [esp + 0x24]
cmp esi, edi
je 0x41e3cf
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.004291e7
mov esp, ebp
pop ebp
ret