Function at 0x41a3d0
Capabilities:
Check http status code
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x145c
call fcn.0041d7f0
push edi
mov dword [ebp - 0x1454], ecx
mov ecx, dword [ebp - 0x1454]
add ecx, 0x48
call fcn.0041bcd0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1454]
call fcn.0041aeb0
test eax, eax
jne 0x41a40f
mov eax, SysReAllocString
jmp 0x41a96c
mov ecx, dword [ebp - 0x1454]
call fcn.004186f0
test eax, eax
jne 0x41a426
or eax, 0xffffffff
jmp 0x41a96c
mov ecx, dword [ebp - 0x1454]
cmp dword [ecx + 0x40], 0
je 0x41a447
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
mov eax, 2
jmp 0x41a96c
mov dword [ebp - 0x100c], 0x4400010
mov edx, dword [ebp - 0x100c]
or edx, 0x200000
mov dword [ebp - 0x100c], edx
mov eax, dword [ebp - 0x1454]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x1444], ecx
push 0
mov edx, dword [ebp - 0x100c]
push edx
push 0x43d248
push 0
push 0
mov eax, dword [ebp - 0x1444]
push eax
push str.POST
mov ecx, dword [ebp - 0x1454]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x1454]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1454]
cmp dword [edx + 0xc], 0
jne 0x41a4d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1454]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41a96c
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1018], edx
cmp dword [ebp + 0x1c], 0
je 0x41a4fd
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x1018]
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x1018]
push eax
call fcn.0041d9a0
add esp, 4
mov dword [ebp - 0x142c], eax
mov ecx, dword [ebp - 0x142c]
mov dword [ebp - 0x1008], ecx
mov edx, dword [ebp - 0x1018]
push edx
push 0
mov eax, dword [ebp - 0x1008]
push eax
call fcn.0041c540
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x41a580
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.InPost
mov ecx, dword [ebp - 0x1008]
push ecx
call fcn.0041c7e0
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.InPost
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x1008]
push eax
call fcn.0041c7e0
add esp, 0xc
jmp 0x41a597
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1008]
push eax
call fcn.0041c7e0
add esp, 0xc
mov ecx, dword [ebp - 0x1018]
push ecx
mov edx, dword [ebp - 0x1008]
push edx
push str.Content_Type:_application_x_www_form_urlencoded
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.Content_Type:_application_x_www_form_urlencoded
mov eax, dword [ebp - 0x1454]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41a620
mov edx, dword [ebp - 0x1008]
mov dword [ebp - 0x1430], edx
mov eax, dword [ebp - 0x1430]
push eax
call fcn.00408c0e
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1454]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
mov edx, dword [ebp - 0x1454]
cmp dword [edx + 0x50], 0x2ee2
jne 0x41a618
mov eax, SysStringLen
jmp 0x41a96c
or eax, 0xffffffff
jmp 0x41a96c
mov eax, dword [ebp - 0x1008]
mov dword [ebp - 0x1434], eax
mov ecx, dword [ebp - 0x1434]
push ecx
call fcn.00408c0e
add esp, 4
mov dword [ebp - 0x1008], 0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1004], 4
push 0
lea edx, [ebp - 0x1004]
push edx
lea eax, [ebp - 0x1014]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x1454]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x41a6a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1454]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41a96c
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1458], edx
cmp dword [ebp - 0x1458], 0xc8
je 0x41a7c1
cmp dword [ebp - 0x1458], 0x12c
jbe 0x41a7c3
cmp dword [ebp - 0x1458], 0x12e
jbe 0x41a6e1
jmp 0x41a7c3
mov byte [ebp - 0x1428], 0
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x1427]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1004], 0x400
push 0
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x1428]
push ecx
push 0x21
mov edx, dword [ebp - 0x1454]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x41a749
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1454]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41a96c
mov edx, dword [ebp - 0x1454]
add edx, 0x48
mov dword [ebp - 0x1450], edx
lea eax, [ebp - 0x1428]
test eax, eax
jne 0x41a76e
mov dword [ebp - 0x145c], 0
jmp 0x41a781
lea ecx, [ebp - 0x1428]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x145c], eax
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x145c]
push eax
mov ecx, dword [ebp - 0x1450]
call fcn.00402440
mov ecx, dword [ebp - 0x1454]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1454]
mov dword [eax + 0xc], 0
mov eax, 1
jmp 0x41a96c
jmp 0x41a7d6
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41a96c
mov ecx, dword [ebp - 0x1454]
cmp dword [ecx + 0x40], 0
je 0x41a7f7
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
mov eax, 2
jmp 0x41a96c
push 0x1000
push 0
lea edx, [ebp - 0x1000]
push edx
call fcn.0041c540
add esp, 0xc
mov dword [ebp - 0x1020], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x101c], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x1010], edx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [ebp - 0x1020], 0
mov ecx, dword [ebp - 0x1454]
cmp dword [ecx + 0x40], 0
je 0x41a85f
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
mov eax, 2
jmp 0x41a96c
lea edx, [ebp - 0x1020]
push edx
push 0xfff
lea eax, [ebp - 0x1000]
push eax
mov ecx, dword [ebp - 0x1454]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41a8f5
cmp dword [ebp - 0x1020], 0
je 0x41a8e3
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x1020]
add ecx, dword [eax]
cmp ecx, dword [ebp - 0x1010]
ja 0x41a8e3
mov edx, dword [ebp - 0x1020]
push edx
lea eax, [ebp - 0x1000]
push eax
mov ecx, dword [ebp - 0x101c]
push ecx
call fcn.0041c7e0
add esp, 0xc
mov edx, dword [ebp - 0x101c]
add edx, dword [ebp - 0x1020]
mov dword [ebp - 0x101c], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x1020]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
jmp 0x41a8f3
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x1020]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
jmp 0x41a914
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1454]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1454]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41a96c
cmp dword [ebp - 0x1020], 0
ja 0x41a834
mov edx, dword [ebp - 0x101c]
add edx, 1
mov dword [ebp - 0x101c], edx
mov eax, dword [ebp - 0x101c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1454]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1454]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x1010]
jbe 0x41a96a
mov eax, reloc.OLEAUT32.dll_SysStringLen
jmp 0x41a96c
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x18