Function at 0x10051360
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e5b71
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x348
mov eax, dword [0x103dda04]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x350], 0xd4609f22
lea eax, [ebp - 0x350]
mov dword [ebp - 0x34c], 0x6b2725c0
mov dword [ebp - 0x348], 0x99874bfc
mov dword [ebp - 0x344], 0x7d0ba979
mov dword [ebp - 0x340], 0xd5967359
mov dword [ebp - 0x33c], 0xe23be5ac
mov dword [ebp - 0x338], 0x8a4004f2
mov dword [ebp - 0x334], 0x2bd4cbce
mov dword [ebp - 0x330], 0x9799e3f3
mov dword [ebp - 0x32c], 0x2072a8f9
mov dword [ebp - 0x328], 0x87f797cb
mov dword [ebp - 0x324], 0x96074a1
mov dword [ebp - 0x320], 0x199db9fc
mov dword [ebp - 0x31c], 0x18167c92
mov dword [ebp - 0x318], 0x66574126
mov dword [ebp - 0x314], 0x758b4d4f
movaps xmm1, xmmword [ebp - 0x350]
mov dword [ebp - 0x260], 0xbd1af06f
mov dword [ebp - 0x25c], 0x444649ac
mov dword [ebp - 0x258], 0xb9b765c8
mov dword [ebp - 0x254], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x260]
movaps xmmword [ebp - 0x350], xmm1
movaps xmm1, xmmword [ebp - 0x340]
mov dword [ebp - 0x250], 0xbce21229
mov dword [ebp - 0x24c], 0xd95e89ce
mov dword [ebp - 0x248], 0xc31349d2
mov dword [ebp - 0x244], 0x5edeb8b
pxor xmm1, xmmword [ebp - 0x250]
movaps xmmword [ebp - 0x340], xmm1
movaps xmm1, xmmword [ebp - 0x330]
push 0
push 0
mov dword [ebp - 0x240], 0xc0b9d8c3
mov dword [ebp - 0x23c], 0x4f16c690
mov dword [ebp - 0x238], 0xc9d7e4bc
mov dword [ebp - 0x234], 0x275654f5
pxor xmm1, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0x330], xmm1
movaps xmm1, xmmword [ebp - 0x320]
push 0
push 0
mov dword [ebp - 0x230], 0x199d90cd
mov dword [ebp - 0x22c], 0x18167c92
mov dword [ebp - 0x228], 0x66574126
mov dword [ebp - 0x224], 0x758b4d4f
pxor xmm1, xmmword [ebp - 0x230]
push eax
mov dword [ebp - 4], 2
movaps xmmword [ebp - 0x320], xmm1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x2ec], esi
test esi, esi
jne 0x1005182b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x250], 0x30f58ddd
mov dword [ebp - 0x24c], 0xcee2da83
mov dword [ebp - 0x248], 0x2c3c65e0
mov dword [ebp - 0x244], 0x104d9f0e
mov dword [ebp - 0x240], 0x2fcd1223
mov dword [ebp - 0x23c], 0x97bd036a
mov dword [ebp - 0x238], 0xc329316e
mov dword [ebp - 0x234], 0x5ddebab
mov dword [ebp - 0x230], 0xc09cd8bb
mov dword [ebp - 0x22c], 0x4f2ec6a0
mov dword [ebp - 0x228], 0xc9d7e4e4
mov dword [ebp - 0x224], 0x275654f5
movaps xmm1, xmmword [ebp - 0x250]
mov dword [ebp - 0x290], 0xbd1af06f
mov dword [ebp - 0x28c], 0x444649ac
mov dword [ebp - 0x288], 0xb9b765c8
mov dword [ebp - 0x284], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0x250], xmm1
movaps xmm1, xmmword [ebp - 0x240]
push eax
mov dword [ebp - 0x280], 0xbce21229
lea eax, [ebp - 0x250]
mov dword [ebp - 0x27c], 0xd95e89ce
mov dword [ebp - 0x278], 0xc31349d2
mov dword [ebp - 0x274], 0x5edeb8b
pxor xmm1, xmmword [ebp - 0x280]
movaps xmmword [ebp - 0x240], xmm1
movaps xmm1, xmmword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x270], 0xc0b9d8c3
mov dword [ebp - 0x26c], 0x4f16c690
mov dword [ebp - 0x268], 0xc9d7e4bc
mov dword [ebp - 0x264], 0x275654f5
pxor xmm1, xmmword [ebp - 0x270]
push eax
movaps xmmword [ebp - 0x230], xmm1
call fcn.10039250
add esp, 0xc
mov dword [ebp - 0x2e0], 0xbd68f02a
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2dc], 0x442949de
mov dword [ebp - 0x2d8], 0xb9b765ba
mov dword [ebp - 0x2d4], 0x1064ca51
push 0x10
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2d0], 0xbd1af06f
mov dword [ebp - 0x2cc], 0x444649ac
mov dword [ebp - 0x2c8], 0xb9b765c8
mov dword [ebp - 0x2c4], 0x1064ca51
movaps xmm1, xmmword [ebp - 0x2d0]
pxor xmm1, xmmword [ebp - 0x2e0]
push eax
push esi
movaps xmmword [ebp - 0x2e0], xmm1
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [edi + 0x10], esi
mov ecx, edi
mov dword [edi + 0x14], esi
push esi
mov dword [edi], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0xf
push 0x100e8578
mov byte [edi], 0
call fcn.10029ee0
mov ecx, dword [ebx + 0x20]
cmp ecx, 0x10
jb 0x10051796
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005178c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005245d
push ecx
push edx
call fcn.100b631d
add esp, 8
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
cmp ecx, 0x10
jb 0x100517dc
mov edx, dword [ebx + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100517d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005245d
push ecx
push edx
call fcn.100b631d
add esp, 8
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0xf
mov byte [ebx + 0x24], 0
cmp ecx, 0x10
jb 0x1005243b
mov edx, dword [ebx + 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005181c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005245d
push ecx
push edx
call fcn.100b631d
add esp, 8
jmp 0x1005243b
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
push 0
cmovae eax, dword [ebx + 0xc]
push 0
push 3
push 0
push 0
push 0x1bb
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, eax
mov dword [ebp - 0x2e8], ecx
test ecx, ecx
jne 0x10051a69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x250], 0x30f58ddd
mov dword [ebp - 0x24c], 0xcee2da83
mov dword [ebp - 0x248], 0x299465e0
mov dword [ebp - 0x244], 0x104da9f4
mov dword [ebp - 0x240], 0x2fcd1223
mov dword [ebp - 0x23c], 0x97bd036a
mov dword [ebp - 0x238], 0xc329316e
mov dword [ebp - 0x234], 0x5ddebab
mov dword [ebp - 0x230], 0xc09cd8bb
mov dword [ebp - 0x22c], 0x4f2ec6a0
mov dword [ebp - 0x228], 0xc9d7e4e4
mov dword [ebp - 0x224], 0x275654f5
movaps xmm1, xmmword [ebp - 0x250]
mov dword [ebp - 0x290], 0xbd1af06f
mov dword [ebp - 0x28c], 0x444649ac
mov dword [ebp - 0x288], 0xb9b765c8
mov dword [ebp - 0x284], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0x250], xmm1
movaps xmm1, xmmword [ebp - 0x240]
push eax
mov dword [ebp - 0x280], 0xbce21229
lea eax, [ebp - 0x250]
mov dword [ebp - 0x27c], 0xd95e89ce
mov dword [ebp - 0x278], 0xc31349d2
mov dword [ebp - 0x274], 0x5edeb8b
pxor xmm1, xmmword [ebp - 0x280]
movaps xmmword [ebp - 0x240], xmm1
movaps xmm1, xmmword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x270], 0xc0b9d8c3
mov dword [ebp - 0x26c], 0x4f16c690
mov dword [ebp - 0x268], 0xc9d7e4bc
mov dword [ebp - 0x264], 0x275654f5
pxor xmm1, xmmword [ebp - 0x270]
push eax
movaps xmmword [ebp - 0x230], xmm1
call fcn.10039250
add esp, 0xc
mov dword [ebp - 0x2e0], 0xbd68f02a
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2dc], 0x442949de
mov dword [ebp - 0x2d8], 0xb9b765ba
mov dword [ebp - 0x2d4], 0x1064ca51
push 0x10
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2d0], 0xbd1af06f
mov dword [ebp - 0x2cc], 0x444649ac
mov dword [ebp - 0x2c8], 0xb9b765c8
mov dword [ebp - 0x2c4], 0x1064ca51
movaps xmm1, xmmword [ebp - 0x2d0]
pxor xmm1, xmmword [ebp - 0x2e0]
push eax
push 0
movaps xmmword [ebp - 0x2e0], xmm1
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0
push 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x100e8578
mov byte [edi], 0
call fcn.10029ee0
jmp 0x10052423
cmp dword [ebx + 0x38], 0x10
lea eax, [ebx + 0x24]
push 0
cmovae eax, dword [ebx + 0x24]
push 0x80c8b200
push 0
push 0
push 0
push eax
mov dword [ebp - 0x2e0], 0xe949bf3f
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2dc], 0x444649ac
mov dword [ebp - 0x2d8], 0xb9b765c8
mov dword [ebp - 0x2d4], 0x1064ca51
movaps xmm1, xmmword [ebp - 0x2e0]
push eax
mov dword [ebp - 0x2d0], 0xbd1af06f
mov dword [ebp - 0x2cc], 0x444649ac
mov dword [ebp - 0x2c8], 0xb9b765c8
mov dword [ebp - 0x2c4], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x2d0]
push ecx
movaps xmmword [ebp - 0x2e0], xmm1
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x2e4], esi
test esi, esi
jne 0x10051d20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x250], 0x30f58ddd
mov dword [ebp - 0x24c], 0xcee2da83
mov dword [ebp - 0x248], 0xdbe465e0
mov dword [ebp - 0x244], 0x9aaf5fda
mov dword [ebp - 0x240], 0xbccb7e6b
mov dword [ebp - 0x23c], 0x4a7189c4
mov dword [ebp - 0x238], 0x8df0c376
mov dword [ebp - 0x234], 0x5d79337
mov dword [ebp - 0x230], 0xc089d8e3
mov dword [ebp - 0x22c], 0x4f33c6e8
mov dword [ebp - 0x228], 0xc9efe48c
mov dword [ebp - 0x224], 0x275654ad
movaps xmm1, xmmword [ebp - 0x250]
mov dword [ebp - 0x290], 0xbd1af06f
mov dword [ebp - 0x28c], 0x444649ac
mov dword [ebp - 0x288], 0xb9b765c8
mov dword [ebp - 0x284], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0x250], xmm1
movaps xmm1, xmmword [ebp - 0x240]
push eax
mov dword [ebp - 0x280], 0xbce21229
lea eax, [ebp - 0x250]
mov dword [ebp - 0x27c], 0xd95e89ce
mov dword [ebp - 0x278], 0xc31349d2
mov dword [ebp - 0x274], 0x5edeb8b
pxor xmm1, xmmword [ebp - 0x280]
movaps xmmword [ebp - 0x240], xmm1
movaps xmm1, xmmword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x270], 0xc0b9d8c3
mov dword [ebp - 0x26c], 0x4f16c690
mov dword [ebp - 0x268], 0xc9d7e4bc
mov dword [ebp - 0x264], 0x275654f5
pxor xmm1, xmmword [ebp - 0x270]
push eax
movaps xmmword [ebp - 0x230], xmm1
call fcn.10039250
add esp, 0xc
mov dword [ebp - 0x2e0], 0xbd68f02a
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2dc], 0x442949de
mov dword [ebp - 0x2d8], 0xb9b765ba
mov dword [ebp - 0x2d4], 0x1064ca51
push 0x10
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2d0], 0xbd1af06f
mov dword [ebp - 0x2cc], 0x444649ac
mov dword [ebp - 0x2c8], 0xb9b765c8
mov dword [ebp - 0x2c4], 0x1064ca51
movaps xmm1, xmmword [ebp - 0x2d0]
pxor xmm1, xmmword [ebp - 0x2e0]
push eax
push esi
movaps xmmword [ebp - 0x2e0], xmm1
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x2e8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x2ec]
call esi
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0
push 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x100e8578
mov byte [edi], 0
call fcn.10029ee0
jmp 0x10052423
lea eax, [ebp - 0x298]
mov dword [ebp - 0x298], 4
push eax
lea eax, [ebp - 0x294]
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [ebp - 0x294], 0x3100
lea eax, [ebp - 0x294]
push 4
push eax
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0xa0000000
mov dword [ebp - 0x2d0], 0xd879932e
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2cc], 0x647c3ddc
mov dword [ebp - 0x2c8], 0xb99d4ae2
mov dword [ebp - 0x2c4], 0x1064ca51
movaps xmm1, xmmword [ebp - 0x2d0]
push 0xffffffffffffffff
mov dword [ebp - 0x300], 0xbd1af06f
mov dword [ebp - 0x2fc], 0x444649ac
mov dword [ebp - 0x2f8], 0xb9b765c8
mov dword [ebp - 0x2f4], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x300]
push eax
push esi
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
movaps xmmword [ebp - 0x2d0], xmm1
call esi
mov dword [ebp - 0x250], 0xc9749f2c
lea eax, [ebp - 0x250]
mov dword [ebp - 0x24c], 0x693227c9
mov dword [ebp - 0x248], 0xdcc71c9c
mov dword [ebp - 0x244], 0x6005ea6b
mov dword [ebp - 0x240], 0xdf8b7e59
mov dword [ebp - 0x23c], 0xb637fdaf
mov dword [ebp - 0x238], 0xee6b66bc
mov dword [ebp - 0x234], 0x289a9cfc
mov dword [ebp - 0x230], 0xadcbb7a5
mov dword [ebp - 0x22c], 0x2364b3bd
mov dword [ebp - 0x228], 0xa6b48ad9
mov dword [ebp - 0x224], 0x27323191
movaps xmm1, xmmword [ebp - 0x250]
mov dword [ebp - 0x290], 0xbd1af06f
mov dword [ebp - 0x28c], 0x444649ac
mov dword [ebp - 0x288], 0xb9b765c8
mov dword [ebp - 0x284], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0x250], xmm1
movaps xmm1, xmmword [ebp - 0x240]
push 0xa0000000
mov dword [ebp - 0x280], 0xbce21229
mov dword [ebp - 0x27c], 0xd95e89ce
mov dword [ebp - 0x278], 0xc31349d2
mov dword [ebp - 0x274], 0x5edeb8b
pxor xmm1, xmmword [ebp - 0x280]
push 0xffffffffffffffff
movaps xmmword [ebp - 0x240], xmm1
movaps xmm1, xmmword [ebp - 0x230]
push eax
push dword [ebp - 0x2e4]
mov dword [ebp - 0x270], 0xc0b9d8c3
mov dword [ebp - 0x26c], 0x4f16c690
mov dword [ebp - 0x268], 0xc9d7e4bc
mov dword [ebp - 0x264], 0x275654f5
pxor xmm1, xmmword [ebp - 0x270]
movaps xmmword [ebp - 0x230], xmm1
call esi
push dword [ebx + 0x4c]
cmp dword [ebx + 0x50], 0x10
lea eax, [ebx + 0x3c]
mov esi, dword [ebp - 0x2e4]
cmovae eax, dword [ebx + 0x3c]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10052168
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x250], 0x30f58ddd
mov dword [ebp - 0x24c], 0xcee2da83
mov dword [ebp - 0x248], 0xcfcb65e0
mov dword [ebp - 0x244], 0x9aaf5a50
mov dword [ebp - 0x240], 0xbccb7e6b
mov dword [ebp - 0x23c], 0x4a7189c4
mov dword [ebp - 0x238], 0x8df0c376
mov dword [ebp - 0x234], 0x5d79337
mov dword [ebp - 0x230], 0xc089d8e3
mov dword [ebp - 0x22c], 0x4f33c6e8
mov dword [ebp - 0x228], 0xc9efe48c
mov dword [ebp - 0x224], 0x275654ad
movaps xmm1, xmmword [ebp - 0x250]
mov dword [ebp - 0x290], 0xbd1af06f
mov dword [ebp - 0x28c], 0x444649ac
mov dword [ebp - 0x288], 0xb9b765c8
mov dword [ebp - 0x284], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0x250], xmm1
movaps xmm1, xmmword [ebp - 0x240]
push eax
mov dword [ebp - 0x280], 0xbce21229
lea eax, [ebp - 0x250]
mov dword [ebp - 0x27c], 0xd95e89ce
mov dword [ebp - 0x278], 0xc31349d2
mov dword [ebp - 0x274], 0x5edeb8b
pxor xmm1, xmmword [ebp - 0x280]
movaps xmmword [ebp - 0x240], xmm1
movaps xmm1, xmmword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x270], 0xc0b9d8c3
mov dword [ebp - 0x26c], 0x4f16c690
mov dword [ebp - 0x268], 0xc9d7e4bc
mov dword [ebp - 0x264], 0x275654f5
pxor xmm1, xmmword [ebp - 0x270]
push eax
movaps xmmword [ebp - 0x230], xmm1
call fcn.10039250
add esp, 0xc
mov dword [ebp - 0x2d0], 0xbd68f02a
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2cc], 0x442949de
mov dword [ebp - 0x2c8], 0xb9b765ba
mov dword [ebp - 0x2c4], 0x1064ca51
push 0x10
push eax
mov dword [ebp - 0x300], 0xbd1af06f
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2fc], 0x444649ac
mov dword [ebp - 0x2f8], 0xb9b765c8
mov dword [ebp - 0x2f4], 0x1064ca51
movaps xmm1, xmmword [ebp - 0x300]
pxor xmm1, xmmword [ebp - 0x2d0]
push eax
push 0
movaps xmmword [ebp - 0x2d0], xmm1
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x2e8]
call esi
push dword [ebp - 0x2ec]
call esi
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0
push 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x100e8578
mov byte [edi], 0
call fcn.10029ee0
jmp 0x10052423
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0xf
mov byte [ebp - 0x2b0], 0
push 0
push 0
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 3
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x100523f1
mov eax, dword [ebp - 0x2b4]
inc eax
push eax
call fcn.100aaf30
mov ecx, dword [ebp - 0x2b4]
add esp, 4
mov esi, eax
inc ecx
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x308], esi
push eax
push ecx
push esi
push dword [ebp - 0x2e4]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x2b8]
test ecx, ecx
je 0x100523dc
test eax, eax
jne 0x10052368
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x280], 0xd86e9e26
mov dword [ebp - 0x27c], 0x302327de
mov dword [ebp - 0x278], 0xd6c5178d
mov dword [ebp - 0x274], 0x2044f023
mov dword [ebp - 0x270], 0x84d23751
mov dword [ebp - 0x26c], 0xd95e8996
mov dword [ebp - 0x268], 0xc31349d2
mov dword [ebp - 0x264], 0x5edeb8b
movaps xmm1, xmmword [ebp - 0x280]
push eax
mov dword [ebp - 0x240], 0xbd1af06f
lea eax, [ebp - 0x280]
mov dword [ebp - 0x23c], 0x444649ac
mov dword [ebp - 0x238], 0xb9b765c8
mov dword [ebp - 0x234], 0x1064ca51
pxor xmm1, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0x280], xmm1
movaps xmm1, xmmword [ebp - 0x270]
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x230], 0xbce21229
mov dword [ebp - 0x22c], 0xd95e89ce
mov dword [ebp - 0x228], 0xc31349d2
mov dword [ebp - 0x224], 0x5edeb8b
pxor xmm1, xmmword [ebp - 0x230]
push eax
movaps xmmword [ebp - 0x270], xmm1
call fcn.1004d850
add esp, 0xc
mov dword [ebp - 0x2d0], 0xd268822a
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2cc], 0x444649de
mov dword [ebp - 0x2c8], 0xb9b765c8
mov dword [ebp - 0x2c4], 0x1064ca51
push 0x10
push eax
mov dword [ebp - 0x300], 0xbd1af06f
lea eax, [ebp - 0x118]
mov dword [ebp - 0x2fc], 0x444649ac
mov dword [ebp - 0x2f8], 0xb9b765c8
mov dword [ebp - 0x2f4], 0x1064ca51
movaps xmm1, xmmword [ebp - 0x300]
pxor xmm1, xmmword [ebp - 0x2d0]
push eax
push 0
movaps xmmword [ebp - 0x2d0], xmm1
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100523b1
cmp dword [ebp - 0x29c], 0x10
lea edi, [ecx + esi]
mov esi, dword [ebp - 0x308]
lea ecx, [ebp - 0x2b0]
cmovae ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x2b0]
add ecx, dword [ebp - 0x2a0]
cmp dword [ebp - 0x29c], 0x10
cmovae eax, dword [ebp - 0x2b0]
sub edi, esi
push edi
sub ecx, eax
push esi
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.10052470
push esi
call fcn.100aaf50
mov esi, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2b4]
add esp, 4
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x100521b5
jmp 0x100523eb
push esi
call fcn.100aaf50
mov esi, dword [ebp - 0x2e4]
add esp, 4
mov edi, dword [ebp - 0x304]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x2e8]
call esi
push dword [ebp - 0x2ec]
call esi
lea eax, [ebp - 0x2b0]
mov ecx, edi
push eax
call fcn.10051310
lea ecx, [ebp - 0x2b0]
call fcn.1000d0d0
lea ecx, [ebx + 0xc]
call fcn.1000d0d0
lea ecx, [ebx + 0x24]
call fcn.1000d0d0
lea ecx, [ebx + 0x3c]
call fcn.1000d0d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b684e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x4c
call fcn.100bbdff
int3