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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd74
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x26c], ecx
xor eax, eax
push ebp
push 0x438b23
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x446b78]
dec eax
test al, al
jb 0x438823
inc eax
mov byte [ebp - 0x19], al
mov esi, 0x446b7c
mov eax, dword [esi]
mov edi, eax
cmp byte [edi + 0x6f4], 0
jne 0x438817
xor ebx, ebx
jmp 0x4383fd
inc ebx
mov eax, dword [0x4468a8]
call fcn.0040882c
push 0xfa
call sub.kernel32.dll_Sleep
lea eax, [edi + 0x6d8]
push eax
mov eax, dword [edi + 0x28]
push eax
call sub.kernel32.dll_GetDevicePowerState
test eax, eax
jne 0x438416
cmp bl, 0x28
jne 0x4383e8
cmp bl, 0x28
jne 0x43843a
mov byte [edi + 0x6f4], 1
mov edx, dword [esi]
mov eax, 0x438b3c
call fcn.0041f3dc
mov eax, edi
call fcn.00427e60
jmp 0x438817
cmp byte [edi + 0x70b], 0
jne 0x43845c
cmp byte [edi + 0x6c0], 0
je 0x43845c
cmp dword [edi + 0x6c4], 0
jne 0x43845c
mov eax, edi
call fcn.00424bc4
xor ebx, ebx
jmp 0x438485
inc ebx
mov eax, dword [0x4468a8]
call fcn.0040882c
push 0xfa
call sub.kernel32.dll_Sleep
lea eax, [edi + 0x6d8]
push eax
mov eax, dword [edi + 0x28]
push eax
call sub.kernel32.dll_GetDevicePowerState
cmp dword [edi + 0x6d8], 0
jne 0x438493
cmp bl, 0x28
jne 0x438460
mov eax, dword [edi + 0x6d8]
cmp eax, 1
sbb eax, eax
neg eax
neg al
sbb eax, eax
mov dword [edi + 0x6d8], eax
test eax, eax
je 0x4384d9
cmp byte [edi + 0x6dc], 0
jne 0x438680
mov byte [edi + 0x6dc], 1
mov ecx, 1
mov edx, 0x438b60
mov eax, dword [edi + 0x24]
call fcn.0040688c
jmp 0x438680
mov ebx, dword [edi + 0x6e0]
mov al, byte [edi + 0xa6]
mov byte [ebp - 1], al
mov al, byte [edi + 0xa9]
mov byte [ebp - 2], al
mov al, byte [edi + 0x8e]
mov byte [ebp - 3], al
mov eax, edi
call fcn.00424af4
cmp byte [edi + 0x70b], 0
jne 0x43855d
cmp byte [edi + 0x2763], 0
jne 0x438536
mov eax, edi
call fcn.004283d0
test al, al
jne 0x438536
mov byte [edi + 0x2763], 1
mov edx, dword [esi]
mov eax, 0x438b7c
call fcn.0041f3dc
jmp 0x438af5
mov eax, edi
call fcn.004283b0
mov byte [edi + 0x2ac], al
cmp byte [edi + 0x2ac], 0
jne 0x43855d
mov edx, dword [esi]
mov eax, 0x438bac
call fcn.0041f3dc
jmp 0x438af5
mov eax, edi
call fcn.00428400
mov eax, edi
call fcn.004219a8
mov al, byte [edi + 0x8e]
cmp al, byte [ebp - 3]
je 0x43857d
mov byte [edi + 0x2762], 1
mov al, byte [edi + 0x8e]
test al, al
je 0x4385c8
cmp al, byte [edi + 0x8f]
jbe 0x4385aa
mov byte [edi + 0x8f], al
xor ecx, ecx
mov cl, byte [edi + 0x8e]
mov edx, 0x438bd0
mov eax, dword [edi + 0x24]
call fcn.0040688c
cmp byte [edi + 0x6e9], 0
jne 0x4385c8
mov al, byte [edi + 0x8e]
cmp al, byte [edi + 0x94]
jb 0x4385c8
mov eax, edi
call fcn.00427eac
cmp byte [0x446c44], 0
je 0x4385e9
cmp byte [edi + 0x6dd], 0
je 0x4385e9
cmp ebx, dword [edi + 0x6e0]
je 0x4385e9
mov eax, edi
call fcn.00427e6c
cmp byte [ebp - 1], 0
je 0x43860e
cmp byte [edi + 0xa6], 0
jne 0x43860e
mov byte [edi + 0xa8], 0
xor ecx, ecx
mov edx, 0x438be8
mov eax, dword [edi + 0x24]
call fcn.0040688c
cmp byte [0x446c44], 0
je 0x438630
cmp byte [edi + 0xa6], 0
je 0x438630
cmp byte [edi + 0xa8], 0
jne 0x438630
mov eax, edi
call fcn.00427f0c
cmp byte [ebp - 2], 0
je 0x438655
cmp byte [edi + 0xa9], 0
jne 0x438655
mov byte [edi + 0xab], 0
xor ecx, ecx
mov edx, 0x438c04
mov eax, dword [edi + 0x24]
call fcn.0040688c
cmp byte [0x446c44], 0
je 0x438680
cmp byte [edi + 0xa6], 0
jne 0x438680
cmp byte [edi + 0xa9], 0
je 0x438680
cmp byte [edi + 0xab], 0
jne 0x438680
mov eax, edi
call fcn.00427f24
cmp byte [0x446c44], 0
je 0x438817
cmp byte [edi + 0x6af], 0
jne 0x4386a3
cmp byte [edi + 0x6b0], 0
je 0x438817
cmp byte [edi + 0x70b], 0
je 0x43878e
lea eax, [ebp - 0x264]
xor ecx, ecx
mov edx, 0x234
call fcn.00402b54
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 8
call fcn.00402b54
mov byte [ebp - 0x12], 0xb0
mov byte [ebp - 0x18], 0xd5
mov byte [ebp - 0x16], 6
lea ecx, [ebp - 0x264]
lea edx, [ebp - 0x18]
mov eax, edi
call fcn.00420ea4
test al, al
je 0x438817
test byte [ebp - 0x264], 0xf
jne 0x438817
mov byte [edi + 0x6af], 0
mov byte [edi + 0x6b0], 0
test byte [ebp - 0x260], 0xf
jne 0x438725
mov eax, edi
call fcn.00427ec4
jmp 0x438817
mov al, byte [ebp - 0x260]
and al, 0xf
mov edx, eax
dec edx
sub dl, 4
jb 0x43873b
add al, 0xf8
sub al, 2
jae 0x438747
mov eax, edi
call fcn.00427edc
jmp 0x438817
mov eax, edi
call fcn.00427ef4
mov al, byte [ebp - 0x260]
and al, 0xf
and eax, 0xff
lea edx, [ebp - 0x26c]
call fcn.0040628c
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
mov edx, 0x438c1c
call fcn.00403df4
mov eax, dword [ebp - 0x268]
mov edx, dword [esi]
call fcn.0041f3dc
jmp 0x438817
xor eax, eax
mov al, byte [edi + 0x418]
shr eax, 4
mov byte [edi + 0x418], al
cmp al, 0xf
je 0x438810
mov byte [edi + 0x6af], 0
mov byte [edi + 0x6b0], 0
mov al, byte [edi + 0x418]
test al, al
jne 0x4387c4
mov eax, edi
call fcn.00427ec4
jmp 0x438817
cmp al, 1
jne 0x4387d1
mov eax, edi
call fcn.00427edc
jmp 0x438817
mov eax, edi
call fcn.00427ef4
lea edx, [ebp - 0x274]
xor eax, eax
mov al, byte [edi + 0x418]
call fcn.0040628c
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x270]
mov edx, 0x438c1c
call fcn.00403df4
mov eax, dword [ebp - 0x270]
mov edx, dword [esi]
call fcn.0041f3dc
jmp 0x438817
mov eax, edi
call fcn.00424bc4
add esi, 4
dec byte [ebp - 0x19]
jne 0x4383d3
call fcn.00433d0c
cmp byte [0x446c7c], 0
je 0x43883d
mov byte [0x446c7c], 0
jmp 0x438af5
inc dword [0x446c74]
mov eax, dword [0x446c74]
mov dword [ebp - 0x27c], eax
xor eax, eax
mov dword [ebp - 0x278], eax
fild qword [ebp - 0x27c]
fdiv dword [0x438c40]
call fcn.00402a3c
fcomp dword [0x438c44]
fnstsw ax
sahf
jne 0x438af5
xor ebx, ebx
mov byte [0x446c7b], 0
mov al, byte [0x446b78]
dec eax
test al, al
jb 0x438976
inc eax
mov byte [ebp - 0x19], al
mov esi, 0x446b7c
mov eax, dword [esi]
mov edi, eax
cmp byte [edi + 0x6f4], 0
jne 0x43896a
cmp byte [edi + 0x6c0], 0
je 0x438914
cmp dword [edi + 0x6c4], 0
jne 0x438914
mov edx, dword [edi + 0x6c8]
cmp edx, dword [edi + 0x6cc]
jbe 0x4388e1
mov edx, eax
mov eax, 0x438c50
call fcn.0041f3dc
mov eax, dword [edi + 0x6cc]
mov dword [edi + 0x6c8], eax
jmp 0x438914
mov eax, dword [edi + 0x6cc]
sub eax, dword [edi + 0x6c8]
mov dword [edi + 0x6c4], eax
test eax, eax
jne 0x438901
mov dword [edi + 0x6c4], 1
mov ecx, dword [edi + 0x6c4]
mov eax, dword [edi + 0x24]
mov edx, 0x438c6c
call fcn.0040688c
lea ecx, [ebp - 0x280]
mov eax, dword [edi + 0x24]
mov edx, 0x438c88
call fcn.00406828
mov edx, dword [ebp - 0x280]
mov eax, dword [0x4469f4]
call fcn.00403ef4
je 0x43893a
inc ebx
cmp byte [edi + 0x8e], 0
je 0x43896a
mov al, byte [edi + 0x8f]
cmp al, byte [edi + 0x90]
jbe 0x43896a
mov al, byte [edi + 0x8f]
cmp al, byte [0x446c7b]
jbe 0x43896a
mov al, byte [edi + 0x8f]
mov byte [0x446c7b], al
add esi, 4
dec byte [ebp - 0x19]
jne 0x438896
test bl, bl
je 0x4389af
cmp byte [0x446c78], 0
jne 0x438af5
lea ecx, [ebp - 0x27c]
mov edx, 0x4380d4
xor eax, eax
call fcn.00405c8c
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
call fcn.00406b28
jmp 0x438af5
cmp byte [0x446c7b], 0
je 0x4389ed
cmp byte [0x446c79], 0
jne 0x438af5
lea ecx, [ebp - 0x27c]
mov edx, 0x437ecc
xor eax, eax
call fcn.00405c8c
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
call fcn.00406b28
jmp 0x438af5
cmp byte [0x446bff], 0
je 0x438af5
cmp byte [0x446c7a], 0
jne 0x438af5
push 0
push 0
push 0
push 0
push 0x438c9c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0040e868
push 0
push 0x80000000
push 0
push 0
push 0x438ca8
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x438aec
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x17
call fcn.00402b54
lea eax, [ebp - 0x10]
push eax
push 0x17
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x30]
mov ecx, 0x17
call fcn.00403d60
mov eax, dword [ebp - 0x288]
lea edx, [ebp - 0x284]
call fcn.004382f0
mov eax, dword [ebp - 0x284]
push eax
lea edx, [ebp - 0x28c]
mov eax, dword [0x4469f4]
call fcn.004382f0
mov edx, dword [ebp - 0x28c]
pop eax
call fcn.00403ef4
jbe 0x438af5
lea ecx, [ebp - 0x27c]
mov edx, 0x438020
xor eax, eax
call fcn.00405c8c
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
call fcn.00406b28
jmp 0x438af5
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438b2a
lea eax, [ebp - 0x28c]
mov edx, 4
call fcn.00403b30
lea eax, [ebp - 0x274]
mov edx, 4
call fcn.00403b30
ret