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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cffc5
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push esi
push edi
mov eax, dword [0x514080]
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.00436200
test eax, eax
jne 0x4360ed
mov eax, dword [edi + 4]
mov dword [ebp - 0x60], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x6c], 0x4f1084
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], 0x4f0f38
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x88], 0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00402770
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 0x435551
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004025d0
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 0x4ec684
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 0x4355e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x3e5
jne 0x4355db
cmp byte [edi + 0x38], 0
jne 0x4355f0
nop word [eax + eax]
lea ecx, [edi + 0xc]
call fcn.00437890
test al, al
jne 0x4355cf
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x4355b0
jmp 0x4355f0
mov dword [ebp - 0x10], 0xe0000008
jmp 0x436097
test eax, eax
je 0x4355f0
jmp 0x436097
push dword [edi + 0x68]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 4], 0
jne 0x435604
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x436097
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], 0x4f107c
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x7c], 0x4f10e4
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 4
cmp byte [ebp + 0x30], 0
je 0x43567a
cmp byte [edi + 0x9c], 0
je 0x43567a
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.00404710
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x14]
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x34]
cmp dword [eax], 0
jbe 0x43572b
call fcn.00404710
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.00408b70
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004025d0
mov byte [ebp - 4], 6
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43572b
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 [0x4e1514]
mov ecx, dword [ebp - 0x14]
call esi
cmp word [edi + 0x42], 0
lea edx, [edi + 0x42]
jbe 0x4357ef
lea ecx, [ebp - 0x30]
call fcn.0040e420
mov byte [ebp - 4], 0xa
call fcn.00404710
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.00408b70
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004025d0
mov byte [ebp - 4], 0xa
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4357c0
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 [0x4e1514]
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 0x4357ef
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 [0x4e1514]
mov ecx, dword [ebp - 0x14]
call esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x58], 0
call fcn.00404710
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x43587d
push 0x40
push str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8_r_n
lea ecx, [ebp - 0x2c]
call fcn.004025d0
mov ecx, dword [edi + 0x90]
lea edx, [ebp - 0x34]
push 0xfde9
call fcn.0040dd10
mov eax, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [eax - 4], 1
jle 0x435877
push dword [eax - 0xc]
lea ecx, [ebp - 0x34]
call fcn.00404e60
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 0x435907
call fcn.00404710
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.00408b70
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004025d0
mov byte [ebp - 4], 0x10
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x435907
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 [0x4e1514]
mov ecx, dword [ebp - 0x14]
call esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x435922
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0x2c]
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 0x4359a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x3e5
jne 0x4359a0
cmp byte [edi + 0x38], 0
jne 0x4359af
lea ecx, [edi + 0xc]
call fcn.00437890
test al, al
jne 0x435997
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x435978
jmp 0x4359af
mov dword [ebp - 0x10], 0xe0000008
jmp 0x4359c4
test eax, eax
je 0x4359af
jmp 0x4359c4
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 0x30], 0
je 0x4359be
mov dword [ebp - 0x10], 0
jmp 0x4359c4
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x5c]
mov dword [edi + 0xa0], 0
push eax
lea esi, [edi + 0xa0]
mov dword [ebp - 0x5c], 4
push esi
push 0x20000013
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x435fd8
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000005
push dword [edi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x435a22
xor ecx, ecx
mov dword [ebp - 0x24], ecx
jmp 0x435a25
mov ecx, dword [ebp - 0x24]
cmp byte [edi + 0x62], 0
je 0x435a65
cmp dword [esi], 0x130
je 0x435a65
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 - 0x24]
test eax, eax
jne 0x435a5f
xorps xmm0, xmm0
movups xmmword [esi], xmm0
lea esi, [edi + 0xa0]
mov eax, dword [edi + 0x90]
cmp dword [eax - 0xc], 0
je 0x435b2d
cmp dword [esi], 0xc8
jne 0x435b2d
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
push 0x410
call fcn.00408550
mov esi, dword [ebp - 0x28]
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 0x435b00
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x435eae
push esi
call fcn.004a0fd2
add esp, 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x38]
call fcn.00408550
mov esi, dword [ebp - 0x28]
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 0x435ea8
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x435b16
shr eax, 1
lea ecx, [edi + 0x94]
push eax
push esi
call fcn.004025d0
mov byte [ebp - 4], 0x10
push esi
call fcn.004a0fd2
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x28], 0
cmp byte [edi + 0x63], 0
je 0x435ba0
cmp dword [edi + 0xa0], 0xc8
jne 0x435ba0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x4c]
push 0x410
mov dword [ebp - 0x14], 0x410
call fcn.00408550
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 0x435b89
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 0x98]
shr eax, 1
push eax
push esi
call fcn.004025d0
mov byte [ebp - 4], 0x10
push esi
call fcn.004a0fd2
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [edi + 0xa0]
add eax, 0xffffff38
cmp eax, 0xd2
ja case.0x435bb9.201
movzx eax, byte [eax + 0x436128]
jmp dword [eax*4 + 0x43610c]
mov eax, dword [ebp + 0x34]
test ecx, ecx
jne 0x435bd5
mov esi, dword [ebp - 0x10]
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x435c16
mov eax, dword [eax]
mov esi, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x435c16
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test ecx, ecx
je 0x435bf7
cmp dword [eax], ecx
jae 0x435eca
mov esi, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x435c16
mov dword [ebp - 0x20], 0xe0000012
jmp 0x435c57
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x435fb4
mov eax, esi
mov dword [ebp - 0x20], eax
cmp esi, 0x2f0d
je 0x435e2d
cmp esi, 0x2f0c
je 0x435e2d
cmp esi, 0x2f06
je 0x435e2d
cmp esi, 0x2f05
je 0x435e2d
cmp esi, 0xe0000012
jne 0x435fab
call fcn.00404710
mov dword [ebp - 0x10], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 + 0xa0]
push dword [edi + 4]
call fcn.00436ae0
mov eax, dword [edi + 0xa0]
cmp eax, 0x197
mov dword [ebp - 0x1c], eax
sete byte [ebp - 0x64]
call fcn.00404710
mov dword [ebp - 0x10], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x435ce8
lea eax, [ebp - 0x3c]
push eax
push dword [edi + 4]
call fcn.00436e60
call fcn.00404710
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x25
call fcn.00404710
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x436100
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.00436cb0
test al, al
je 0x435efa
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 0x435d97
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 [0x4e1514]
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 0x435dc6
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 [0x4e1514]
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 0x435df5
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 [0x4e1514]
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 0x435922
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 [0x4e1514]
mov ecx, dword [ebp - 0x1c]
call esi
jmp 0x435922
cmp byte [edi + 0x86], 0
jne 0x435e7d
cmp byte [edi + 0x85], 0
je 0x435e85
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 0x435e7d
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 0x435e9b
mov dword [ebp - 0x10], esi
jmp 0x435fe1
push dword [edi + 4]
lea ecx, [edi + 0xc]
push esi
push 0
call fcn.004376b0
test eax, eax
jne 0x435fe1
lea ecx, [ebp - 0x2c]
call fcn.004037e0
jmp 0x435922
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x10
push esi
call fcn.004a0fd2
add esp, 4
mov dword [ebp - 0x28], 0
jmp 0x435fe1
mov dword [ebp - 0x10], 0xe0000010
jmp 0x435fe1
mov dword [ebp - 0x10], 0xe0000013
jmp 0x435fe1
mov dword [ebp - 0x10], 0xe0000016
jmp 0x435fe1
mov dword [ebp - 0x10], 0xe0000018
jmp 0x435fe1
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 0x435f25
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x435f50
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x435f7b
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x435fd3
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x20]
jmp 0x435fde
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x435fd3
jmp 0x435fc5
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 0x435fde
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 0x43600c
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x436037
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], 0x4f10e4
mov byte [ebp - 4], 0x34
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x43607a
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], 0x4f107c
test esi, esi
je 0x436097
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 0x4360c2
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x60]
push 0
push esi
mov dword [ebp - 0x6c], 0x4f1084
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.00402740
nop
jecxz 0x436169
inc ebx
add al, al
pop ebx
inc ebx
add dh, dl
pop esi
inc ebx
add byte [edx], al
pop esp
inc ebx
add dl, ah
pop esi
inc ebx
add dh, ch
pop esi
inc ebx
add byte [ebx], cl
pop esp
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