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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x40
add esp, 0xfffff004
push eax
dec eax
jne 0x435721
mov eax, dword [ebp - 4]
add esp, 0xffffffc4
push esi
xor ecx, ecx
mov dword [ebp - 0x40038], ecx
mov dword [ebp - 0x40034], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x435a78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x38]
xor edx, edx
call fcn.0040b38c
push 0
push 0
push 0
push 0
push 0x435a84
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x40010], eax
mov eax, dword [ebp - 0x40010]
call fcn.0040e868
push 0
push 0x80000000
push 0
push 0
push 0x435a90
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x40014], eax
cmp dword [ebp - 0x40014], 0
jne 0x4357e6
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetCloseHandle
push 0x50040
mov eax, dword [0x446c50]
call fcn.00403fa8
push eax
push 0x435ab4
mov eax, dword [0x4468a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b38c
jmp 0x435a5a
lea eax, [ebp - 0x4002f]
xor ecx, ecx
mov edx, 0x17
call fcn.00402b54
lea eax, [ebp - 0x40018]
push eax
push 0x17
lea eax, [ebp - 0x4002f]
push eax
mov eax, dword [ebp - 0x40014]
push eax
call sub.wininet.dll_InternetReadFile
mov eax, dword [ebp - 0x40014]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x40010]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebp - 0x40034]
lea edx, [ebp - 0x4002f]
mov ecx, 0x17
call fcn.00403d60
mov eax, dword [ebp - 0x40034]
mov edx, dword [0x4469f4]
call fcn.00403ef4
jbe 0x4358a0
push 0x50044
mov eax, dword [0x446c50]
call fcn.00403fa8
push eax
push 0x435b88
mov eax, dword [0x4468a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
cmp eax, 6
jne 0x435891
mov ecx, 0x435bc8
mov edx, 0x435be0
mov eax, 0x435be0
call fcn.0040f954
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b38c
jmp 0x435a5a
cmp byte [0x446b78], 0
je 0x435959
mov al, byte [0x446b78]
dec eax
test al, al
jb 0x435913
inc eax
mov edx, 0x446b7c
mov ecx, dword [edx]
cmp byte [ecx + 0x70b], 0
jne 0x43590c
cmp byte [ecx + 0x6c0], 0
je 0x43590c
cmp dword [ecx + 0x6c4], 0
jne 0x43590c
push 0x50040
mov eax, dword [0x446c50]
call fcn.00403fa8
push eax
push 0x435bf8
mov eax, dword [0x4468a8]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_MessageBoxA_2
mov eax, dword [esi + 0x38]
mov dl, 1
call fcn.0040b38c
jmp 0x435a5a
add edx, 4
dec al
jne 0x4358bd
mov al, byte [0x446b78]
dec eax
test al, al
jb 0x43594c
inc eax
mov edx, 0x446b7c
mov ecx, dword [edx]
cmp byte [ecx + 0x6eb], 0
je 0x43593e
mov byte [ecx + 0x6ea], 0
mov byte [ecx + 0x6eb], 0
jmp 0x435945
mov byte [ecx + 0x6ea], 1
add edx, 4
dec al
jne 0x435923
mov eax, dword [esi + 0x18]
call fcn.00408798
call fcn.00433d48
mov byte [0x446c68], 1
mov eax, dword [esi + 0x30]
call fcn.0040c054
xor al, 1
mov byte [ebp - 0x40005], al
cmp byte [ebp - 0x40005], 0
je 0x43598d
mov eax, dword [esi + 0x30]
mov dl, 1
call fcn.0040c078
mov eax, dword [esi + 0x30]
call fcn.00408960
jmp 0x435998
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.0042fa2c
lea eax, [ebp - 0x40038]
push eax
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.004097a4
mov edx, dword [ebp - 0x40038]
mov eax, 0x446c90
call fcn.00403b60
cmp byte [0x446b78], 0
je 0x4359e1
push ebp
call fcn.004349e8
pop ecx
lea edx, [ebp - 0x40000]
mov eax, 0x446c94
mov ecx, dword [ebp - 0x40004]
call fcn.00403bfc
call fcn.00406af0
mov dword [ebp - 0x4000c], eax
lea ecx, [ebp - 0x40040]
mov edx, 0x4343e8
xor eax, eax
call fcn.00405c8c
mov eax, dword [ebp - 0x4000c]
mov edx, dword [ebp - 0x40040]
mov dword [eax + 0x36], edx
mov edx, dword [ebp - 0x4003c]
mov dword [eax + 0x3a], edx
mov eax, dword [ebp - 0x4000c]
mov byte [eax + 0x4e], 1
mov eax, dword [ebp - 0x4000c]
call fcn.00406c08
mov byte [0x446c68], 0
cmp byte [ebp - 0x40005], 0
je 0x435a4f
mov eax, dword [esi + 0x30]
xor edx, edx
call fcn.0040c078
mov eax, dword [esi + 0x30]
call fcn.00408960
jmp 0x435a5a
mov eax, esi
xor ecx, ecx
xor edx, edx
call fcn.0042fa2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435a7f
lea eax, [ebp - 0x40038]
mov edx, 2
call fcn.00403b30
ret