Function at 0x406fbe
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 [0x433024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4341fc]
push ebx
push esi
mov ebx, ecx
mov esi, 0x4341fc
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.004027b2
mov eax, dword [0x4341fc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x88], eax
push 0x69
lea eax, [ebp - 0x98]
push eax
call fcn.004027b2
mov eax, dword [0x4341fc]
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.004161e0
push 0
lea eax, [ebx + 0xf0]
push 0x32
push eax
mov dword [ebp - 0x8c], eax
call fcn.004161e0
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 - 0x8c]
push 0x400
push dword [ebx + 4]
call esi
xor eax, eax
cmp word [edi], ax
jne 0x4070ee
push 0x73
lea eax, [ebp - 0x7c]
push eax
call fcn.004027b2
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.004018b2
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.004018b2
lea eax, [esi - 0x10]
jmp 0x4075ca
mov ecx, dword [ebp - 0x8c]
cmp word [ecx], ax
jne 0x407121
push 0x74
lea eax, [ebp - 0x7c]
push eax
call fcn.004027b2
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 0x4070c0
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.00402647
mov dword [ebp - 0x9c], eax
call fcn.0040265b
mov dword [ebp - 0x94], eax
mov eax, dword [0x4341fc]
mov esi, 0x4341fc
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.00402bdd
mov eax, dword [0x4341fc]
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
push dword [ebx + 0x88]
add eax, 0x10
mov dword [ebp - 0x90], eax
lea eax, [ebx + 0x80]
push dword [eax]
mov dword [ebp - 0xc8], eax
push dword [ebx + 0x84]
lea eax, [ebp - 0x90]
push dword [ebp - 0x8c]
push edi
push str.u_sp_sm_sf_sr_s
call fcn.00402bdd
mov esi, dword [ebp - 0x90]
mov edi, dword [esi - 0xc]
add edi, edi
mov ecx, edi
mov dword [ebp - 0xa4], edi
call fcn.00427a40
push eax
mov dword [ebp - 0x84], eax
call fcn.0041676c
add esp, 0x1c
cmp dword [esi - 4], 1
mov ebx, eax
mov dword [ebp - 0xa8], ebx
jle 0x407215
push dword [esi - 0xc]
lea eax, [ebp - 0x90]
push eax
call fcn.004029fe
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xa0]
push edi
call fcn.00427db0
mov ecx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.004025a5
push dword [esi + 0x7c]
push edi
push dword [eax]
lea eax, [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
push str._App_Validate_r_dt_dkey_skeyLen_dmd5_s
call fcn.00402bdd
mov eax, dword [ebp - 0x84]
add esp, 0x24
add eax, 0xfffffff0
call fcn.004018b2
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 0x42cd00
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 - 0x90]
mov dword [ebp - 0xb4], eax
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.00416aee
pop ecx
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x407537
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 - 0x8c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x407556
mov edi, 0x42e1a4
push edi
lea esi, [ebp - 0xac]
call fcn.00402777
push edi
lea esi, [ebp - 0x94]
call fcn.00402777
push edi
lea esi, [ebp - 0x9c]
call fcn.00402777
mov eax, dword [ebp - 0x80]
push ecx
mov dword [ebp - 0x84], 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.00402746
push eax
lea eax, [ebp - 0x9c]
push eax
lea edi, [ebp - 0xa0]
lea eax, [ebp - 0xc0]
call fcn.004033f8
mov edi, eax
pop ecx
lea eax, [ebp - 0xcc]
call fcn.004033f8
mov edi, eax
pop ecx
lea eax, [ebp - 0xb8]
call fcn.004033f8
mov edi, eax
pop ecx
lea eax, [ebp - 0xd4]
call fcn.004033f8
mov edi, eax
pop ecx
lea eax, [ebp - 0xd8]
call fcn.004033f8
mov edi, eax
mov eax, dword [ebp - 0x84]
pop ecx
call fcn.004033f8
pop ecx
lea ecx, [ebp - 0x84]
call fcn.00406efb
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0xcc]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0xc0]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0x9c]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0xac]
add eax, 0xfffffff0
call fcn.004018b2
push ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
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.0041676c
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 - 0x84]
push eax
call fcn.0040b50b
test eax, eax
jne 0x4074d2
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.00402699
pop ecx
add edi, 0x158
call fcn.00403316
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
call fcn.004018b2
jmp 0x407508
cmp byte [ebp - 0x28], 0x31
jne 0x4074dc
push 0x6f
jmp 0x4074e8
cmp byte [ebp - 0x28], 0x32
jne 0x4074e6
push 0x70
jmp 0x4074e8
push 0x71
lea eax, [ebp - 0x7c]
push eax
call fcn.004027b2
mov eax, dword [ebp - 0x80]
push 0x10
push dword [ebp - 0x88]
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.00416b09
mov eax, dword [ebp - 0x84]
pop ecx
add eax, 0xfffffff0
call fcn.004018b2
jmp 0x407556
push 0x72
lea eax, [ebp - 0x7c]
push eax
call fcn.004027b2
push 0x10
push dword [ebp - 0x88]
push dword [ebp - 0x7c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x8c]
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.00416b09
pop ecx
push dword [ebp - 0xc4]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.004018b2
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
call fcn.004018b2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004161d1
leave
ret