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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56523d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x5d8024]
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 0x4c14a8
mov ecx, edi
call fcn.004c2070
test eax, eax
je 0x4c14b0
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 0x4c14c1
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x4c1f54
mov eax, dword [edi + 4]
mov dword [ebp - 0x58], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x60], 0x596e00
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], 0x596cf4
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], 0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00408b20
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 0x4c152b
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00418fd0
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 0x585738
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 0x4c158e
mov ecx, esi
call fcn.004c2070
mov dword [ebp + 0x18], eax
test eax, eax
je 0x4c1597
jmp 0x4c1f10
push dword [esi + 0x68]
mov dword [esi + 4], eax
call dword [ebp - 0x40]
cmp dword [esi + 4], 0
jne 0x4c15ab
mov eax, dword [esi + 0x2c]
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x4c1f10
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], 0x596df8
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x70], 0x596e5c
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 0x4c162b
cmp byte [esi + 0x98], 0
je 0x4c162b
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.00409310
mov ecx, eax
test ecx, ecx
je 0x4c1f67
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 0x4c16b6
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4c1f67
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.004087c0
mov esi, dword [ebp + 0x30]
lea ecx, [ebp - 0x14]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00418fd0
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c16b3
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 0x4c174f
lea ecx, [ebp + 0x18]
call fcn.00496960
mov byte [ebp - 4], 0xa
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4c1f67
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.004087c0
mov esi, dword [ebp + 0x30]
lea ecx, [ebp - 0x14]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.00418fd0
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c172e
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 0x4c174c
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.00409310
mov ecx, eax
test ecx, ecx
je 0x4c1f67
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 0x4c1861
push 0x40
push str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8_r_n
lea ecx, [ebp - 0x14]
call fcn.00418fd0
mov edi, dword [esi + 0x8c]
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x24], edi
call fcn.0047e8d0
test edi, edi
je 0x4c1841
cmp word [edi], 0
je 0x4c1841
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 0x4c1841
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 0x4c1803
push edx
lea ecx, [ebp + 0x30]
call fcn.0047ea50
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.0052990d
add esp, 8
test eax, eax
js 0x4c1f71
cmp eax, dword [edi - 8]
jg 0x4c1f71
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
jmp 0x4c1844
mov edi, dword [ebp + 0x30]
cmp dword [edi - 4], 1
jle 0x4c1858
push dword [edi - 0xc]
lea ecx, [ebp + 0x30]
call fcn.0047ebb0
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 0x4c186c
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 0x4c18a6
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 0x4c18e4
mov ecx, esi
call fcn.004c2070
mov dword [ebp + 8], eax
test eax, eax
je 0x4c18ea
jmp 0x4c18ff
push dword [esi + 0x68]
call dword [ebp - 0x40]
cmp dword [esi + 0x30], 0
je 0x4c18f9
mov dword [ebp + 8], 0
jmp 0x4c18ff
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 0x4c1e73
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]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp + 0x24]
cmp byte [esi + 0x62], 0
mov dword [ebp + 0x24], ecx
je 0x4c1994
cmp dword [esi + 0x9c], 0x130
je 0x4c1994
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 0x4c1994
xorps xmm0, xmm0
movups xmmword [esi + 0x52], xmm0
mov eax, dword [esi + 0x8c]
cmp dword [eax - 0xc], 0
lea eax, [esi + 0x9c]
je 0x4c1a6b
cmp dword [eax], 0xc8
jne 0x4c1a6b
mov dword [ebp + 0x20], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x20]
push 0x410
call fcn.004b1300
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 0x4c1a35
call dword [ebp - 0x28]
mov dword [ebp + 0x18], eax
cmp eax, 0x7a
jne 0x4c1d7e
push esi
call fcn.0052203a
add esp, 4
mov dword [ebp + 0x20], 0
lea ecx, [ebp + 0x20]
push dword [ebp + 0x1c]
call fcn.004b1300
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 0x4c1d78
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x4c1a4e
mov ecx, dword [ebp - 0x10]
shr edx, 1
push edx
push esi
lea ecx, [ecx + 0x90]
call fcn.00418fd0
mov byte [ebp - 4], 0x10
push esi
call fcn.0052203a
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 0x4c1ae0
cmp dword [eax], 0xc8
jne 0x4c1ae0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x18]
push 0x410
mov dword [ebp - 0x48], 0x410
call fcn.004b1300
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 0x4c1ac6
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
shr eax, 1
push eax
push esi
lea ecx, [ecx + 0x94]
call fcn.00418fd0
mov byte [ebp - 4], 0x10
push esi
call fcn.0052203a
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.0x4c1af9.201
movzx eax, byte [eax + 0x4c1f98]
jmp dword [eax*4 + 0x4c1f7c]
mov eax, dword [ebp + 0x34]
test ecx, ecx
jne 0x4c1b12
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x4c1b4d
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x4c1b4d
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test ecx, ecx
je 0x4c1b31
cmp dword [eax], ecx
jae 0x4c1d97
mov dword [eax], 0
jmp 0x4c1b4d
mov dword [ebp + 0x18], 0xe0000012
jmp 0x4c1b91
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c1e52
mov ecx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp + 0x18], eax
cmp ecx, 0x2f0d
je 0x4c1cf7
cmp ecx, 0x2f0c
je 0x4c1cf7
cmp ecx, 0x2f06
je 0x4c1cf7
cmp ecx, 0x2f05
je 0x4c1cf7
cmp ecx, 0xe0000012
jne 0x4c1e44
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4c1f67
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.004c26f0
mov eax, dword [esi + 0x9c]
cmp eax, 0x197
mov dword [ebp + 8], eax
sete byte [ebp - 0x7c]
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4c1f67
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 0x4c1c0a
lea eax, [ebp + 0x28]
push eax
push dword [esi + 4]
call fcn.004c29d0
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4c1f67
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.00409310
mov ecx, eax
test ecx, ecx
je 0x4c1f67
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.004c2870
test al, al
je 0x4c1dc7
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 0x4c1c91
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 0x4c1cb0
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 0x4c1ccf
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 0x4c1890
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4c1890
cmp byte [esi + 0x81], 0
je 0x4c1d46
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 0x4c1d3e
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 0x4c1d6b
mov eax, dword [ebp + 8]
jmp 0x4c1e76
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4c1d61
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 0x4c1d63
mov eax, ecx
test eax, eax
jne 0x4c1e4d
lea ecx, [ebp - 0x14]
call fcn.00408be0
jmp 0x4c1890
call dword [ebp - 0x28]
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x10
push esi
call fcn.0052203a
add esp, 4
mov dword [ebp + 0x20], 0
jmp 0x4c1e79
mov dword [ebp + 0x18], 0xe0000010
jmp 0x4c1e79
mov dword [ebp + 0x18], 0xe0000013
jmp 0x4c1e79
mov dword [ebp + 0x18], 0xe0000016
jmp 0x4c1e79
mov dword [ebp + 0x18], 0xe0000018
jmp 0x4c1e79
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 0x4c1de8
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 0x4c1e06
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 0x4c1e24
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 0x4c1e79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4c1e79
mov dword [ebp + 0x18], eax
test ecx, ecx
jne 0x4c1e79
jmp 0x4c1e63
mov dword [ebp + 0x18], ecx
jmp 0x4c1e79
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 0x4c1e79
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 0x4c1e95
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 0x4c1eb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], 0x596e5c
mov byte [ebp - 4], 0x3b
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4c1ef6
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], 0x596df8
test esi, esi
je 0x4c1f10
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 0x4c1f2c
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], 0x596e00
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.00408fe0
push 0x80070057
call fcn.00408fe0
nop
sbb eax, 0x4c1b
sbb ecx, dword [eax + eax - 93]
sbb eax, 0x1b39004c
dec esp
add byte [edi - 0x44ffb3e3], ch
sbb eax, 0x1b42004c
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