Function at 0x410f40
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424e93
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x431074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov dword [ebp - 4], 1
mov dword [esi + 0x24], eax
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x410fc0
push 0x427da8
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_1529]
or edi, 0xffffffff
jmp 0x411218
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
cmp edi, 2
jne 0x410fe2
push str.https:__www.jcprogrammer.com_wp_content_uploads_2022_Jcdrawing52412__s
jmp 0x410fe7
push str.https:__drawing.jcidtech.com_api_v1_universal_file_common__s
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_5096]
sub esp, 0x18
mov dword [ebp - 0x4c], eax
mov edx, esp
mov ecx, eax
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov dword [ebp - 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411031
sub ecx, dword [ebp - 0x48]
push ecx
push dword [ebp - 0x4c]
mov ecx, edx
call fcn.00403030
lea eax, [ebp - 0x28]
push eax
call fcn.00410ce0
call sub.libcurl.dll_curl_easy_init
push str.accept:__
push 0
mov dword [esi], eax
call sub.libcurl.dll_curl_slist_append
push str.Accept_Encoding:_gzip__deflate
push eax
call sub.libcurl.dll_curl_slist_append
push str.Content_Type:_application_json_charsetUTF_8
push eax
call sub.libcurl.dll_curl_slist_append
push str.Connection:_keep_alive
push eax
call sub.libcurl.dll_curl_slist_append
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 0x44
push eax
push 0x50
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
movups xmm0, xmmword [ebp - 0x28]
sub esp, 0xc
mov eax, esp
push 0x2712
push dword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
call sub.libcurl.dll_curl_easy_setopt
push 0x411540
push 0x4e2b
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push esi
push 0x2711
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0
push 0x2b
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
add esp, 0x44
push 0x410b50
push 0x4e58
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push esi
push 0x2749
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0
push 0x177000
push 0x75c2
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0x1e
push 0x14
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0xa
push 0x13
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
add esp, 0x40
push 0
push 0x40
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0
push 0x51
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
add esp, 0x18
cmp edi, 1
jne 0x411158
push str.47.90.252.54:8080
jmp 0x411162
cmp edi, 3
jne 0x41118a
push str.ir.proxy.jcidtech.com:1080
push 0x2714
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 7
push 0x65
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0
push 0x10b
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
add esp, 0x24
push dword [esi]
call sub.libcurl.dll_curl_easy_perform
mov edi, eax
add esp, 4
test edi, edi
jne 0x4111b4
mov eax, dword [ebp - 0x50]
xorps xmm0, xmm0
push eax
push 0x30000f
movsd qword [eax], xmm0
push dword [esi]
call sub.libcurl.dll_curl_easy_getinfo
add esp, 0xc
push dword [esi]
call sub.libcurl.dll_curl_easy_cleanup
add esp, 4
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4111fd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4111f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4111f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00421e33
add esp, 8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421e64
mov esp, ebp
pop ebp
ret 0x18