Function at 0x41619f
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Reference http user-agent string
Send data
Send http request

Disassembly:
push 0x170
mov eax, 0x46e805
call fcn.0042d8c0
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
push 0x38
lea eax, [ebp - 0x178]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.0042b410
or eax, 0xffffffff
mov dword [ebp - 0x17c], 0x3c
add esp, 0xc
mov dword [ebp - 0x174], eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x154], eax
jb 0x416219
mov eax, dword [esi]
jmp 0x41621b
mov eax, esi
lea ecx, [ebp - 0x17c]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x41628c
push esi
mov edx, str.Cant_parse:
lea ecx, [ebp - 0x2c]
call fcn.0040a1c2
pop ecx
mov esi, eax
xor ebx, ebx
inc ebx
push ebx
push ecx
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], bl
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 2
test eax, eax
je 0x41626e
mov edx, esi
lea ecx, [ebp - 0x12c]
call fcn.00412529
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], bl
call fcn.00411856
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004041b3
jmp 0x416837
push ebx
push ebx
push ebx
push ebx
push str.Mozilla___5.0__Windows_NT_6.3__WOW64__Trident___7.0__rv:11.0__like_Gecko
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x74], ebx
test ebx, ebx
je 0x4167fc
push dword [ebp + 0x14]
mov eax, 0x3e8
push dword [ebp + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
je 0x4167d9
mov ecx, dword [ebp - 0x16c]
xor edx, edx
mov eax, dword [ebp - 0x168]
push dword [ebp - 0x74]
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
lea eax, [ecx + eax*2]
mov word [ebp - 0x5c], dx
push eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00404c3a
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push 0
push dword [ebp - 0x164]
cmovae eax, dword [ebp - 0x5c]
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
mov dword [ebp - 0x88], ebx
test ebx, ebx
je 0x41678f
cmp dword [esi + 0x14], 8
jb 0x41632a
mov ecx, dword [esi]
jmp 0x41632c
mov ecx, esi
mov eax, dword [esi + 0x10]
lea edx, [ecx + eax*2]
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x168]
lea ecx, [ecx + eax*2]
cmp ecx, edx
jae 0x41636c
push 9
pop ebx
movzx esi, word [ecx]
mov eax, esi
cmp eax, 0x20
je 0x41635f
cmp eax, 0x3a
je 0x41635f
lea eax, [esi - 0x30]
cmp ax, bx
ja 0x416366
add ecx, 2
cmp ecx, edx
jb 0x416348
mov ebx, dword [ebp - 0x88]
push 0
sub edx, ecx
mov dword [ebp - 0x30], 7
pop eax
sar edx, 1
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 4
je 0x41638f
push edx
push ecx
jmp 0x41639d
mov esi, 0x47a314
push esi
call fcn.0040357e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.00404487
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push str.POST
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
xor ebx, ebx
mov esi, eax
inc ebx
test esi, esi
je 0x41676d
push 4
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], ebx
push eax
push 0x3f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x416716
and dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 5
cmp dword [eax + 0x10], 0
jne 0x416421
push str.Content_Type:_multipart_form_data__boundary4jhf94jdfksjhf452f186c710c89c4_r_n
call fcn.0040357e
pop ecx
push eax
push str.Content_Type:_multipart_form_data__boundary4jhf94jdfksjhf452f186c710c89c4_r_n
jmp 0x416432
push str.Content_Type:_application_json__r_n
call fcn.0040357e
pop ecx
push eax
push str.Content_Type:_application_json__r_n
lea ecx, [ebp - 0x2c]
call fcn.00404487
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push ecx
push dword [ebp + 0xc]
push ecx
push ecx
push dword [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x4166ed
and dword [ebp - 0x84], 0
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x70]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x4166c4
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x84], eax
jne 0x41669b
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x416672
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x6c]
and dword [ebp - 0x6c], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x416571
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4164e9
mov edx, str.Cant_query_data_available
lea ecx, [ebp - 0x12c]
call fcn.0040a46c
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 5
call fcn.00411856
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00403ed6
jmp 0x416602
push eax
lea ecx, [ebp - 0x80]
call fcn.00416884
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x80]
and dword [ebp - 0x70], 0
push ecx
push eax
push dword [ebp - 0x80]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x416649
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
jne 0x416627
push dword [ebp - 0x74]
lea ecx, [ebp - 0x68]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x64]
call fcn.004168bb
lea eax, [ebp - 0x6c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4165b3
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.00403f5f
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x416508
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004041b3
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x88]
call esi
push 0
push ebx
lea ecx, [ebp - 0x44]
call fcn.004041b3
push 0
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004041b3
push dword [ebp - 0x74]
call esi
jmp 0x416837
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
push 9
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x13c]
test eax, eax
je 0x4165e0
mov edx, str.Cant_query_data_available
lea ecx, [ebp - 0x12c]
call fcn.0040a46c
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.00411856
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00403ed6
lea ecx, [ebp - 0x80]
call fcn.00403f5f
xor esi, esi
lea ecx, [ebp - 0x2c]
push esi
push ebx
call fcn.004041b3
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.004041b3
push esi
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004041b3
jmp 0x416842
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 7
test eax, eax
je 0x4165e0
mov edx, str.Read_data_doesnt_equal_sended_data
jmp 0x4165d5
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 8
test eax, eax
je 0x4165e0
mov edx, str.Cant_read_data
jmp 0x4165d5
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4164e9
mov edx, str.Cant_receive_response
jmp 0x4164de
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4164e9
mov edx, str.Written_data_doesnt_equal_sended_data
jmp 0x4164de
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4164e9
mov edx, str.Cant_write_data
jmp 0x4164de
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4164e9
mov edx, str.Cant_send_request
jmp 0x4164de
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x416741
mov edx, str.Cant_set_options
lea ecx, [ebp - 0x12c]
call fcn.0040a46c
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.00411856
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00403ed6
push 0
push ebx
lea ecx, [ebp - 0x44]
call fcn.004041b3
push 0
jmp 0x416619
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x416741
mov edx, str.Cant_open_request
jmp 0x416736
xor ebx, ebx
inc ebx
push ebx
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4167bd
mov edx, str.Cant_connect
lea ecx, [ebp - 0x12c]
call fcn.0040a46c
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 3
call fcn.00411856
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00403ed6
jmp 0x416766
push 1
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x416828
mov edx, str.Cant_set_timeouts
jmp 0x41681d
push 1
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00411b3f
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x416828
mov edx, str.Cant_open_session
lea ecx, [ebp - 0x12c]
call fcn.0040a46c
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0
call fcn.00411856
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00403ed6
lea ecx, [ebp - 0x68]
call fcn.00403f5f
mov eax, edi
call fcn.0042d86f
ret