Function at 0x435ed0
Capabilities:
Check http status code
Get http content length
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d12b5
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x38]
push 0
push 3
push dword [ebp + 0x24]
mov dword [eax], 0
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [eax]
push dword [ebp + 8]
call fcn.00436c60
test eax, eax
jne 0x436b4b
mov eax, dword [edi + 4]
mov dword [ebp - 0x60], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x6c], 0x4f208c
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x30]
shl eax, 0x17
add eax, 0x8440c000
mov dword [ebp - 0x8c], 0x4f1fc8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x88], 0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00402750
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x435f91
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004025b0
mov eax, dword [edi + 8]
push dword [edi + 0x68]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov dword [edi + 0x34], 6
mov byte [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push dword [ebp - 0x44]
lea eax, [ebp - 0x8c]
push eax
push 0x4ed694
push str.HTTP_1.0
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
test eax, eax
jne 0x436024
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x3e5
jne 0x43601b
cmp byte [edi + 0x38], 0
jne 0x436030
nop word [eax + eax]
lea ecx, [edi + 0xc]
call fcn.004382f0
test al, al
jne 0x43600f
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x435ff0
jmp 0x436030
mov dword [ebp - 0x10], 0xe0000008
jmp 0x436af5
test eax, eax
je 0x436030
jmp 0x436af5
push dword [edi + 0x68]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 4], 0
jne 0x436044
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x436af5
mov ecx, dword [edi + 0x70]
mov edx, dword [edi + 0x68]
mov eax, dword [edi + 4]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x7c], 0x4f2084
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x7c], 0x4f2100
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 4
cmp byte [ebp + 0x30], 0
je 0x4360ba
cmp byte [edi + 0xa4], 0
je 0x4360ba
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1f
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
push dword [ebp - 0x18]
or dword [ebp - 0x20], 0x13380
lea eax, [ebp - 0x20]
push eax
push 0x1f
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
call fcn.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x34]
cmp dword [eax], 0
jbe 0x43616b
call fcn.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x34]
push dword [eax]
lea eax, [ebp - 0x18]
push str.Range:_bytes_u__r_n
push eax
call fcn.00408d80
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004025b0
mov byte [ebp - 4], 6
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43616b
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
cmp word [edi + 0x42], 0
lea edx, [edi + 0x42]
jbe 0x43622f
lea ecx, [ebp - 0x30]
call fcn.0040e640
mov byte [ebp - 4], 0xa
call fcn.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x18]
push dword [ebp - 0x30]
push str.If_Modified_Since:__s_r_n
push eax
call fcn.00408d80
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004025b0
mov byte [ebp - 4], 0xa
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436200
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43622f
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x58], 0
call fcn.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x90]
cmp dword [eax - 0xc], 0
je 0x4362c0
mov eax, dword [edi + 0x94]
lea ecx, [ebp - 0x24]
push dword [eax - 0xc]
push eax
call fcn.004025b0
mov ecx, dword [edi + 0x90]
lea edx, [ebp - 0x34]
push 0xfde9
call fcn.0040df30
mov eax, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [eax - 4], 1
jle 0x4362ba
push dword [eax - 0xc]
lea ecx, [ebp - 0x34]
call fcn.00404e50
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x80]
cmp dword [eax - 0xc], 0
je 0x43634a
call fcn.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x18]
push dword [edi + 0x80]
push str.Accept_Encoding:__s_r_n
push eax
call fcn.00408d80
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004025b0
mov byte [ebp - 4], 0x10
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43634a
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
mov eax, dword [edi + 0x98]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x436361
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.004025b0
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436380
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x14]
call esi
nop dword [eax]
mov ecx, dword [ebp - 0x24]
xor edx, edx
push dword [edi + 0x68]
mov esi, dword [edi + 4]
mov eax, dword [ecx - 0xc]
test eax, eax
mov dword [ebp - 0x20], eax
cmove ecx, edx
mov dword [edi + 0x34], 7
mov dword [ebp - 0x10], ecx
mov byte [edi + 0x38], dl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp - 0x58]
push dword [ebp - 0x48]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x436404
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x3e5
jne 0x4363fe
cmp byte [edi + 0x38], 0
jne 0x43640d
lea ecx, [edi + 0xc]
call fcn.004382f0
test al, al
jne 0x4363f5
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x4363d6
jmp 0x43640d
mov dword [ebp - 0x10], 0xe0000008
jmp 0x436422
test eax, eax
je 0x43640d
jmp 0x436422
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 0x30], 0
je 0x43641c
mov dword [ebp - 0x10], 0
jmp 0x436422
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x5c]
mov dword [edi + 0xa8], 0
push eax
lea esi, [edi + 0xa8]
mov dword [ebp - 0x5c], 4
push esi
push 0x20000013
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x436a36
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x28]
push eax
push 0x20000005
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x436480
xor ecx, ecx
mov dword [ebp - 0x28], ecx
jmp 0x436483
mov ecx, dword [ebp - 0x28]
cmp byte [edi + 0x62], 0
je 0x4364c3
cmp dword [esi], 0x130
je 0x4364c3
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x10
push eax
lea esi, [edi + 0x52]
push esi
push 0x4000000b
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [ebp - 0x28]
test eax, eax
jne 0x4364bd
xorps xmm0, xmm0
movups xmmword [esi], xmm0
lea esi, [edi + 0xa8]
mov eax, dword [edi + 0x90]
cmp dword [eax - 0xc], 0
je 0x43658b
cmp dword [esi], 0xc8
jne 0x43658b
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c]
push 0x410
call fcn.00408760
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
push 0
push eax
push esi
push 1
push dword [edi + 4]
mov dword [ebp - 0x38], 0x410
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x43655e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43690c
push esi
call fcn.004a2092
add esp, 4
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
call fcn.00408760
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
push 0
push eax
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x436906
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x436574
shr eax, 1
lea ecx, [edi + 0x9c]
push eax
push esi
call fcn.004025b0
mov byte [ebp - 4], 0x10
push esi
call fcn.004a2092
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [ebp - 0x2c], 0
cmp byte [edi + 0x63], 0
je 0x4365fe
cmp dword [edi + 0xa8], 0xc8
jne 0x4365fe
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x4c]
push 0x410
mov dword [ebp - 0x14], 0x410
call fcn.00408760
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
push 0
push eax
push esi
push 0x2f
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4365e7
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 0xa0]
shr eax, 1
push eax
push esi
call fcn.004025b0
mov byte [ebp - 4], 0x10
push esi
call fcn.004a2092
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [edi + 0xa8]
add eax, 0xffffff38
cmp eax, 0xd2
ja case.0x436617.201
movzx eax, byte [eax + 0x436b84]
jmp dword [eax*4 + 0x436b68]
mov eax, dword [ebp + 0x34]
test ecx, ecx
jne 0x436633
mov esi, dword [ebp - 0x10]
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x436674
mov eax, dword [eax]
mov esi, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x436674
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test ecx, ecx
je 0x436655
cmp dword [eax], ecx
jae 0x436928
mov esi, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x436674
mov dword [ebp - 0x20], 0xe0000012
jmp 0x4366b5
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x436a12
mov eax, esi
mov dword [ebp - 0x20], eax
cmp esi, 0x2f0d
je 0x43688b
cmp esi, 0x2f0c
je 0x43688b
cmp esi, 0x2f06
je 0x43688b
cmp esi, 0x2f05
je 0x43688b
cmp esi, 0xe0000012
jne 0x436a09
call fcn.004046f0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x10]
call esi
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0xa8]
push dword [edi + 4]
call fcn.00437540
mov eax, dword [edi + 0xa8]
cmp eax, 0x197
mov dword [ebp - 0x1c], eax
sete byte [ebp - 0x64]
call fcn.004046f0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x10]
call esi
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x23
cmp dword [ebp - 0x1c], 0x197
jne 0x436746
lea eax, [ebp - 0x3c]
push eax
push dword [edi + 4]
call fcn.004378c0
call fcn.004046f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x25
call fcn.004046f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x436b5e
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
push dword [edi + 4]
call fcn.00437710
test al, al
je 0x436958
mov byte [ebp - 4], 0x25
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4367f5
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 0x23
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436824
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 0x21
or eax, 0xffffffff
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436853
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436380
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x1c]
call esi
jmp 0x436380
cmp byte [edi + 0x86], 0
jne 0x4368db
cmp byte [edi + 0x85], 0
je 0x4368e3
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], eax
push ecx
push 0x1f
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x4368db
or dword [ebp - 0x50], 0x3f05
lea eax, [ebp - 0x50]
push 4
push eax
push 0x1f
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4368f9
mov dword [ebp - 0x10], esi
jmp 0x436a3f
push dword [edi + 4]
lea ecx, [edi + 0xc]
push esi
push 0
call fcn.00438110
test eax, eax
jne 0x436a3f
lea ecx, [ebp - 0x24]
call fcn.004037c0
jmp 0x436380
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x10
push esi
call fcn.004a2092
add esp, 4
mov dword [ebp - 0x2c], 0
jmp 0x436a3f
mov dword [ebp - 0x10], 0xe0000010
jmp 0x436a3f
mov dword [ebp - 0x10], 0xe0000013
jmp 0x436a3f
mov dword [ebp - 0x10], 0xe0000016
jmp 0x436a3f
mov dword [ebp - 0x10], 0xe0000018
jmp 0x436a3f
mov byte [ebp - 4], 0x25
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436983
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x23
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4369ae
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x21
or eax, 0xffffffff
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4369d9
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436a31
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x20]
jmp 0x436a3c
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x436a31
jmp 0x436a23
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x20], esi
mov dword [eax], 0
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x20]
jmp 0x436a3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
or ecx, 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x436a6a
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436a95
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], 0x4f2100
mov byte [ebp - 4], 0x34
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x436ad8
mov edi, dword [ebp - 0x80]
push edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x84]
xor esi, esi
mov dword [ebp - 0x78], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], 0x4f2084
test esi, esi
je 0x436af5
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436b20
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x60]
push 0
push esi
mov dword [ebp - 0x6c], 0x4f208c
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
push 0x80004005
call fcn.00402720
inc ecx
inc bx
add byte [esi], bl
inc bx
add byte [ecx + ebp*2], dh
inc ebx
add byte [eax + 0x66], ah
inc ebx
add byte [eax + 0x69], al
inc ebx
add byte [ecx + ebp*2 + 0x43], cl
add byte [ecx + 0x66], ch
inc ebx
add byte [eax], al
push es
push es
push es
push es
push es
add dword [esi], eax
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add al, byte [esi]
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, dword [esi]
add al, 5
push es
push es
add eax, dword [esi]
push es
add eax, -858993460
int3