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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f684d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x69001c]
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 0x52db88
mov ecx, edi
call fcn.0052e750
test eax, eax
je 0x52db90
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 0x52dba1
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x52e632
mov eax, dword [edi + 4]
mov dword [ebp - 0x58], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x60], 0x630334
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], 0x630270
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], 0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00409460
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 0x52dc0b
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041a840
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 0x6166bc
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 0x52dc6e
mov ecx, esi
call fcn.0052e750
mov dword [ebp + 0x18], eax
test eax, eax
je 0x52dc77
jmp 0x52e5ee
push dword [esi + 0x68]
mov dword [esi + 4], eax
call dword [ebp - 0x40]
cmp dword [esi + 4], 0
jne 0x52dc8b
mov eax, dword [esi + 0x2c]
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x52e5ee
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], 0x63032c
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x70], 0x630390
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 0x52dd0b
cmp byte [esi + 0x98], 0
je 0x52dd0b
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.00409c60
mov ecx, eax
test ecx, ecx
je 0x52e645
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 0x52dd96
call fcn.00409c60
mov ecx, eax
test ecx, ecx
je 0x52e645
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.00408c40
mov esi, dword [ebp + 0x30]
lea ecx, [ebp - 0x14]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.0041a840
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x52dd93
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 0x52de2f
lea ecx, [ebp + 0x18]
call fcn.004fda90
mov byte [ebp - 4], 0xa
call fcn.00409c60
mov ecx, eax
test ecx, ecx
je 0x52e645
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.00408c40
mov esi, dword [ebp + 0x30]
lea ecx, [ebp - 0x14]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.0041a840
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x52de0e
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 0x52de2c
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.00409c60
mov ecx, eax
test ecx, ecx
je 0x52e645
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 0x52df41
push 0x40
push str.Content_Type:_application_x_www_form_urlencoded__charsetutf_8_r_n
lea ecx, [ebp - 0x14]
call fcn.0041a840
mov edi, dword [esi + 0x8c]
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x24], edi
call fcn.004e9570
test edi, edi
je 0x52df21
cmp word [edi], 0
je 0x52df21
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 0x52df21
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 0x52dee3
push edx
lea ecx, [ebp + 0x30]
call fcn.004e96f0
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.00597e6b
add esp, 8
test eax, eax
js 0x52e64f
cmp eax, dword [edi - 8]
jg 0x52e64f
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
jmp 0x52df24
mov edi, dword [ebp + 0x30]
cmp dword [edi - 4], 1
jle 0x52df38
push dword [edi - 0xc]
lea ecx, [ebp + 0x30]
call fcn.004e9850
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 0x52df4c
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 0x52df86
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 0x52dfc4
mov ecx, esi
call fcn.0052e750
mov dword [ebp + 8], eax
test eax, eax
je 0x52dfca
jmp 0x52dfdf
push dword [esi + 0x68]
call dword [ebp - 0x40]
cmp dword [esi + 0x30], 0
je 0x52dfd9
mov dword [ebp + 8], 0
jmp 0x52dfdf
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 0x52e551
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 0x52e072
cmp dword [esi + 0x9c], 0x130
je 0x52e072
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 0x52e072
xorps xmm0, xmm0
movups xmmword [esi + 0x52], xmm0
mov eax, dword [esi + 0x8c]
cmp dword [eax - 0xc], 0
lea eax, [esi + 0x9c]
je 0x52e149
cmp dword [eax], 0xc8
jne 0x52e149
mov dword [ebp + 0x20], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x20]
push 0x410
call fcn.0051dad0
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 0x52e113
call dword [ebp - 0x28]
mov dword [ebp + 0x18], eax
cmp eax, 0x7a
jne 0x52e45c
push esi
call fcn.00590d25
add esp, 4
mov dword [ebp + 0x20], 0
lea ecx, [ebp + 0x20]
push dword [ebp + 0x1c]
call fcn.0051dad0
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 0x52e456
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x52e12c
mov ecx, dword [ebp - 0x10]
shr edx, 1
push edx
push esi
lea ecx, [ecx + 0x90]
call fcn.0041a840
mov byte [ebp - 4], 0x10
push esi
call fcn.00590d25
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 0x52e1be
cmp dword [eax], 0xc8
jne 0x52e1be
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x18]
push 0x410
mov dword [ebp - 0x48], 0x410
call fcn.0051dad0
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 0x52e1a4
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
shr eax, 1
push eax
push esi
lea ecx, [ecx + 0x94]
call fcn.0041a840
mov byte [ebp - 4], 0x10
push esi
call fcn.00590d25
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.0x52e1d7.201
movzx eax, byte [eax + 0x52e678]
jmp dword [eax*4 + 0x52e65c]
mov eax, dword [ebp + 0x34]
test ecx, ecx
jne 0x52e1f0
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x52e22b
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [ebp + 0x38]
mov dword [ecx], eax
jmp 0x52e22b
mov eax, dword [ebp + 0x38]
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test ecx, ecx
je 0x52e20f
cmp dword [eax], ecx
jae 0x52e475
mov dword [eax], 0
jmp 0x52e22b
mov dword [ebp + 0x18], 0xe0000012
jmp 0x52e26f
mov eax, dword [ebp + 8]
test eax, eax
je 0x52e530
mov ecx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp + 0x18], eax
cmp ecx, 0x2f0d
je 0x52e3d5
cmp ecx, 0x2f0c
je 0x52e3d5
cmp ecx, 0x2f06
je 0x52e3d5
cmp ecx, 0x2f05
je 0x52e3d5
cmp ecx, 0xe0000012
jne 0x52e522
call fcn.00409c60
mov ecx, eax
test ecx, ecx
je 0x52e645
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.0052edd0
mov eax, dword [esi + 0x9c]
cmp eax, 0x197
mov dword [ebp + 8], eax
sete byte [ebp - 0x7c]
call fcn.00409c60
mov ecx, eax
test ecx, ecx
je 0x52e645
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 0x52e2e8
lea eax, [ebp + 0x28]
push eax
push dword [esi + 4]
call fcn.0052f0b0
call fcn.00409c60
mov ecx, eax
test ecx, ecx
je 0x52e645
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.00409c60
mov ecx, eax
test ecx, ecx
je 0x52e645
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.0052ef50
test al, al
je 0x52e4a5
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 0x52e36f
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 0x52e38e
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 0x52e3ad
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 0x52df70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x52df70
cmp byte [esi + 0x81], 0
je 0x52e424
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 0x52e41c
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 0x52e449
mov eax, dword [ebp + 8]
jmp 0x52e554
mov edx, dword [esi + 0xc]
test edx, edx
je 0x52e43f
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 0x52e441
mov eax, ecx
test eax, eax
jne 0x52e52b
lea ecx, [ebp - 0x14]
call fcn.00409520
jmp 0x52df70
call dword [ebp - 0x28]
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x10
push esi
call fcn.00590d25
add esp, 4
mov dword [ebp + 0x20], 0
jmp 0x52e557
mov dword [ebp + 0x18], 0xe0000010
jmp 0x52e557
mov dword [ebp + 0x18], 0xe0000013
jmp 0x52e557
mov dword [ebp + 0x18], 0xe0000016
jmp 0x52e557
mov dword [ebp + 0x18], 0xe0000018
jmp 0x52e557
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 0x52e4c6
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 0x52e4e4
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 0x52e502
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 0x52e557
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x52e557
mov dword [ebp + 0x18], eax
test ecx, ecx
jne 0x52e557
jmp 0x52e541
mov dword [ebp + 0x18], ecx
jmp 0x52e557
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 0x52e557
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 0x52e573
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 0x52e594
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], 0x630390
mov byte [ebp - 4], 0x3b
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x52e5d4
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], 0x63032c
test esi, esi
je 0x52e5ee
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 0x52e60a
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], 0x630334
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.00409920
push 0x80070057
call fcn.00409920
nop dword [eax]
sti
loope 5433009
add dh, bl
loope 0x52e6b5
add byte [ecx + 0x170052e4], al
loop 0x52e6bd
add byte [ebp - 0x66ffad1c], cl
in al, 0x52
add byte [eax], ah
loop 0x52e6c9
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