Function at 0x40dcf0
Capabilities:
Check http status code
Create http request
Get local ipv4 addresses
Get mac address on windows
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x33a8
call fcn.00415110
mov eax, dword [0x426004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1000
lea eax, [ebp - 0x3394]
push 0
push eax
call fcn.00410110
push 0x1000
lea ecx, [ebp - 0x2394]
push 0
push ecx
call fcn.00410110
push 0xc8
lea edx, [ebp - 0xcc]
push 0
push edx
call fcn.00410110
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.00410110
add esp, 0x30
lea ecx, [ebp - 0x339c]
push ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov esi, eax
cmp esi, 0x6f
jne 0x40ddbc
mov edx, dword [ebp - 0x339c]
push edx
lea esi, [ebp - 0x3398]
call fcn.0040bae0
add esp, 4
test eax, eax
jne 0x40dea3
mov edi, dword [ebp - 0x3398]
lea eax, [ebp - 0x339c]
push eax
push edi
push 0
push 0
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov esi, eax
test esi, esi
je 0x40ddca
lea eax, [ebp - 0x3398]
call fcn.0040bb70
test esi, esi
jne 0x40dea3
mov edi, dword [ebp - 0x3398]
test edi, edi
je 0x40de98
lea eax, [ebp - 0xcc]
lea edx, [eax + 2]
jmp 0x40dde0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dde0
sub eax, edx
sar eax, 1
je 0x40de15
lea eax, [ebp - 0x194]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40de00
sub eax, edx
sar eax, 1
jne 0x40de98
mov ecx, edi
call fcn.0040e300
test eax, eax
je 0x40de46
movzx ecx, byte [edi + 0x33]
movzx edx, byte [edi + 0x32]
movzx eax, byte [edi + 0x31]
push ecx
movzx ecx, byte [edi + 0x30]
push edx
movzx edx, byte [edi + 0x2f]
push eax
movzx eax, byte [edi + 0x2e]
push ecx
push edx
push eax
lea eax, [ebp - 0xcc]
jmp 0x40de73
call fcn.0040e5a0
test eax, eax
je 0x40de8d
movzx ecx, byte [edi + 0x33]
movzx edx, byte [edi + 0x32]
movzx eax, byte [edi + 0x31]
push ecx
movzx ecx, byte [edi + 0x30]
push edx
movzx edx, byte [edi + 0x2f]
push eax
movzx eax, byte [edi + 0x2e]
push ecx
push edx
push eax
lea eax, [ebp - 0x194]
movzx ecx, byte [edi + 0x2d]
movzx edx, byte [edi + 0x2c]
push ecx
push edx
push 0x423ad8
push 0x64
push eax
call fcn.0040f5cc
add esp, 0x2c
mov edi, dword [edi + 8]
test edi, edi
jne 0x40ddd2
lea eax, [ebp - 0x3398]
call fcn.0040bb70
push 0
push 0
push 0
push 0
push str.SECUREW2
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x33a0], eax
test eax, eax
je 0x40e2e9
mov ecx, dword [ebx + 0x404]
mov edx, dword [ebx + 0x414]
mov eax, dword [ebx + 0x410]
lea edi, [ebx + 0xc18]
push edi
push ecx
mov ecx, dword [ebx + 0x40c]
push edx
push eax
push ecx
lea edx, [ebx + 0x200]
push edx
push ebx
lea eax, [ebx + 0x818]
push eax
lea esi, [ebx + 0xa18]
push esi
lea ecx, [ebx + 0x618]
push ecx
lea edx, [ebx + 0x418]
push edx
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0xcc]
push ecx
push str.activate
push str.https:__service.securew2.com_PaladinServlet_Main_request_swiredmacaddress_swirelessmacaddress_sname_sorganization_slicense_key_slicense_key_old_sproductname_sproductversion_sseats_ldflags_ldsid_ldtimestamp_ldsignature_s
lea edx, [ebp - 0x3394]
push 0x800
push edx
call fcn.0040f5cc
add esp, 0x44
push 0x2000000
lea eax, [ebp - 0x33a4]
push eax
lea ecx, [ebp - 0x2394]
push ecx
lea edx, [ebp - 0x3394]
push edx
mov dword [ebp - 0x33a4], 0x800
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
je 0x40e2c5
mov ecx, dword [ebp - 0x33a0]
push 0
push 0x800200
push 0
push 0
lea eax, [ebp - 0x2394]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x3398], eax
test eax, eax
je 0x40e2a1
push 0
lea edx, [ebp - 0x33a8]
push edx
lea ecx, [ebp - 0xf94]
push ecx
push 0x13
push eax
mov dword [ebp - 0x33a8], 0x100
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x40e270
push 0
lea edx, [ebp - 0xf94]
push 0
push edx
call fcn.0040fd02
add esp, 0xc
cmp eax, 0xc8
jne 0x40e20e
push 0x400
lea eax, [ebp - 0x1394]
push 0
push eax
mov dword [ebp - 0x339c], 0x400
call fcn.00410110
mov eax, dword [ebp - 0x3398]
add esp, 0xc
lea ecx, [ebp - 0x339c]
push ecx
push 0x400
lea edx, [ebp - 0x1394]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40e23f
push 0x800
lea ecx, [ebp - 0xd94]
push 0
push ecx
call fcn.00410110
mov eax, dword [ebp - 0x339c]
add esp, 0xc
push 0x400
lea edx, [ebp - 0xd94]
push edx
push eax
lea ecx, [ebp - 0x1394]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x40e20e
push 0x400
lea edx, [ebp - 0x594]
push 0
push edx
call fcn.00410110
lea eax, [ebp - 0x594]
push 0x400
push eax
lea eax, [ebp - 0xd94]
mov ecx, str.seats
call fcn.0040db80
add esp, 0x14
test eax, eax
jne 0x40e0b9
push eax
push eax
lea ecx, [ebp - 0x594]
push ecx
call fcn.0040fd02
add esp, 0xc
mov dword [ebx + 0x40c], eax
push 0x400
lea edx, [ebp - 0x594]
push 0
push edx
call fcn.00410110
lea eax, [ebp - 0x594]
push 0x400
push eax
lea eax, [ebp - 0xd94]
mov ecx, str.flags
call fcn.0040db80
add esp, 0x14
test eax, eax
jne 0x40e106
push eax
push eax
lea ecx, [ebp - 0x594]
push ecx
call fcn.0040fd02
add esp, 0xc
mov dword [ebx + 0x410], eax
push 0x400
lea edx, [ebp - 0x594]
push 0
push edx
call fcn.00410110
lea eax, [ebp - 0x594]
push 0x400
push eax
lea eax, [ebp - 0xd94]
mov ecx, str.sid
call fcn.0040db80
add esp, 0x14
test eax, eax
jne 0x40e153
push eax
push eax
lea ecx, [ebp - 0x594]
push ecx
call fcn.0040fd02
add esp, 0xc
mov dword [ebx + 0x414], eax
push 0x200
push esi
lea eax, [ebp - 0xd94]
mov ecx, str.license_key
call fcn.0040db80
push 0x400
lea edx, [ebp - 0x594]
push 0
push edx
call fcn.00410110
lea eax, [ebp - 0x594]
push 0x400
push eax
lea eax, [ebp - 0xd94]
mov ecx, str.timestamp
call fcn.0040db80
add esp, 0x1c
test eax, eax
jne 0x40e1b6
push eax
push eax
lea ecx, [ebp - 0x594]
push ecx
call fcn.0040fd02
add esp, 0xc
mov dword [ebx + 0x404], eax
push 0x400
push edi
lea eax, [ebp - 0xd94]
mov ecx, str.signature
call fcn.0040db80
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e275
mov ecx, ebx
call fcn.0040d330
mov edx, dword [ebp - 0x3398]
push edx
mov esi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x33a0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f43d
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x3398]
push edx
mov esi, 0xd
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x33a0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f43d
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x3398]
push edx
mov esi, 0x54f
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x33a0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f43d
mov esp, ebp
pop ebp
ret
mov esi, 0x4b1
mov edx, dword [ebp - 0x3398]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x33a0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f43d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x33a0]
push eax
mov esi, 0x4b1
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f43d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x33a0]
push eax
mov esi, 0x54f
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f43d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 0x54f
pop esi
call fcn.0040f43d
mov esp, ebp
pop ebp
ret