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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x5e21cc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5e2c2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x80004005
mov dl, 1
mov eax, dword [0x41ef44]
call fcn.00403c40
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 8]
call fcn.00405548
mov edx, eax
sub edx, 3
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.004056e8
mov eax, dword [ebp - 0x3c]
mov edx, 0x5e2c44
call fcn.00409fd8
test eax, eax
je 0x5e2287
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
call fcn.00405548
mov edx, eax
sub edx, 4
mov ecx, 5
mov eax, dword [ebp - 8]
call fcn.004056e8
mov eax, dword [ebp - 0x40]
mov edx, 0x5e2c54
call fcn.00409fd8
test eax, eax
je 0x5e2287
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.00496d64
mov edx, dword [ebp - 0x44]
mov eax, 0x5e2c64
call fcn.00405860
test eax, eax
jle 0x5e2579
mov dl, 1
mov eax, dword [0x41ef44]
call fcn.00403c40
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.00496d64
mov eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov edx, dword [0x6e4a30]
mov edx, dword [edx]
call fcn.004054bc
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.005d6fdc
cmp al, 1
jne 0x5e23a7
push 0
push 0
push 0
push 0
mov eax, dword [0x6e3718]
mov eax, dword [eax]
call fcn.0040508c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x5e23f3
push 0
push 0x80000000
push 0
push 0
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 8]
call fcn.00404e54
mov eax, dword [ebp - 0x50]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x5e239c
mov eax, 0x401
call fcn.00402b48
mov ebx, eax
mov edx, 0x401
mov eax, ebx
call fcn.00408700
lea eax, [ebp - 0x30]
push eax
push 0x401
push ebx
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x30], 0
jbe 0x5e2381
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
mov edx, ebx
mov ecx, 0x401
call fcn.00404e20
mov edx, dword [ebp - 0x58]
pop eax
call fcn.00404e94
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp - 0x30], 0
jne 0x5e232a
mov edx, 0x401
mov eax, ebx
call fcn.00402b78
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetCloseHandle
jmp 0x5e23f3
xor eax, eax
push ebp
push 0x5e23d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x494264]
call fcn.004952cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e23de
test ebx, ebx
je 0x5e23f3
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, ebx
call fcn.00403c70
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5e256f
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 8]
call fcn.00405548
mov edx, eax
sub edx, 4
mov ecx, 5
mov eax, dword [ebp - 8]
call fcn.004056e8
mov eax, dword [ebp - 0x5c]
mov edx, 0x5e2c54
call fcn.00409fd8
test eax, eax
jne 0x5e24a2
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5e256f
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x64]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00409c98
mov edx, dword [ebp - 0x60]
mov eax, 0x5e2c88
call fcn.004051d0
test eax, eax
jle 0x5e2499
lea ecx, [ebp - 0x6c]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x68]
mov eax, 0x5e2c98
call fcn.005d5e20
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x5e2448
jmp 0x5e256f
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5e256f
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00409c98
mov eax, dword [ebp - 0x70]
mov edx, 0x5e2cac
call fcn.005d7098
test al, al
je 0x5e2567
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x7c]
call fcn.00404e8c
push eax
lea ecx, [ebp - 0x80]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x80]
mov eax, 0x5e2cbc
call fcn.004051d0
pop edx
sub edx, eax
push edx
lea ecx, [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x84]
mov eax, 0x5e2cbc
call fcn.004051d0
inc eax
push eax
lea ecx, [ebp - 0x88]
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x88]
pop edx
pop ecx
call fcn.004050ec
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x5e24b8
mov eax, dword [ebp - 0x20]
call fcn.00403c70
jmp 0x5e2595
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 8]
call fcn.00404e54
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5e2b1b
lea edx, [ebp - 0x90]
mov eax, dword [0x6e5bec]
call fcn.00409b74
mov ecx, dword [ebp - 0x90]
mov edx, dword [0x6e5e98]
mov edx, dword [edx]
mov eax, 0x80000000
call fcn.005dac34
mov esi, eax
and esi, 0x7f
xor ebx, ebx
lea eax, [ebp - 0x18]
call fcn.00406cb4
mov eax, esi
sub eax, 1
jb 0x5e25e7
je 0x5e2620
jmp 0x5e2657
lea ecx, [ebp - 0x98]
mov edx, ebx
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
call fcn.004054bc
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x18]
mov eax, dword [0x6e4290]
call fcn.005e1918
mov dword [ebp - 0xc], eax
jmp 0x5e2657
lea ecx, [ebp - 0xa0]
mov edx, ebx
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
call fcn.004054bc
mov edx, dword [ebp - 0x9c]
lea ecx, [ebp - 0x18]
mov eax, dword [0x6e5bec]
call fcn.005e1918
mov dword [ebp - 0xc], eax
inc ebx
cmp dword [ebp - 0xc], 0
je 0x5e266e
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x5e25d4
cmp dword [ebp - 0xc], 0
jne 0x5e2b3a
push 0x5e2cc0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5e2b11
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.005ddcdc
cmp dword [ebp - 0x14], 0
je 0x5e2af8
sub esi, 1
jb 0x5e26be
je 0x5e27cd
jmp 0x5e2acb
mov eax, dword [0x6e4dd0]
cmp byte [eax], 1
jne 0x5e277c
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [0x6e4204]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4c5b4c]
call fcn.004c63e0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xf4], ebx
lea eax, [ebp - 0xa4]
mov edx, dword [0x6e4204]
mov edx, dword [edx]
call fcn.004054bc
mov eax, dword [ebp - 0xa4]
call fcn.00405538
push eax
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 4]
mov edx, ebx
test edx, edx
je 0x5e2722
sub edx, 0xfffffff0
mov ecx, 0x5e2ce4
call fcn.00406cf8
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x5e2771
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xf4]
mov eax, dword [0x6e3f1c]
mov eax, dword [eax]
call fcn.006cd2d8
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
call fcn.0052b4f8
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
call fcn.0052b4b0
jmp 0x5e277c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf4], edx
lea eax, [ebp - 0x38]
call fcn.00406cb4
push eax
mov eax, dword [0x6e3634]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
jne 0x5e27b9
mov eax, dword [0x6e3f1c]
mov eax, dword [eax]
test eax, eax
je 0x5e27a7
sub eax, 0xffffffd4
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x38]
call fcn.00406cb4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
jmp 0x5e2acb
mov ebx, dword [0x6e494c]
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
je 0x5e27e6
mov eax, dword [0x6e66a0]
mov eax, dword [eax]
cmp ebx, dword [eax + 8]
jl 0x5e27ed
call fcn.00602278
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x5e2acb
mov eax, dword [0x6e4dd0]
cmp byte [eax], 1
jne 0x5e299a
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf4], 0
jne 0x5e28c4
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [0x6e4204]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4c5b4c]
call fcn.004c63e0
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xf4], esi
lea eax, [ebp - 0xac]
mov edx, dword [0x6e4204]
mov edx, dword [edx]
call fcn.004054bc
mov eax, dword [ebp - 0xac]
call fcn.00405538
push eax
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 4]
mov edx, esi
test edx, edx
je 0x5e286a
sub edx, 0xfffffff0
mov ecx, 0x5e2ce4
call fcn.00406cf8
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x5e28b9
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xf4]
mov eax, dword [0x6e3f1c]
mov eax, dword [eax]
call fcn.006cd2d8
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
call fcn.0052b4f8
mov eax, dword [0x6e3b70]
mov eax, dword [eax]
call fcn.0052b4b0
jmp 0x5e28c4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf4], edx
mov esi, dword [ebp - 4]
mov esi, dword [esi + 0xf4]
test esi, esi
je 0x5e299a
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 4]
mov edx, esi
test edx, edx
je 0x5e28e7
sub edx, 0xfffffff0
mov ecx, 0x5e2ce4
call fcn.00406cf8
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x10]
call fcn.005ddeb0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x5e2955
lea eax, [ebp - 0x14]
call fcn.00406cb4
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xf4]
test edx, edx
je 0x5e293b
sub edx, 0xfffffff0
mov ecx, 0x5e2ce4
call fcn.00406cf8
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0x14]
call fcn.005ddcdc
jmp 0x5e2992
lea eax, [ebp - 0xbc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xf4]
test edx, edx
je 0x5e296b
sub edx, 0xfffffff0
mov ecx, 0x5e2ce4
call fcn.00406cf8
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf4], edx
lea eax, [ebp - 0x10]
call fcn.00406cb4
lea eax, [ebp - 0x1c]
call fcn.00406cb4
push eax
mov eax, dword [0x6e5770]
push eax
push 0
push 0
mov eax, dword [0x6e66a0]
mov eax, dword [eax]
mov edx, ebx
call fcn.00435d60
mov eax, dword [eax + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x5e2acb
mov eax, dword [0x6e66a0]
mov eax, dword [eax]
mov edx, ebx
call fcn.00435d60
mov edx, dword [eax + 4]
lea eax, [ebp - 0xc0]
call fcn.004054bc
mov eax, dword [ebp - 0xc0]
call fcn.00405538
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x5e2ac3
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.005de164
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x5e2a91
mov eax, dword [0x6e32b0]
cmp byte [eax], 1
jne 0x5e2a51
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
call fcn.005e170c
mov eax, dword [0x6e47ec]
cmp byte [eax], 1
jne 0x5e2a71
mov eax, dword [0x6e555c]
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
call fcn.005e1800
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
lea eax, [ebp - 0x1c]
call fcn.00406cb4
mov dword [ebp - 0xc], 0x80004005
jmp 0x5e2ab9
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00406ccc
mov eax, dword [ebp - 4]
inc dword [eax + 0x28]
lea eax, [ebp - 0x1c]
call fcn.00406cb4
lea eax, [ebp - 0x10]
call fcn.00406cb4
jmp 0x5e2acb
lea eax, [ebp - 0x1c]
call fcn.00406cb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x2c]
mov edx, dword [ebp - 0x18]
call fcn.00406ccc
mov eax, dword [ebp - 4]
inc dword [eax + 0x28]
lea eax, [ebp - 0x18]
call fcn.00406cb4
lea eax, [ebp - 0x14]
call fcn.00406cb4
jmp 0x5e2b3a
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
lea eax, [ebp - 0x18]
call fcn.00406cb4
jmp 0x5e2b3a
lea eax, [ebp - 0x18]
call fcn.00406cb4
jmp 0x5e2b3a
lea edx, [ebp - 0xc4]
mov eax, dword [0x6e3734]
mov eax, dword [eax]
call fcn.005d1e94
mov eax, dword [ebp - 0xc4]
xor edx, edx
call fcn.00521c9c
mov eax, dword [ebp - 0x24]
call fcn.00403c70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e2c35
lea eax, [ebp - 0xc4]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 0xbc]
mov edx, dword [0x4ab55c]
mov ecx, 4
call fcn.00405a34
lea eax, [ebp - 0xac]
call fcn.004052d8
lea eax, [ebp - 0xa8]
call fcn.00406cb4
lea eax, [ebp - 0xa4]
call fcn.004052d8
lea eax, [ebp - 0xa0]
call fcn.00404ba0
lea eax, [ebp - 0x9c]
call fcn.004052d8
lea eax, [ebp - 0x98]
call fcn.00404ba0
lea eax, [ebp - 0x94]
call fcn.004052d8
lea eax, [ebp - 0x90]
mov edx, 0xd
call fcn.00404bc4
lea eax, [ebp - 0x5c]
call fcn.004052d8
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.004052f0
lea eax, [ebp - 0x38]
call fcn.00406cb4
lea eax, [ebp - 0x1c]
mov edx, dword [0x4ab55c]
mov ecx, 2
call fcn.00405a34
lea eax, [ebp - 0x14]
mov edx, dword [0x4ab498]
mov ecx, 2
call fcn.00405a34
lea eax, [ebp - 8]
call fcn.004052d8
ret