Function at 0x4036da
Capabilities:
Check internet connectivity via wininet

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov eax, 0
mov r8, rax
mov eax, 1
mov r11, rax
lea rax, [0x0040870d]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.wininet.dll_InternetCheckConnectionA
mov dword [rbp - 4], eax
mov eax, 1
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
mov eax, 0
mov r8, rax
movabs rax, 0
mov r11, rax
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_PeekMessageA
cmp eax, 0
je 0x40378a
mov eax, dword [0x0040a100]
cmp eax, 0x12
jne 0x403766
mov eax, 1
mov dword [0x0040a020], eax
jmp 0x40378a
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
call sub.user32.dll_TranslateMessage
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
call sub.user32.dll_DispatchMessageA
mov eax, dword [rbp - 4]
cmp eax, 0
je 0x403d09
call fcn.004059eb
shl rax, 0x20
shr rax, 0x20
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_srand
mov eax, 0
mov dword [rbp - 8], eax
mov eax, dword [rbp - 8]
cmp eax, 0x10
jge 0x403830
jmp 0x4037d4
mov eax, dword [rbp - 8]
mov ecx, eax
add eax, 1
mov dword [rbp - 8], eax
jmp 0x4037b6
mov eax, dword [rbp - 8]
movsxd rax, eax
lea rcx, [0x0040a128]
add rcx, rax
mov qword [rbp - 0x10], rcx
call sub.msvcrt.dll_rand
mov ecx, 2
cdq
idiv ecx
cmp edx, 0
je 0x403813
call sub.msvcrt.dll_rand
mov ecx, 0x1a
cdq
idiv ecx
add edx, 0x61
jmp 0x403828
call sub.msvcrt.dll_rand
mov ecx, 0x1a
cdq
idiv ecx
add edx, 0x41
jmp 0x403828
mov rax, qword [rbp - 0x10]
mov byte [rax], dl
jmp 0x4037c7
mov eax, 0
mov byte [0x0040a139], al
lea rax, [0x0040a128]
mov r9, rax
lea rax, [0x00408720]
mov r8, rax
movabs rax, 0x4e
mov r11, rax
lea rax, [0x0040a139]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00405686
lea rax, [0x0040a139]
mov r10, rax
mov rcx, r10
call fcn.0040255a
call fcn.004033cc
jmp 0x403ce4
lea rax, [0x00408760]
mov r10, rax
mov rcx, r10
call fcn.0040255a
jmp 0x403d04
lea rax, [0x00408767]
mov r10, rax
mov rcx, r10
call fcn.0040255a
jmp 0x403d04
lea rax, str.RL__35s__r_n
mov r10, rax
mov rcx, r10
call fcn.0040255a
movabs rax, 0
mov r9, rax
movabs rax, 3
mov r8, rax
mov eax, 0x410
mov r11, rax
mov rax, qword [0x0040a090]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
mov eax, 0
mov r11, rax
mov rax, qword [0x0040a040]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 0
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 0
mov r11, rax
mov rax, qword [0x0040a058]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 0x55730
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0x14]
cmp eax, 0
je 0x403ae0
mov eax, dword [rbp - 0x14]
mov ecx, 0xdac
cdq
idiv ecx
movsxd rax, eax
movabs rcx, 0
mov r9, rcx
mov r8, rax
mov eax, 0x402
mov r11, rax
mov rax, qword [0x0040a090]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
mov eax, dword [rbp - 0x14]
mov ecx, 0x2710
cdq
idiv ecx
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x14]
mov ecx, 0x2710
cdq
idiv ecx
mov r11, rax
lea rax, [0x00408779]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00402474
mov r11, rax
mov rax, qword [0x0040a088]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SetWindowTextA
mov eax, dword [rbp - 0x1c]
mov ecx, dword [rbp - 0x18]
cmp eax, ecx
je 0x403a3a
mov eax, dword [rbp - 0x1c]
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x18]
mov r11, rax
lea rax, str.Rate_limit___ds
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00402474
mov r11, rax
mov rax, qword [0x0040a088]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SetWindowTextA
mov eax, 1
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
mov eax, 1
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
mov eax, 0
mov r8, rax
movabs rax, 0
mov r11, rax
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_PeekMessageA
cmp eax, 0
je 0x403ad2
mov eax, dword [0x0040a100]
cmp eax, 0x12
jne 0x403aae
mov eax, 1
mov dword [0x0040a020], eax
jmp 0x403ad2
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
call sub.user32.dll_TranslateMessage
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
call sub.user32.dll_DispatchMessageA
mov eax, dword [rbp - 0x14]
sub eax, 0x64
mov dword [rbp - 0x14], eax
jmp 0x403963
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a040]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a058]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 1
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
mov eax, 0
mov r8, rax
movabs rax, 0
mov r11, rax
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_PeekMessageA
cmp eax, 0
je 0x403bbf
mov eax, dword [0x0040a100]
cmp eax, 0x12
jne 0x403b9b
mov eax, 1
mov dword [0x0040a020], eax
jmp 0x403bbf
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
call sub.user32.dll_TranslateMessage
lea rax, [0x0040a0f8]
mov r10, rax
mov rcx, r10
call sub.user32.dll_DispatchMessageA
movabs rax, 0
mov r9, rax
movabs rax, 1
mov r8, rax
mov eax, 0x410
mov r11, rax
mov rax, qword [0x0040a090]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
lea rax, [0x0040a128]
mov r9, rax
lea rax, str._code_generator__Checking_code_https:__discord.gift__s_STATUS:
mov r8, rax
movabs rax, 0x4e
mov r11, rax
lea rax, [0x0040a139]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00405686
lea rax, [0x0040a139]
mov r10, rax
mov rcx, r10
call fcn.0040255a
call fcn.004033cc
jmp 0x403cbf
lea rax, str.PASS_r_n
mov r10, rax
mov rcx, r10
call fcn.0040255a
jmp 0x403cdf
lea rax, str.FAIL_r_n
mov r10, rax
mov rcx, r10
call fcn.0040255a
jmp 0x403cdf
mov eax, 0x10
mov r9, rax
lea rax, str.Fatal_Error
mov r8, rax
lea rax, str.State_2_2_reached__Cannot_continue.
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_MessageBoxW
mov eax, 0
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_exit
jmp 0x403cdf
cmp eax, 0
je 0x403c48
cmp eax, 1
je 0x403c5f
cmp eax, 2
je 0x403c76
jmp 0x403cba
jmp 0x403d04
cmp eax, 0
je 0x40388d
cmp eax, 1
je 0x4038a4
cmp eax, 2
je 0x4038bb
jmp 0x403d04
jmp 0x403d0e
call fcn.0040309a
leave
ret