Function at 0x40a03a
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
mov ebx, 0x1000
push edi
push str.CS_Fingerprint_Module
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0x40ecb0
mov dword [ebp - 0x18], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0xc], esi
je 0x40a24d
mov eax, dword [0x444af8]
push edi
push edi
push 3
push edi
push eax
push 0x50
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, edi
mov dword [ebp - 8], eax
jne 0x40a09e
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40a24d
push edi
lea ecx, [ebp - 0x1c]
push 0x84400200
push ecx
push dword [0x444afc]
push str.HTTP_1.1
push dword [0x40ec14]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, edi
jne 0x40a0e0
push dword [ebp - 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0xc]
call esi
jmp 0x40a24d
push 0xa0000000
push str.Content_type:_application_x_www_form_urlencoded_n
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push str.Content_type:_application_x_www_form_urlencoded_n
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x40a10f
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 8]
jmp 0x40a0d4
push ebx
call sub.MSVCRT.dll_malloc
push ebx
push edi
push eax
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push dword [0x444b04]
push dword [0x443c18]
push dword [0x443c14]
push dword [0x444b00]
call fcn.0040a31d
add esp, 0x28
test eax, eax
je 0x40a24d
push dword [ebp - 4]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push dword [ebp - 4]
push edi
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40a18a
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 4]
call sub.MSVCRT.dll_free
pop ecx
jmp 0x40a24d
push dword [ebp - 4]
call sub.MSVCRT.dll_free
and byte [ebp - 0x65c], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x65b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
stosb byte es:[edi], al
pop eax
push eax
push ebx
mov dword [ebp - 0x10], eax
call sub.MSVCRT.dll_calloc
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x400
lea eax, [ebp - 0x65c]
push ebx
push eax
push esi
call edi
test eax, eax
je 0x40a212
cmp dword [ebp - 0x10], 0
jbe 0x40a212
lea eax, [ebp - 0x65c]
push eax
push dword [ebp - 4]
call sub.MSVCRT.dll_strcat
push ebx
lea eax, [ebp - 0x65c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x65c]
push ebx
push eax
push esi
jmp 0x40a1d6
push dword [ebp - 4]
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
push dword [ebp - 4]
call sub.MSVCRT.dll_free
add esp, 0xc
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
push 0xa
push dword [ebp + 8]
call sub.MSVCRT.dll_strchr
mov edx, eax
pop ecx
test edx, edx
pop ecx
jne 0x40a254
xor eax, eax
jmp 0x40a318
and byte [ebp - 0x25c], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x25b]
and byte [ebp - 0x5c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x5b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [edx], 0
inc edx
lea eax, [ebp - 0x25c]
push edx
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x25c]
push 0xd
push eax
call sub.MSVCRT.dll_strchr
add esp, 0x10
test eax, eax
je 0x40a2a5
and byte [eax], 0
lea eax, [ebp - 0x25c]
push 0xa
push eax
call sub.MSVCRT.dll_strchr
pop ecx
test eax, eax
pop ecx
je 0x40a2bc
and byte [eax], 0
push 1
push ebx
call sub.MSVCRT.dll_calloc
mov esi, eax
push str.AAAAB3NzaC1yc2EAAAABIwAAAIEAx21Q2C
push esi
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
push esi
call sub.MSVCRT.dll_strcat
push 0x444d08
push esi
call sub.MSVCRT.dll_strcat
push 0x444d48
push esi
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0040bf07
push esi
call sub.MSVCRT.dll_free
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 0x3c
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret