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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d08c5
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.00436610
test eax, eax
jne 0x4364fd
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.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 0x435961
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 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 0x4359f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x3e5
jne 0x4359eb
cmp byte [edi + 0x38], 0
jne 0x435a00
nop word [eax + eax]
lea ecx, [edi + 0xc]
call fcn.00437ca0
test al, al
jne 0x4359df
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x4359c0
jmp 0x435a00
mov dword [ebp - 0x10], 0xe0000008
jmp 0x4364a7
test eax, eax
je 0x435a00
jmp 0x4364a7
push dword [edi + 0x68]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 4], 0
jne 0x435a14
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4364a7
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 0x435a8a
cmp byte [edi + 0x9c], 0
je 0x435a8a
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 0x436510
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 0x435b3b
call fcn.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436510
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.00408b50
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
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 0x435b3b
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 0x435bff
lea ecx, [ebp - 0x30]
call fcn.0040e410
mov byte [ebp - 4], 0xa
call fcn.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436510
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.00408b50
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
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 0x435bd0
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 0x435bff
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.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436510
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 0x435c8d
push 0x40
push str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8_r_n
lea ecx, [ebp - 0x2c]
call fcn.004025b0
mov ecx, dword [edi + 0x90]
lea edx, [ebp - 0x34]
push 0xfde9
call fcn.0040dd00
mov eax, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [eax - 4], 1
jle 0x435c87
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 0x435d17
call fcn.004046f0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436510
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.00408b50
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
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 0x435d17
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 0x435d32
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 0x435db6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp eax, 0x3e5
jne 0x435db0
cmp byte [edi + 0x38], 0
jne 0x435dbf
lea ecx, [edi + 0xc]
call fcn.00437ca0
test al, al
jne 0x435da7
push 0xa
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x38], 0
je 0x435d88
jmp 0x435dbf
mov dword [ebp - 0x10], 0xe0000008
jmp 0x435dd4
test eax, eax
je 0x435dbf
jmp 0x435dd4
push dword [edi + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [edi + 0x30], 0
je 0x435dce
mov dword [ebp - 0x10], 0
jmp 0x435dd4
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 0x4363e8
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 0x435e32
xor ecx, ecx
mov dword [ebp - 0x24], ecx
jmp 0x435e35
mov ecx, dword [ebp - 0x24]
cmp byte [edi + 0x62], 0
je 0x435e75
cmp dword [esi], 0x130
je 0x435e75
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 0x435e6f
xorps xmm0, xmm0
movups xmmword [esi], xmm0
lea esi, [edi + 0xa0]
mov eax, dword [edi + 0x90]
cmp dword [eax - 0xc], 0
je 0x435f3d
cmp dword [esi], 0xc8
jne 0x435f3d
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
push 0x410
call fcn.00408530
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 0x435f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4362be
push esi
call fcn.004a18f2
add esp, 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x38]
call fcn.00408530
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 0x4362b8
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x435f26
shr eax, 1
lea ecx, [edi + 0x94]
push eax
push esi
call fcn.004025b0
mov byte [ebp - 4], 0x10
push esi
call fcn.004a18f2
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x28], 0
cmp byte [edi + 0x63], 0
je 0x435fb0
cmp dword [edi + 0xa0], 0xc8
jne 0x435fb0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x4c]
push 0x410
mov dword [ebp - 0x14], 0x410
call fcn.00408530
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 0x435f99
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 0x98]
shr eax, 1
push eax
push esi
call fcn.004025b0
mov byte [ebp - 4], 0x10
push esi
call fcn.004a18f2
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.0x435fc9.201
movzx eax, byte [eax + 0x436538]
jmp dword [eax*4 + 0x43651c]
mov eax, dword [ebp + 0x34]
test ecx, ecx
jne 0x435fe5
mov esi, dword [ebp - 0x10]
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x436026
mov eax, dword [eax]
mov esi, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x436026
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test ecx, ecx
je 0x436007
cmp dword [eax], ecx
jae 0x4362da
mov esi, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x436026
mov dword [ebp - 0x20], 0xe0000012
jmp 0x436067
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x4363c4
mov eax, esi
mov dword [ebp - 0x20], eax
cmp esi, 0x2f0d
je 0x43623d
cmp esi, 0x2f0c
je 0x43623d
cmp esi, 0x2f06
je 0x43623d
cmp esi, 0x2f05
je 0x43623d
cmp esi, 0xe0000012
jne 0x4363bb
call fcn.004046f0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x436510
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.00436ef0
mov eax, dword [edi + 0xa0]
cmp eax, 0x197
mov dword [ebp - 0x1c], eax
sete byte [ebp - 0x64]
call fcn.004046f0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x436510
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 0x4360f8
lea eax, [ebp - 0x3c]
push eax
push dword [edi + 4]
call fcn.00437270
call fcn.004046f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x436510
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.004046f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x436510
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.004370c0
test al, al
je 0x43630a
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 0x4361a7
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 0x4361d6
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 0x436205
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 0x435d32
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 0x435d32
cmp byte [edi + 0x86], 0
jne 0x43628d
cmp byte [edi + 0x85], 0
je 0x436295
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 0x43628d
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 0x4362ab
mov dword [ebp - 0x10], esi
jmp 0x4363f1
push dword [edi + 4]
lea ecx, [edi + 0xc]
push esi
push 0
call fcn.00437ac0
test eax, eax
jne 0x4363f1
lea ecx, [ebp - 0x2c]
call fcn.004037c0
jmp 0x435d32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x10
push esi
call fcn.004a18f2
add esp, 4
mov dword [ebp - 0x28], 0
jmp 0x4363f1
mov dword [ebp - 0x10], 0xe0000010
jmp 0x4363f1
mov dword [ebp - 0x10], 0xe0000013
jmp 0x4363f1
mov dword [ebp - 0x10], 0xe0000016
jmp 0x4363f1
mov dword [ebp - 0x10], 0xe0000018
jmp 0x4363f1
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 0x436335
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 0x436360
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 0x43638b
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 0x4363e3
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 0x4363ee
mov dword [ebp - 0x20], eax
test esi, esi
jne 0x4363e3
jmp 0x4363d5
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 0x4363ee
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 0x43641c
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 0x436447
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 0x43648a
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 0x4364a7
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 0x4364d2
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.00402720
nop
pop edi
inc ebx
add al, dl
pop edi
inc ebx
add dh, ah
bound eax, qword [ebx]
adc ah, byte [eax + 0x43]
add dl, dh
bound eax, qword [ebx]
invalid