Function at 0x402f1b
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov dword [0x57c808], 0
push 0xf4240
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [0x57c80c], eax
push dword [0x57c80c]
call sub.kernel32.dll_GlobalLock
mov dword [0x57c810], eax
nop
push 0xf4240
push eax
call sub.kernel32.dll_RtlZeroMemory
push 0x80
push 0x57c8d8
call sub.kernel32.dll_RtlZeroMemory
push str.http:__grtlite.gmt.intra_grtlite_logon.do_username
push 0x57c8d8
call sub.kernel32.dll_lstrcpyA
push dword [ebp + 0xc]
push 0x57c8d8
call sub.kernel32.dll_lstrcatA
push 0x40682c
push 0x57c8d8
call sub.kernel32.dll_lstrcatA
push dword [ebp + 0x10]
push 0x57c8d8
call sub.kernel32.dll_lstrcatA
cmp dword [0x57c808], 1
jne 0x402fb8
push 0x4000
push 0
push 0x57c8d8
push 0
call sub.user32.dll_MessageBoxA
push 0x100
push 0x57c958
call sub.kernel32.dll_RtlZeroMemory
push str.http:__grtlite.gmt.intra_grtlite_filtrerCouples.do_ND
push 0x57c958
call sub.kernel32.dll_lstrcpyA
push dword [ebp + 0x14]
push 0x57c958
call sub.kernel32.dll_lstrcatA
cmp dword [0x57c808], 1
jne 0x402fff
push 0x4000
push 0
push 0x57c958
push 0
call sub.user32.dll_MessageBoxA
push 0x100
push 0x57ca58
call sub.kernel32.dll_RtlZeroMemory
push str.http:__grtlite.gmt.intra_grtlite_voirAbonne.do_couple
push 0x57ca58
call sub.kernel32.dll_lstrcpyA
jmp 0x40306e
push 0
push 0
push 0
push 0
push str.R0GRTcri
call sub.wininet.dll_InternetOpenA
mov dword [0x57c82c], eax
or eax, eax
je 0x403643
push 0x57c850
push 0x80000000
push 0
push 0
push 0x57c8d8
push dword [0x57c82c]
call sub.wininet.dll_InternetOpenUrlA
mov dword [0x57c834], eax
or eax, eax
je 0x4030b6
jmp 0x4030c6
call sub.kernel32.dll_GetLastError
push eax
call fcn.00401634
jmp 0x403675
mov dword [0x57c81c], 0
mov eax, dword [0x57c810]
add eax, dword [0x57c81c]
push 0x57c818
push 0x400
push eax
push dword [0x57c834]
call sub.wininet.dll_InternetReadFile
or eax, eax
jne 0x4030fa
jmp 0x40372b
mov ebx, dword [0x57c818]
add dword [0x57c81c], ebx
mov eax, dword [0x57c810]
push eax
push dword [ebp + 0x20]
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
cmp dword [0x57c818], 0
jne 0x4030d0
mov eax, dword [0x57c810]
add eax, dword [0x57c81c]
mov ebx, 0
mov byte [eax], bl
add dword [0x57c81c], 1
jmp 0x4031cb
push str.invalide_s_
push dword [0x57c810]
push dword [0x57c81c]
call fcn.0040157e
or eax, eax
je 0x4031fb
push 0x10
push 0
push str.Lauthentification_sur_linterface_GRT_a
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403776
mov eax, dword [0x57c810]
push 0x30d40
push eax
call sub.kernel32.dll_RtlZeroMemory
push 0x57c850
push 0x80000000
push 0
push 0
push 0x57c958
push dword [0x57c82c]
call sub.wininet.dll_InternetOpenUrlA
mov dword [0x57c838], eax
or eax, eax
je 0x40368e
mov dword [0x57c81c], 0
mov eax, dword [0x57c810]
add eax, dword [0x57c81c]
push 0x57c818
push 0x400
push eax
push dword [0x57c838]
call sub.wininet.dll_InternetReadFile
or eax, eax
jne 0x40326a
jmp 0x40372b
mov ebx, dword [0x57c818]
add dword [0x57c81c], ebx
mov eax, dword [0x57c810]
push eax
push dword [ebp + 0x20]
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
cmp dword [0x57c818], 0
jne 0x403240
mov eax, dword [0x57c810]
add eax, dword [0x57c81c]
mov ebx, 0
mov byte [eax], bl
add dword [0x57c81c], 1
jmp 0x40333b
push str.couple
push dword [0x57c810]
push dword [0x57c81c]
call fcn.0040157e
or eax, eax
je 0x403396
mov ebx, dword [0x57c810]
add ebx, dword [0x57c81c]
add eax, 7
mov ecx, eax
mov edx, 0
mov dl, byte [0x4069c7]
add eax, 1
cmp byte [eax], dl
je 0x403382
cmp eax, ebx
je 0x4037a6
jmp 0x403371
mov edx, 0
mov byte [eax], dl
push ecx
push 0x57ca58
call sub.kernel32.dll_lstrcatA
jmp 0x403396
cmp dword [0x57c808], 1
jne 0x4033b2
push 0x4000
push 0
push 0x57ca58
push 0
call sub.user32.dll_MessageBoxA
mov eax, dword [0x57c810]
push 0x30d40
push eax
call sub.kernel32.dll_RtlZeroMemory
push 0x57c850
push 0x80000000
push 0
push 0
push 0x57ca58
push dword [0x57c82c]
call sub.wininet.dll_InternetOpenUrlA
mov dword [0x57c83c], eax
or eax, eax
je 0x4036a7
mov dword [0x57c81c], 0
mov eax, dword [0x57c810]
add eax, dword [0x57c81c]
push 0x57c818
push 0x30d40
push eax
push dword [0x57c83c]
call sub.wininet.dll_InternetReadFile
or eax, eax
jne 0x403421
jmp 0x40372b
mov ebx, dword [0x57c818]
add dword [0x57c81c], ebx
mov eax, dword [0x57c810]
push eax
push dword [ebp + 0x20]
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
nop
cmp dword [0x57c818], 0
jne 0x4033f7
mov eax, dword [0x57c810]
add eax, dword [0x57c81c]
mov ebx, 0
mov byte [eax], bl
add dword [0x57c81c], 1
jmp 0x4034f3
mov eax, dword [0x57c810]
push eax
push dword [ebp + 0x20]
push dword [ebp + 8]
call sub.user32.dll_SetDlgItemTextA
jmp 0x4037d6
push 0
push str.R0GRTcri
push str.Erreur_ouverture_session
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403730
push 0
push str.R0GRTcri
push str.Erreur_request_1
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403730
push 0
push str.R0GRTcri
push str.Erreur_request_2
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403730
push 0
push str.R0GRTcri
push str.Erreur_request_3
push dword [ebp + 8]
call sub.user32.dll_MessageBoxA
jmp 0x403730
call sub.kernel32.dll_GetLastError
push dword [0x57c80c]
call sub.kernel32.dll_GlobalFree
push dword [0x57c83c]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c838]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c834]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c830]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c82c]
call sub.wininet.dll_InternetCloseHandle
leave
ret 0x1c
push dword [0x57c80c]
call sub.kernel32.dll_GlobalFree
push dword [0x57c834]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c830]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c82c]
call sub.wininet.dll_InternetCloseHandle
leave
ret 0x1c
push dword [0x57c80c]
call sub.kernel32.dll_GlobalFree
push dword [0x57c838]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c834]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c82c]
call sub.wininet.dll_InternetCloseHandle
leave
ret 0x1c
push dword [0x57c83c]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c838]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c834]
call sub.wininet.dll_InternetCloseHandle
push dword [0x57c82c]
call sub.wininet.dll_InternetCloseHandle
leave
ret 0x1c