Function at 0x4086df
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, 0xdc
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x43024c]
push ebx
push esi
mov ebx, ecx
mov esi, 0x43024c
push edi
mov ecx, esi
mov dword [ebp - 0x80], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
push 0x6a
lea eax, [ebp - 0x98]
push eax
call fcn.004027b4
mov eax, dword [0x43024c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
push 0x69
lea eax, [ebp - 0x98]
push eax
call fcn.004027b4
mov eax, dword [0x43024c]
mov ecx, esi
call dword [eax + 0xc]
push 0x13
pop ecx
mov esi, str.Content_Type:_text_html__charsetUTF_8
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0
movsw word es:[edi], word [esi]
lea edi, [ebx + 0x8c]
add eax, 0x10
push 0x32
push edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xb0], edi
call fcn.00414670
push 0
lea eax, [ebx + 0xf0]
push 0x32
push eax
mov dword [ebp - 0x88], eax
call fcn.00414670
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextW]
add esp, 0x18
push 0x32
push edi
push 0x404
push dword [ebx + 4]
call esi
push 0x32
push dword [ebp - 0x88]
push 0x400
push dword [ebx + 4]
call esi
xor eax, eax
cmp word [edi], ax
jne 0x40880f
push 0x73
lea eax, [ebp - 0x7c]
push eax
call fcn.004027b4
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x7c]
push 0x30
push esi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x404
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [edi - 0x10]
call fcn.004018b4
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
call fcn.004018b4
lea eax, [esi - 0x10]
jmp 0x408ce3
mov ecx, dword [ebp - 0x88]
cmp word [ecx], ax
jne 0x408842
push 0x74
lea eax, [ebp - 0x7c]
push eax
call fcn.004027b4
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x7c]
push 0x30
push esi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x400
jmp 0x4087e1
push 0x7f02
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0xc4], eax
call fcn.00402649
mov dword [ebp - 0x9c], eax
call fcn.0040265d
mov dword [ebp - 0x94], eax
mov eax, dword [0x43024c]
mov esi, 0x43024c
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp - 0x94]
add eax, 0x10
push dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
push str._cn__d_cxy__dhzr
lea eax, [ebp - 0xa0]
call fcn.00402bdf
mov eax, dword [0x43024c]
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
push dword [ebx + 0x88]
add eax, 0x10
mov dword [ebp - 0x8c], eax
lea eax, [ebx + 0x80]
push dword [eax]
mov dword [ebp - 0xc8], eax
push dword [ebx + 0x84]
lea eax, [ebp - 0x8c]
push dword [ebp - 0x88]
push edi
push str.u_sp_sm_sf_sr_s
call fcn.00402bdf
mov esi, dword [ebp - 0x8c]
mov edi, dword [esi - 0xc]
add edi, edi
mov ecx, edi
mov dword [ebp - 0xa4], edi
call fcn.00424ec0
push eax
mov dword [ebp - 0x90], eax
call fcn.00414ccc
add esp, 0x1c
cmp dword [esi - 4], 1
mov ebx, eax
mov dword [ebp - 0xa8], ebx
jle 0x408936
push dword [esi - 0xc]
lea eax, [ebp - 0x8c]
push eax
call fcn.00402a00
mov esi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xa0]
push edi
call fcn.00425230
mov ecx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.004025a7
push dword [esi + 0x7c]
push edi
push dword [eax]
lea eax, [ebp - 0x8c]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
push str._App_Validate_r_dt_dkey_skeyLen_dmd5_s
call fcn.00402bdf
mov eax, dword [ebp - 0x90]
add esp, 0x24
add eax, 0xfffffff0
call fcn.004018b4
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push 0x429cd8
push eax
mov dword [ebp - 0xbc], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x8c]
mov dword [ebp - 0xb4], eax
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.0041504e
pop ecx
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x408c50
push 8
pop ecx
xor eax, eax
mov byte [ebp - 0x28], bl
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xdc]
push eax
push 0x20
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x408c6f
mov edi, 0x42a474
push edi
lea esi, [ebp - 0xac]
call fcn.00402779
push edi
lea esi, [ebp - 0x94]
call fcn.00402779
push edi
lea esi, [ebp - 0x9c]
call fcn.00402779
mov eax, dword [ebp - 0x80]
push ecx
mov edi, esp
add eax, 0x7c
push eax
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0xc8]
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0xb0]
lea esi, [ebp - 0xd0]
call fcn.00402748
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xa0]
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [ebp - 0xcc]
push ecx
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [ebp - 0xb8]
push ecx
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [ebp - 0xd8]
push ecx
call fcn.004033fe
pop ecx
pop ecx
push edi
call fcn.004033fe
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
call fcn.0040861e
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0xc0]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0x9c]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0xac]
add eax, 0xfffffff0
call fcn.004018b4
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
call edi
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414ccc
pop ecx
push dword [ebp - 0xa4]
mov esi, eax
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
call edi
push esi
lea eax, [ebp - 0x90]
push eax
call fcn.0040cccd
test eax, eax
jne 0x408beb
mov edi, dword [ebp - 0x80]
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [edi + 0x154]
lea ebx, [ebp - 0xa4]
call fcn.0040269b
pop ecx
add edi, 0x158
call fcn.0040331c
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
call fcn.004018b4
jmp 0x408c21
cmp byte [ebp - 0x28], 0x31
jne 0x408bf5
push 0x6f
jmp 0x408c01
cmp byte [ebp - 0x28], 0x32
jne 0x408bff
push 0x70
jmp 0x408c01
push 0x71
lea eax, [ebp - 0x7c]
push eax
call fcn.004027b4
mov eax, dword [ebp - 0x80]
push 0x10
push dword [ebp - 0x84]
push dword [ebp - 0x7c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x80]
push 0x400
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.00415069
mov eax, dword [ebp - 0x90]
pop ecx
add eax, 0xfffffff0
call fcn.004018b4
jmp 0x408c6f
push 0x72
lea eax, [ebp - 0x7c]
push eax
call fcn.004027b4
push 0x10
push dword [ebp - 0x84]
push dword [ebp - 0x7c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x88]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0xb4]
call esi
push dword [ebp - 0xbc]
call esi
push dword [ebp - 0xa8]
call fcn.00415069
pop ecx
push dword [ebp - 0xc4]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x8c]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
call fcn.004018b4
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
call fcn.004018b4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00414657
leave
ret