Function at 0x4c9410
Capabilities:
Check http status code
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57360d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x5e8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0x38]
mov dword [eax], 0
mov eax, dword [ebp + 0x18]
push dword [edi + 0x68]
mov esi, dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [edi + 0x34], 0
mov byte [edi + 0x38], 0
mov dword [ebp - 0x2c], eax
call eax
push edi
push 0
push 3
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push esi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 0x40], ecx
test eax, eax
jne 0x4c94a8
mov ecx, edi
call fcn.004ca070
test eax, eax
je 0x4c94b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
push dword [edi + 0x68]
mov dword [edi + 4], eax
call ecx
cmp dword [edi + 4], 0
jne 0x4c94c1
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x4c9f52
mov eax, dword [edi + 4]
mov dword [ebp - 0x58], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x60], 0x5a5250
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x30]
shl eax, 0x17
add eax, 0x8440c000
mov dword [ebp - 0x90], 0x5a514c
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], 0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00409540
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4c952b
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00419d30
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
mov edi, dword [edi + 8]
push dword [eax + 0x68]
mov dword [eax + 0x34], 6
mov byte [eax + 0x38], 0
call dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x90]
push eax
push 0x593988
push str.HTTP_1.0
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [sym.imp.WININET.dll_InternetCloseHandle]
or edi, 0xffffffff
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x34], ecx
test eax, eax
jne 0x4c958e
mov ecx, esi
call fcn.004ca070
mov dword [ebp + 0x18], eax
test eax, eax
je 0x4c9597
jmp 0x4c9f0e
push dword [esi + 0x68]
mov dword [esi + 4], eax
call dword [ebp - 0x40]
cmp dword [esi + 4], 0
jne 0x4c95ab
mov eax, dword [esi + 0x2c]
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x4c9f0e
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 4]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x70], 0x5a5258
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x70], 0x5a52b4
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 4
cmp byte [ebp + 0x30], 0
mov ecx, dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov eax, dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x4c], eax
je 0x4c962b
cmp byte [esi + 0x98], 0
je 0x4c962b
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 4
push eax
lea eax, [ebp + 0x30]
push eax
push 0x1f
push dword [esi + 4]
call ecx
push dword [ebp + 0x18]
or dword [ebp + 0x30], 0x13380
lea eax, [ebp + 0x30]
push eax
push 0x1f
push dword [esi + 4]
call dword [ebp - 0x4c]
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c9f65
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x34]
cmp dword [eax], 0
jbe 0x4c96b6
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c9f65
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 8
lea eax, [ebp + 0x30]
mov edx, dword [ebp + 0x34]
push dword [edx]
push str.Range:_bytes_u__r_n
push eax
call fcn.00408de0
mov esi, dword [ebp + 0x30]
lea ecx, [ebp - 0x14]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00419d30
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c96b3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
cmp word [esi + 0x42], 0
lea edx, [esi + 0x42]
jbe 0x4c974f
lea ecx, [ebp + 0x18]
call fcn.0049e160
mov byte [ebp - 4], 0xa
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c9f65
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x30]
push dword [ebp + 0x18]
push str.If_Modified_Since:__s_r_n
push eax
call fcn.00408de0
mov esi, dword [ebp + 0x30]
lea ecx, [ebp - 0x14]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00419d30
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c972e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp + 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c974c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c9f65
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp + 0x30], edi
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 0x8c]
cmp dword [eax - 0xc], 0
je 0x4c9861
push 0x40
push str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8_r_n
lea ecx, [ebp - 0x14]
call fcn.00419d30
mov edi, dword [esi + 0x8c]
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x24], edi
call fcn.00485ad0
test edi, edi
je 0x4c9841
cmp word [edi], 0
je 0x4c9841
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, eax
mov dword [ebp + 0x18], edx
test edx, edx
jle 0x4c9841
mov edi, dword [ebp + 0x30]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x4c9803
push edx
lea ecx, [ebp + 0x30]
call fcn.00485c50
mov edi, dword [ebp + 0x30]
mov edx, dword [ebp + 0x18]
push 0
push 0
push edx
push edi
push 0xffffffffffffffff
push dword [ebp + 0x24]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [edi - 8]
push edi
call fcn.005358fd
add esp, 8
test eax, eax
js 0x4c9f6f
cmp eax, dword [edi - 8]
jg 0x4c9f6f
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
jmp 0x4c9844
mov edi, dword [ebp + 0x30]
cmp dword [edi - 4], 1
jle 0x4c9858
push dword [edi - 0xc]
lea ecx, [ebp + 0x30]
call fcn.00485db0
mov edi, dword [ebp + 0x30]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4c986c
mov eax, dword [ecx]
call dword [eax]
lea eax, [esi + 0x9c]
mov dword [ebp - 0x78], eax
mov eax, dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp + 0x14], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov eax, dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x74], eax
nop dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov eax, dword [eax - 0xc]
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x4c98a6
mov dword [ebp + 8], eax
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [esi + 4]
push dword [eax + 0x68]
mov dword [eax + 0x34], 7
mov byte [eax + 0x38], 0
call dword [ebp - 0x2c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp + 0x18]
push dword [ebp + 8]
push esi
call dword [ebp - 0x74]
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x4c98e4
mov ecx, esi
call fcn.004ca070
mov dword [ebp + 8], eax
test eax, eax
je 0x4c98ea
jmp 0x4c98ff
push dword [esi + 0x68]
call dword [ebp - 0x40]
cmp dword [esi + 0x30], 0
je 0x4c98f9
mov dword [ebp + 8], 0
jmp 0x4c98ff
mov eax, dword [esi + 0x2c]
mov dword [ebp + 8], eax
push 0
lea ecx, [ebp - 0x44]
mov dword [esi + 0x9c], 0
push ecx
lea eax, [esi + 0x9c]
mov dword [ebp - 0x44], 4
push eax
push 0x20000013
push dword [esi + 4]
call dword [ebp + 0x14]
test eax, eax
je 0x4c9e71
push 0
lea eax, [ebp - 0x44]
mov dword [ebp + 0x24], 0
push eax
lea eax, [ebp + 0x24]
push eax
push 0x20000005
push dword [esi + 4]
call dword [ebp + 0x14]
neg eax
sbb ecx, ecx
and ecx, dword [ebp + 0x24]
cmp byte [esi + 0x62], 0
mov dword [ebp + 0x24], ecx
je 0x4c9992
cmp dword [esi + 0x9c], 0x130
je 0x4c9992
push 0
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 0x10
push ecx
lea eax, [esi + 0x52]
push eax
push 0x4000000b
push dword [esi + 4]
call dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
test eax, eax
jne 0x4c9992
xorps xmm0, xmm0
movups xmmword [esi + 0x52], xmm0
mov eax, dword [esi + 0x8c]
cmp dword [eax - 0xc], 0
lea eax, [esi + 0x9c]
je 0x4c9a69
cmp dword [eax], 0xc8
jne 0x4c9a69
mov dword [ebp + 0x20], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x20]
push 0x410
call fcn.004b89e0
mov esi, dword [ebp + 0x20]
lea eax, [ebp + 0x1c]
push 0
push eax
mov eax, dword [ebp - 0x10]
push esi
push 1
mov dword [ebp + 0x1c], 0x410
push dword [eax + 4]
call dword [ebp + 0x14]
test eax, eax
jne 0x4c9a33
call dword [ebp - 0x28]
mov dword [ebp + 0x18], eax
cmp eax, 0x7a
jne 0x4c9d7c
push esi
call fcn.0052e812
add esp, 4
mov dword [ebp + 0x20], 0
lea ecx, [ebp + 0x20]
push dword [ebp + 0x1c]
call fcn.004b89e0
mov esi, dword [ebp + 0x20]
lea eax, [ebp + 0x1c]
push 0
push eax
mov eax, dword [ebp - 0x10]
push esi
push 1
push dword [eax + 4]
call dword [ebp + 0x14]
test eax, eax
je 0x4c9d76
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x4c9a4c
mov ecx, dword [ebp - 0x10]
shr edx, 1
push edx
push esi
lea ecx, [ecx + 0x90]
call fcn.00419d30
mov byte [ebp - 4], 0x10
push esi
call fcn.0052e812
mov ecx, dword [ebp + 0x24]
add esp, 4
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x20], 0
cmp byte [esi + 0x63], 0
je 0x4c9ade
cmp dword [eax], 0xc8
jne 0x4c9ade
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x18]
push 0x410
mov dword [ebp - 0x48], 0x410
call fcn.004b89e0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push 0
push eax
mov eax, dword [ebp - 0x10]
push esi
push 0x2f
push dword [eax + 4]
call dword [ebp + 0x14]
test eax, eax
je 0x4c9ac4
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
shr eax, 1
push eax
push esi
lea ecx, [ecx + 0x94]
call fcn.00419d30
mov byte [ebp - 4], 0x10
push esi
call fcn.0052e812
mov ecx, dword [ebp + 0x24]
add esp, 4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
mov eax, dword [esi + 0x9c]
add eax, 0xffffff38
cmp eax, 0xd2
ja case.0x4c9af7.201
movzx eax, byte [eax + 0x4c9f98]
jmp dword [eax*4 + 0x4c9f7c]
mov eax, dword [ebp + 0x34]
test ecx, ecx
jne 0x4c9b10
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x4c9b4b
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x4c9b4b
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test ecx, ecx
je 0x4c9b2f
cmp dword [eax], ecx
jae 0x4c9d95
mov dword [eax], 0
jmp 0x4c9b4b
mov dword [ebp + 0x18], 0xe0000012
jmp 0x4c9b8f
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c9e50
mov ecx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp + 0x18], eax
cmp ecx, 0x2f0d
je 0x4c9cf5
cmp ecx, 0x2f0c
je 0x4c9cf5
cmp ecx, 0x2f06
je 0x4c9cf5
cmp ecx, 0x2f05
je 0x4c9cf5
cmp ecx, 0xe0000012
jne 0x4c9e42
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c9f65
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0x26
lea eax, [ebp + 0x10]
push eax
push dword [esi + 0x9c]
push dword [esi + 4]
call fcn.004ca6f0
mov eax, dword [esi + 0x9c]
cmp eax, 0x197
mov dword [ebp + 8], eax
sete byte [ebp - 0x7c]
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c9f65
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x28], eax
mov byte [ebp - 4], 0x28
cmp dword [ebp + 8], 0x197
jne 0x4c9c08
lea eax, [ebp + 0x28]
push eax
push dword [esi + 4]
call fcn.004ca9d0
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c9f65
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x2a
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c9f65
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp + 0x28]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [esi + 4]
call fcn.004ca870
test al, al
je 0x4c9dc5
mov byte [ebp - 4], 0x2a
or eax, 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9c8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x28
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9cae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
or eax, 0xffffffff
mov edx, dword [ebp + 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9ccd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9890
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4c9890
cmp byte [esi + 0x81], 0
je 0x4c9d44
mov eax, dword [esi + 4]
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x84], eax
push ecx
push 0x1f
push eax
mov dword [ebp + 0x18], 4
call dword [ebp - 0x80]
test eax, eax
je 0x4c9d3c
or dword [ebp - 0x1c], 0x3f05
lea eax, [ebp - 0x1c]
push 4
push eax
push 0x1f
push dword [ebp - 0x84]
call dword [ebp - 0x4c]
test eax, eax
jne 0x4c9d69
mov eax, dword [ebp + 8]
jmp 0x4c9e74
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4c9d5f
push dword [esi + 4]
mov eax, dword [edx]
push ecx
push 0
mov ecx, edx
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [ebp + 8]
jmp 0x4c9d61
mov eax, ecx
test eax, eax
jne 0x4c9e4b
lea ecx, [ebp - 0x14]
call fcn.00409600
jmp 0x4c9890
call dword [ebp - 0x28]
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x10
push esi
call fcn.0052e812
add esp, 4
mov dword [ebp + 0x20], 0
jmp 0x4c9e77
mov dword [ebp + 0x18], 0xe0000010
jmp 0x4c9e77
mov dword [ebp + 0x18], 0xe0000013
jmp 0x4c9e77
mov dword [ebp + 0x18], 0xe0000016
jmp 0x4c9e77
mov dword [ebp + 0x18], 0xe0000018
jmp 0x4c9e77
mov byte [ebp - 4], 0x2a
or esi, 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9de6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x28
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9e04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
mov eax, esi
mov edx, dword [ebp + 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9e22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov eax, esi
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9e77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4c9e77
mov dword [ebp + 0x18], eax
test ecx, ecx
jne 0x4c9e77
jmp 0x4c9e61
mov dword [ebp + 0x18], ecx
jmp 0x4c9e77
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], eax
mov dword [edx], 0
mov edx, dword [ebp + 0x38]
mov dword [edx], ecx
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
jmp 0x4c9e77
call dword [ebp - 0x28]
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 6
add edi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4c9e93
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c9eb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], 0x5a52b4
mov byte [ebp - 4], 0x3b
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4c9ef4
push dword [ebp - 0x54]
call dword [ebp - 0x2c]
push esi
call dword [ebp - 0x34]
push 0xffffffffffffffff
push dword [ebp - 0x88]
mov dword [ebp - 0x6c], 0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x54]
call esi
xor esi, esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], 0x5a5258
test esi, esi
je 0x4c9f0e
push esi
call dword [ebp - 0x34]
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4c9f2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x58]
push 0
push esi
mov dword [ebp - 0x60], 0x5a5250
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push esi
call dword [ebp - 0x34]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], 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.00409a00
push 0x80070057
call fcn.00409a00
nop dword [eax]
sbb ebx, dword [ebx - 0x6501ffb4]
dec esp
add byte [ecx + 0x37004c9d], ah
wait
dec esp
add byte [ebp - 0x46ffb363], ch
popfd
dec esp
add byte [eax - 0x65], al
dec esp
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