Function at 0x577060
Capabilities:
Delete file
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa8b4
call fcn.00529dc0
mov eax, dword [0x61b660]
xor eax, ebp
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xa800], ecx
mov dword [ebp - 8], 0xa000
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x1c], 0
je 0x577e83
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x577104
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
je 0x577112
mov dword [0x63a8d8], 0xab
xor ecx, ecx
je 0x57713f
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa5d0], eax
mov edx, dword [ebp - 0xa5d0]
push edx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor eax, eax
je 0x57715c
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x20]
mov eax, dword [edx]
push eax
push str.IFSTOP_m_iStatus_is___d_
call fcn.00575290
add esp, 8
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x20]
cmp dword [edx], 2
je 0x577186
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 3
je 0x577186
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x20]
cmp dword [eax], 4
jne 0x57719d
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x578b41
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0xa150], 0
push 0x9fff
push 0
lea edx, [ebp - 0xa14f]
push edx
call fcn.00529d40
add esp, 0xc
push 0xa000
push 0
lea eax, [ebp - 0xa150]
push eax
call fcn.00529d40
add esp, 0xc
mov dword [ebp - 0xa154], 0
cmp dword [ebp - 8], 0
jne 0x5771f5
jmp 0x577e83
mov dword [ebp - 0x148], 0
mov dword [ebp - 0xa15c], 0
jmp 0x57721a
mov ecx, dword [ebp - 0xa15c]
add ecx, 1
mov dword [ebp - 0xa15c], ecx
mov edx, dword [ebp - 0xa15c]
cmp edx, dword [ebp - 0x148]
jae 0x577244
mov eax, dword [ebp - 0xa15c]
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ebp + eax*4 - 0x144]
cmp edx, dword [ecx + 4]
jne 0x577242
jmp 0x577244
jmp 0x57720b
mov eax, dword [ebp - 0xa15c]
cmp eax, dword [ebp - 0x148]
jne 0x577280
cmp dword [ebp - 0x148], 0x40
jae 0x577280
mov ecx, dword [ebp - 0xa15c]
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 4]
mov dword [ebp + ecx*4 - 0x144], eax
mov ecx, dword [ebp - 0x148]
add ecx, 1
mov dword [ebp - 0x148], ecx
xor edx, edx
jne 0x5771ff
lea eax, [ebp - 0x30]
push eax
push 0
push 0
lea ecx, [ebp - 0x148]
push ecx
push 0
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0xa804], eax
cmp dword [ebp - 0xa804], 0xffffffff
je 0x5772bc
cmp dword [ebp - 0xa804], 0
je 0x577323
jmp 0x577496
xor edx, edx
je 0x5772cb
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
je 0x5772d9
mov dword [0x63a8d8], 0xba
xor ecx, ecx
je 0x577306
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa5d8], eax
mov edx, dword [ebp - 0xa5d8]
push edx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor eax, eax
je 0x577317
push str.select
call fcn.00575290
add esp, 4
xor al, al
jmp 0x578b41
xor ecx, ecx
je 0x577332
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x577340
mov dword [0x63a8d8], 0xc0
xor eax, eax
je 0x57736d
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa5e0], eax
mov ecx, dword [ebp - 0xa5e0]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x5773be
mov eax, dword [ebp - 0xa800]
add eax, 0x84
mov dword [ebp - 0xa5e8], eax
mov ecx, dword [ebp - 0xa5e8]
cmp dword [ecx + 0x14], 0x10
jb 0x57739e
mov edx, dword [ebp - 0xa5e8]
mov eax, dword [edx]
mov dword [ebp - 0xa808], eax
jmp 0x5773aa
mov ecx, dword [ebp - 0xa5e8]
mov dword [ebp - 0xa808], ecx
mov edx, dword [ebp - 0xa808]
push edx
push 0x5ed0b0
call fcn.00575290
add esp, 8
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
jne 0x57748a
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x14]
jne 0x57748a
mov edx, dword [ebp - 0x28]
or edx, dword [ebp - 0x24]
je 0x57748a
xor eax, eax
je 0x5773f1
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
je 0x5773ff
mov dword [0x63a8d8], 0xc3
xor edx, edx
je 0x57742c
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa5ec], eax
mov eax, dword [ebp - 0xa5ec]
push eax
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor ecx, ecx
je 0x57747e
mov edx, dword [ebp - 0xa800]
add edx, 0x84
mov dword [ebp - 0xa5f4], edx
mov eax, dword [ebp - 0xa5f4]
cmp dword [eax + 0x14], 0x10
jb 0x57745e
mov ecx, dword [ebp - 0xa5f4]
mov edx, dword [ecx]
mov dword [ebp - 0xa80c], edx
jmp 0x57746a
mov eax, dword [ebp - 0xa5f4]
mov dword [ebp - 0xa80c], eax
mov ecx, dword [ebp - 0xa80c]
push ecx
push 0x5ed094
call fcn.00575290
add esp, 8
mov dword [ebp - 0x1c], 0
jmp 0x577e76
xor al, al
jmp 0x578b41
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 4]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x577e76
push 0
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0xa150]
push eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0xa158], eax
cmp dword [ebp - 0xa158], 0xffffffff
jne 0x577556
mov eax, dword [ebp - 0xa800]
mov dword [eax + 0x28], 4
xor ecx, ecx
je 0x5774fc
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x57750a
mov dword [0x63a8d8], 0xd1
xor eax, eax
je 0x577537
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa5f8], eax
mov ecx, dword [ebp - 0xa5f8]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x57754f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x5ed070
call fcn.00575290
add esp, 8
xor al, al
jmp 0x578b41
cmp dword [ebp - 0xa158], 0
jne 0x577566
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x38], 0
jne 0x577bcb
push str.200_OK
lea eax, [ebp - 0xa150]
push eax
call fcn.00529820
add esp, 8
test eax, eax
jne 0x5775a4
push str.206_Partial_Content
lea ecx, [ebp - 0xa150]
push ecx
call fcn.00529820
add esp, 8
test eax, eax
je 0x5779f3
push str.206_Partial_Content
lea edx, [ebp - 0xa150]
push edx
call fcn.00529820
add esp, 8
test eax, eax
je 0x577602
push str.Content_Range
lea eax, [ebp - 0xa150]
push eax
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa160], eax
cmp dword [ebp - 0xa160], 0
je 0x577602
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0xc]
push eax
push str.Content_Range:_bytes__ld__ld__ld
mov ecx, dword [ebp - 0xa160]
push ecx
call fcn.005297fb
add esp, 0x14
push str.Content_Encoding:_gzip
lea edx, [ebp - 0xa150]
push edx
call fcn.00529820
add esp, 8
test eax, eax
je 0x577621
mov dword [ebp - 0x34], 1
push str.Content_Description:
lea eax, [ebp - 0xa150]
push eax
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa154], eax
cmp dword [ebp - 0xa154], 0
je 0x5776e2
push str.Content_Description:
lea ecx, [ebp - 0xa150]
push ecx
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa168], eax
push str.Content_Description:
call fcn.005291f0
add esp, 4
add eax, dword [ebp - 0xa154]
push eax
call fcn.0052976c
add esp, 4
mov dword [ebp - 0xa164], eax
mov edx, dword [ebp - 0xa164]
push edx
push 0x5c5940
lea eax, [ebp - 0xa188]
push eax
call fcn.00529deb
add esp, 0xc
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
add edx, 0xa4
mov dword [ebp - 0xa608], edx
lea eax, [ebp - 0xa188]
push eax
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa600], eax
mov ecx, dword [ebp - 0xa600]
push ecx
lea edx, [ebp - 0xa188]
push edx
mov ecx, dword [ebp - 0xa608]
call fcn.004064c0
push str.Content_Length:
lea eax, [ebp - 0xa150]
push eax
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa154], eax
cmp dword [ebp - 0xa154], 0
je 0x577844
push str.Content_Length:
call fcn.005291f0
add esp, 4
add eax, dword [ebp - 0xa154]
push eax
call fcn.0052976c
add esp, 4
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push str._r_n_r_n
lea ecx, [ebp - 0xa150]
push ecx
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa154], eax
cmp dword [ebp - 0xa154], 0
je 0x57783f
push str._r_n_r_n
call fcn.005291f0
add esp, 4
add eax, dword [ebp - 0xa154]
mov dword [ebp - 0xa154], eax
mov edx, dword [ebp - 0xa154]
mov byte [edx - 1], 0
lea eax, [ebp - 0xa150]
push eax
call fcn.005291f0
add esp, 4
mov ecx, dword [ebp - 0xa158]
sub ecx, eax
sub ecx, 1
xor edx, edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa158], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 0xa814], ecx
mov dword [ebp - 0xa810], edx
cmp dword [ebp - 0xa810], 0
jl 0x5777e6
jg 0x5777d0
cmp dword [ebp - 0xa814], 0xa000
jbe 0x5777e6
mov dword [ebp - 0xa81c], 0xa000
mov dword [ebp - 0xa818], 0
jmp 0x5777fe
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
sbb ecx, dword [ebp - 0x24]
mov dword [ebp - 0xa81c], eax
mov dword [ebp - 0xa818], ecx
mov edx, dword [ebp - 0xa81c]
mov dword [ebp - 8], edx
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0xc], 0
je 0x57783f
cmp dword [ebp - 0x14c], 0
je 0x57783f
cmp dword [ebp - 0x3c], 0
je 0x57783f
mov eax, dword [ebp - 0xc]
xor ecx, ecx
add eax, dword [ebp - 0x28]
adc ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
jmp 0x5779ee
push str._r_n_r_n
lea ecx, [ebp - 0xa150]
push ecx
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa154], eax
cmp dword [ebp - 0xa154], 0
je 0x5779ee
push str._r_n_r_n
call fcn.005291f0
add esp, 4
add eax, dword [ebp - 0xa154]
mov dword [ebp - 0xa154], eax
lea edx, [ebp - 0x18]
push edx
push 0x5a704c
mov eax, dword [ebp - 0xa154]
push eax
call fcn.005297fb
add esp, 0xc
push 0x5a724c
mov ecx, dword [ebp - 0xa154]
push ecx
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa154], eax
cmp dword [ebp - 0xa154], 0
je 0x5779e7
mov edx, dword [ebp - 0xa154]
add edx, 2
mov dword [ebp - 0xa154], edx
mov eax, dword [ebp - 0xa154]
mov byte [eax - 1], 0
lea ecx, [ebp - 0xa150]
push ecx
call fcn.005291f0
add esp, 4
mov edx, dword [ebp - 0xa158]
sub edx, eax
sub edx, 1
xor eax, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xa158], ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
sbb eax, dword [ebp - 0x24]
mov dword [ebp - 0xa824], edx
mov dword [ebp - 0xa820], eax
cmp dword [ebp - 0xa820], 0
jl 0x57794c
jg 0x577936
cmp dword [ebp - 0xa824], 0xa000
jbe 0x57794c
mov dword [ebp - 0xa82c], 0xa000
mov dword [ebp - 0xa828], 0
jmp 0x577964
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 0xa82c], ecx
mov dword [ebp - 0xa828], edx
mov eax, dword [ebp - 0xa82c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 0xa834], ecx
mov dword [ebp - 0xa830], edx
cmp dword [ebp - 0xa830], 0
jg 0x5779ad
jl 0x577999
cmp dword [ebp - 0xa834], 0
jae 0x5779ad
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xa154]
mov byte [ecx + eax], 0
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0xc], 0
je 0x5779e5
cmp dword [ebp - 0x14c], 0
je 0x5779e5
cmp dword [ebp - 0x3c], 0
je 0x5779e5
mov edx, dword [ebp - 0xc]
xor eax, eax
add edx, dword [ebp - 0x28]
adc eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
jmp 0x5779ee
xor al, al
jmp 0x578b41
jmp 0x577bc6
push 0x5ed054
lea eax, [ebp - 0xa150]
push eax
call fcn.00529820
add esp, 8
test eax, eax
jne 0x577a27
push 0x5ed050
lea ecx, [ebp - 0xa150]
push ecx
call fcn.00529820
add esp, 8
test eax, eax
je 0x577bc6
push str.location:
lea edx, [ebp - 0xa150]
push edx
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa154], eax
cmp dword [ebp - 0xa154], 0
jne 0x577a64
push str.Location:
lea eax, [ebp - 0xa150]
push eax
call fcn.00529820
add esp, 8
mov dword [ebp - 0xa154], eax
cmp dword [ebp - 0xa154], 0
je 0x577bc6
mov ecx, dword [ebp - 0xa154]
mov dword [ebp - 0xa18c], ecx
mov byte [ebp - 0xa590], 0
push 0x3ff
push 0
lea edx, [ebp - 0xa58f]
push edx
call fcn.00529d40
add esp, 0xc
lea eax, [ebp - 0xa590]
push eax
push str.Location:__s_r_n
mov ecx, dword [ebp - 0xa18c]
push ecx
call fcn.005297fb
add esp, 0xc
lea edx, [ebp - 0xa590]
push edx
call fcn.005291f0
add esp, 4
test eax, eax
jne 0x577ae3
lea eax, [ebp - 0xa590]
push eax
push str.location:__s_r_n
mov ecx, dword [ebp - 0xa18c]
push ecx
call fcn.005297fb
add esp, 0xc
lea edx, [ebp - 0xa590]
push edx
call fcn.005291f0
add esp, 4
test eax, eax
jne 0x577afd
xor al, al
jmp 0x578b41
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0xa800]
call fcn.00576110
movzx edx, al
test edx, edx
jne 0x577b44
xor al, al
jmp 0x578b41
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x2c]
add ecx, 0x4c
mov dword [ebp - 0xa61c], ecx
lea edx, [ebp - 0xa590]
push edx
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa60c], eax
mov eax, dword [ebp - 0xa60c]
push eax
lea ecx, [ebp - 0xa590]
push ecx
mov ecx, dword [ebp - 0xa61c]
call fcn.004064c0
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa800]
mov eax, dword [edx]
call eax
movzx ecx, al
test ecx, ecx
jne 0x577bae
xor al, al
jmp 0x578b41
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa800]
mov edx, dword [eax + 4]
call edx
jmp 0x578b41
jmp 0x577c50
lea eax, [ebp - 0xa150]
mov dword [ebp - 0xa154], eax
mov eax, dword [ebp - 0xa158]
cdq
add eax, dword [ebp - 0x28]
adc edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 0xa83c], ecx
mov dword [ebp - 0xa838], edx
cmp dword [ebp - 0xa838], 0
jl 0x577c2f
jg 0x577c19
cmp dword [ebp - 0xa83c], 0xa000
jbe 0x577c2f
mov dword [ebp - 0xa844], 0xa000
mov dword [ebp - 0xa840], 0
jmp 0x577c47
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
sbb ecx, dword [ebp - 0x24]
mov dword [ebp - 0xa844], eax
mov dword [ebp - 0xa840], ecx
mov edx, dword [ebp - 0xa844]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x38], 0
je 0x577e76
mov eax, dword [ebp - 0xa158]
push eax
mov ecx, dword [ebp - 0xa154]
push ecx
mov ecx, dword [ebp - 0xa800]
call fcn.00578b50
movzx edx, al
test edx, edx
jne 0x577d2d
mov eax, dword [ebp - 0xa800]
mov dword [eax + 0x28], 3
xor ecx, ecx
je 0x577c9a
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x577ca8
mov dword [0x63a8d8], 0x155
xor eax, eax
je 0x577cd5
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa620], eax
mov ecx, dword [ebp - 0xa620]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x577d26
mov eax, dword [ebp - 0xa800]
add eax, 0x84
mov dword [ebp - 0xa628], eax
mov ecx, dword [ebp - 0xa628]
cmp dword [ecx + 0x14], 0x10
jb 0x577d06
mov edx, dword [ebp - 0xa628]
mov eax, dword [edx]
mov dword [ebp - 0xa848], eax
jmp 0x577d12
mov ecx, dword [ebp - 0xa628]
mov dword [ebp - 0xa848], ecx
mov edx, dword [ebp - 0xa848]
push edx
push 0x5ed024
call fcn.00575290
add esp, 8
xor al, al
jmp 0x578b41
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x2c]
cmp dword [ecx + 0x90], 0
je 0x577e76
fild qword [ebp - 0x28]
fmul qword [0x5c4f38]
fstp qword [ebp - 0xa5a0]
fild qword [ebp - 0x18]
fmul qword [0x5c4f38]
fstp qword [ebp - 0xa598]
fld qword [ebp - 0xa5a0]
fdiv qword [ebp - 0xa598]
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x2c]
fimul dword [eax + 0x94]
fmul qword [0x5c4f38]
fstp dword [ebp - 0xa5a8]
fld dword [ebp - 0xa5a8]
fnstcw word [ebp - 0xa84a]
movzx eax, word [ebp - 0xa84a]
or eax, 0xc00
mov dword [ebp - 0xa850], eax
fldcw word [ebp - 0xa850]
fistp qword [ebp - 0xa858]
fldcw word [ebp - 0xa84a]
mov ecx, dword [ebp - 0xa858]
mov dword [ebp - 0xa5a4], ecx
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0xa8]
cmp eax, dword [ebp - 0xa5a4]
jae 0x577e76
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
cmp dword [edx + 0x9c], 0
je 0x577e2d
mov eax, dword [ebp - 0xa5a4]
push eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0xa0]
push eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0x9c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x577e64
mov ecx, dword [ebp - 0xa5a4]
push ecx
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0xa0]
push ecx
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ebp - 0xa5a4]
mov dword [ecx + 0xa8], edx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x5770db
cmp dword [ebp - 0x34], 0
je 0x578363
mov eax, dword [ebp - 0xa800]
add eax, 0x84
mov dword [ebp - 0xa62c], eax
mov ecx, dword [ebp - 0xa62c]
cmp dword [ecx + 0x14], 0x10
jb 0x577eba
mov edx, dword [ebp - 0xa62c]
mov eax, dword [edx]
mov dword [ebp - 0xa85c], eax
jmp 0x577ec6
mov ecx, dword [ebp - 0xa62c]
mov dword [ebp - 0xa85c], ecx
push 0
mov edx, dword [ebp - 0xa85c]
push edx
call fcn.00529925
add esp, 8
cmp eax, 0xffffffff
je 0x578301
mov eax, dword [ebp - 0xa800]
add eax, 0x84
mov dword [ebp - 0xa630], eax
mov ecx, dword [ebp - 0xa630]
cmp dword [ecx + 0x14], 0x10
jb 0x577f0d
mov edx, dword [ebp - 0xa630]
mov eax, dword [edx]
mov dword [ebp - 0xa860], eax
jmp 0x577f19
mov ecx, dword [ebp - 0xa630]
mov dword [ebp - 0xa860], ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa5b8], esp
mov edx, dword [ebp - 0xa860]
push edx
call fcn.00405860
mov dword [ebp - 0xa864], eax
call fcn.00575d80
add esp, 0x1c
mov dword [ebp - 0xa86c], eax
mov dword [ebp - 0xa868], edx
mov eax, dword [ebp - 0xa86c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xa868]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xa800]
cmp dword [edx + 0xa0], 0
je 0x577f9c
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0xa5bc], ecx
mov edx, dword [ebp - 0xa5bc]
push edx
call fcn.0042a4c9
add esp, 4
mov eax, dword [ebp - 0xa800]
mov dword [eax + 0xa0], 0
xor ecx, ecx
jne 0x577f5c
mov edx, dword [ebp - 0xa800]
cmp dword [edx + 0xa4], 0
je 0x577fe0
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0xa4]
mov dword [ebp - 0xa5c0], ecx
mov edx, dword [ebp - 0xa5c0]
push edx
call fcn.0042a4c9
add esp, 4
mov eax, dword [ebp - 0xa800]
mov dword [eax + 0xa4], 0
xor ecx, ecx
jne 0x577fa0
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042a4d4
add esp, 4
mov dword [ebp - 0xa5c4], eax
mov eax, dword [ebp - 0xa800]
mov ecx, dword [ebp - 0xa5c4]
mov dword [eax + 0xa0], ecx
push 0
push 0xa
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.005302e0
push eax
call fcn.0042a4d4
add esp, 4
mov dword [ebp - 0xa5c8], eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ebp - 0xa5c8]
mov dword [ecx + 0xa4], edx
push 0
push 0xa
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005302e0
mov dword [ebp - 0xa5ac], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0xa0]
push edx
mov eax, dword [ebp - 0xa800]
add eax, 0x84
mov dword [ebp - 0xa64c], eax
mov ecx, dword [ebp - 0xa64c]
cmp dword [ecx + 0x14], 0x10
jb 0x578093
mov edx, dword [ebp - 0xa64c]
mov eax, dword [edx]
mov dword [ebp - 0xa870], eax
jmp 0x57809f
mov ecx, dword [ebp - 0xa64c]
mov dword [ebp - 0xa870], ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa5cc], esp
mov edx, dword [ebp - 0xa870]
push edx
call fcn.00405860
mov dword [ebp - 0xa874], eax
call fcn.00575ea0
add esp, 0x28
mov byte [ebp - 0xa875], al
movzx eax, byte [ebp - 0xa875]
test eax, eax
je 0x5782ff
lea ecx, [ebp - 0xa5ac]
push ecx
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0xa4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0xa0]
push eax
call fcn.005793e0
add esp, 0x10
mov dword [ebp - 0xa5b0], eax
cmp dword [ebp - 0xa5b0], 0
jne 0x5782a4
xor ecx, ecx
je 0x578128
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x578136
mov dword [0x63a8d8], 0x180
xor eax, eax
je 0x578163
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa668], eax
mov ecx, dword [ebp - 0xa668]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x578182
mov eax, dword [ebp - 0xa5b0]
push eax
mov ecx, dword [ebp - 0xa5ac]
push ecx
push str.nodata_is___ld____iRet_is___d_
call fcn.00575290
add esp, 0xc
mov edx, dword [ebp - 0xa800]
add edx, 0x84
mov dword [ebp - 0xa674], edx
mov eax, dword [ebp - 0xa674]
cmp dword [eax + 0x14], 0x10
jb 0x5781b0
mov ecx, dword [ebp - 0xa674]
mov edx, dword [ecx]
mov dword [ebp - 0xa87c], edx
jmp 0x5781bc
mov eax, dword [ebp - 0xa674]
mov dword [ebp - 0xa87c], eax
mov ecx, dword [ebp - 0xa87c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0xa5ac]
push edx
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0xa4]
push ecx
mov ecx, dword [ebp - 0xa800]
call fcn.00578b50
movzx edx, al
test edx, edx
jne 0x5782a2
mov eax, dword [ebp - 0xa800]
mov dword [eax + 0x28], 3
xor ecx, ecx
je 0x57820f
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x57821d
mov dword [0x63a8d8], 0x185
xor eax, eax
je 0x57824a
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa678], eax
mov ecx, dword [ebp - 0xa678]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x57829b
mov eax, dword [ebp - 0xa800]
add eax, 0x84
mov dword [ebp - 0xa684], eax
mov ecx, dword [ebp - 0xa684]
cmp dword [ecx + 0x14], 0x10
jb 0x57827b
mov edx, dword [ebp - 0xa684]
mov eax, dword [edx]
mov dword [ebp - 0xa880], eax
jmp 0x578287
mov ecx, dword [ebp - 0xa684]
mov dword [ebp - 0xa880], ecx
mov edx, dword [ebp - 0xa880]
push edx
push 0x5ed024
call fcn.00575290
add esp, 8
xor al, al
jmp 0x578b41
jmp 0x5782ff
xor eax, eax
je 0x5782b3
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
je 0x5782c1
mov dword [0x63a8d8], 0x18b
xor edx, edx
je 0x5782ee
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa688], eax
mov eax, dword [ebp - 0xa688]
push eax
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor ecx, ecx
je 0x5782ff
push str.Gzip
call fcn.00575290
add esp, 4
jmp 0x578363
xor edx, edx
je 0x578310
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
je 0x57831e
mov dword [0x63a8d8], 0x191
xor ecx, ecx
je 0x57834b
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa694], eax
mov edx, dword [ebp - 0xa694]
push edx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor eax, eax
je 0x57835c
push 0x5ecfd8
call fcn.00575290
add esp, 4
xor al, al
jmp 0x578b41
mov ecx, dword [ebp - 0xa800]
mov dword [ecx + 0x28], 0
xor edx, edx
je 0x57837f
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
je 0x57838d
mov dword [0x63a8d8], 0x196
xor ecx, ecx
je 0x5783ba
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa6a0], eax
mov edx, dword [ebp - 0xa6a0]
push edx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor eax, eax
je 0x57840c
mov ecx, dword [ebp - 0xa800]
add ecx, 0x84
mov dword [ebp - 0xa6ac], ecx
mov edx, dword [ebp - 0xa6ac]
cmp dword [edx + 0x14], 0x10
jb 0x5783ec
mov eax, dword [ebp - 0xa6ac]
mov ecx, dword [eax]
mov dword [ebp - 0xa884], ecx
jmp 0x5783f8
mov edx, dword [ebp - 0xa6ac]
mov dword [ebp - 0xa884], edx
mov eax, dword [ebp - 0xa884]
push eax
push 0x5ecfc8
call fcn.00575290
add esp, 8
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
cmp dword [edx + 0x88], 0
je 0x57874b
xor eax, eax
je 0x578431
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
je 0x57843f
mov dword [0x63a8d8], 0x19a
xor edx, edx
je 0x57846c
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa6b0], eax
mov eax, dword [ebp - 0xa6b0]
push eax
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor ecx, ecx
je 0x5784cf
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x2c]
add eax, 0x68
mov dword [ebp - 0xa6c4], eax
mov ecx, dword [ebp - 0xa6c4]
cmp dword [ecx + 0x14], 0x10
jb 0x57849e
mov edx, dword [ebp - 0xa6c4]
mov eax, dword [edx]
mov dword [ebp - 0xa888], eax
jmp 0x5784aa
mov ecx, dword [ebp - 0xa6c4]
mov dword [ebp - 0xa888], ecx
mov edx, dword [ebp - 0xa888]
push edx
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
push 0x5ecfa8
call fcn.00575290
add esp, 0x10
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
add edx, 0x68
mov dword [ebp - 0xa6c8], edx
mov eax, dword [ebp - 0xa6c8]
cmp dword [eax + 0x14], 0x10
jb 0x5784fd
mov ecx, dword [ebp - 0xa6c8]
mov edx, dword [ecx]
mov dword [ebp - 0xa88c], edx
jmp 0x578509
mov eax, dword [ebp - 0xa6c8]
mov dword [ebp - 0xa88c], eax
push 0
mov ecx, dword [ebp - 0xa88c]
push ecx
call fcn.00529925
add esp, 8
cmp eax, 0xffffffff
je 0x57869e
xor edx, edx
je 0x578532
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
je 0x578540
mov dword [0x63a8d8], 0x19e
xor ecx, ecx
je 0x57856d
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa6cc], eax
mov edx, dword [ebp - 0xa6cc]
push edx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor eax, eax
je 0x5785d0
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
add edx, 0x68
mov dword [ebp - 0xa6d8], edx
mov eax, dword [ebp - 0xa6d8]
cmp dword [eax + 0x14], 0x10
jb 0x57859f
mov ecx, dword [ebp - 0xa6d8]
mov edx, dword [ecx]
mov dword [ebp - 0xa890], edx
jmp 0x5785ab
mov eax, dword [ebp - 0xa6d8]
mov dword [ebp - 0xa890], eax
mov ecx, dword [ebp - 0xa890]
push ecx
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
push 0x5ecf90
call fcn.00575290
add esp, 0x10
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x2c]
add ecx, 0x68
mov dword [ebp - 0xa6dc], ecx
mov edx, dword [ebp - 0xa6dc]
cmp dword [edx + 0x14], 0x10
jb 0x5785fe
mov eax, dword [ebp - 0xa6dc]
mov ecx, dword [eax]
mov dword [ebp - 0xa894], ecx
jmp 0x57860a
mov edx, dword [ebp - 0xa6dc]
mov dword [ebp - 0xa894], edx
mov eax, dword [ebp - 0xa894]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0xa5b4], eax
cmp dword [ebp - 0xa5b4], 0
jne 0x578699
xor ecx, ecx
je 0x578635
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x578643
mov dword [0x63a8d8], 0x1a2
xor eax, eax
je 0x578670
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa6e0], eax
mov ecx, dword [ebp - 0xa6e0]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x578699
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
push 0x5ecf60
call fcn.00575290
add esp, 0x10
jmp 0x57874b
xor ecx, ecx
je 0x5786ad
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x5786bb
mov dword [0x63a8d8], 0x1a7
xor eax, eax
je 0x5786e8
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa6ec], eax
mov ecx, dword [ebp - 0xa6ec]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x57874b
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x2c]
add ecx, 0x68
mov dword [ebp - 0xa700], ecx
mov edx, dword [ebp - 0xa700]
cmp dword [edx + 0x14], 0x10
jb 0x57871a
mov eax, dword [ebp - 0xa700]
mov ecx, dword [eax]
mov dword [ebp - 0xa898], ecx
jmp 0x578726
mov edx, dword [ebp - 0xa700]
mov dword [ebp - 0xa898], edx
mov eax, dword [ebp - 0xa898]
push eax
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
push 0x5ecf48
call fcn.00575290
add esp, 0x10
mov edx, dword [ebp - 0xa800]
add edx, 0x84
mov dword [ebp - 0xa704], edx
mov eax, dword [ebp - 0xa704]
cmp dword [eax + 0x14], 0x10
jb 0x578779
mov ecx, dword [ebp - 0xa704]
mov edx, dword [ecx]
mov dword [ebp - 0xa89c], edx
jmp 0x578785
mov eax, dword [ebp - 0xa704]
mov dword [ebp - 0xa89c], eax
push 0
mov ecx, dword [ebp - 0xa89c]
push ecx
call fcn.00529925
add esp, 8
cmp eax, 0xffffffff
je 0x578a92
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x2c]
add eax, 0x68
mov dword [ebp - 0xa708], eax
mov ecx, dword [ebp - 0xa708]
cmp dword [ecx + 0x14], 0x10
jb 0x5787cd
mov edx, dword [ebp - 0xa708]
mov eax, dword [edx]
mov dword [ebp - 0xa8a0], eax
jmp 0x5787d9
mov ecx, dword [ebp - 0xa708]
mov dword [ebp - 0xa8a0], ecx
mov edx, dword [ebp - 0xa800]
add edx, 0x84
mov dword [ebp - 0xa70c], edx
mov eax, dword [ebp - 0xa70c]
cmp dword [eax + 0x14], 0x10
jb 0x578807
mov ecx, dword [ebp - 0xa70c]
mov edx, dword [ecx]
mov dword [ebp - 0xa8a4], edx
jmp 0x578813
mov eax, dword [ebp - 0xa70c]
mov dword [ebp - 0xa8a4], eax
mov ecx, dword [ebp - 0xa8a0]
push ecx
mov edx, dword [ebp - 0xa8a4]
push edx
call fcn.00579941
add esp, 8
test eax, eax
je 0x5789dd
mov eax, dword [ebp - 0xa800]
mov dword [eax + 0x28], 2
xor ecx, ecx
je 0x57884d
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x57885b
mov dword [0x63a8d8], 0x1b0
xor eax, eax
je 0x578888
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa710], eax
mov ecx, dword [ebp - 0xa710]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x578899
push 0x5ecf30
call fcn.00575290
add esp, 4
xor eax, eax
je 0x5788a8
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
je 0x5788b6
mov dword [0x63a8d8], 0x1b1
xor edx, edx
je 0x5788e3
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa730], eax
mov eax, dword [ebp - 0xa730]
push eax
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor ecx, ecx
je 0x578935
mov edx, dword [ebp - 0xa800]
add edx, 0x84
mov dword [ebp - 0xa750], edx
mov eax, dword [ebp - 0xa750]
cmp dword [eax + 0x14], 0x10
jb 0x578915
mov ecx, dword [ebp - 0xa750]
mov edx, dword [ecx]
mov dword [ebp - 0xa8a8], edx
jmp 0x578921
mov eax, dword [ebp - 0xa750]
mov dword [ebp - 0xa8a8], eax
mov ecx, dword [ebp - 0xa8a8]
push ecx
push 0x5ecf20
call fcn.00575290
add esp, 8
xor edx, edx
je 0x578944
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
je 0x578952
mov dword [0x63a8d8], 0x1b2
xor ecx, ecx
je 0x57897f
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa754], eax
mov edx, dword [ebp - 0xa754]
push edx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor eax, eax
je 0x5789d1
mov ecx, dword [ebp - 0xa800]
mov edx, dword [ecx + 0x2c]
add edx, 0x68
mov dword [ebp - 0xa77c], edx
mov eax, dword [ebp - 0xa77c]
cmp dword [eax + 0x14], 0x10
jb 0x5789b1
mov ecx, dword [ebp - 0xa77c]
mov edx, dword [ecx]
mov dword [ebp - 0xa8ac], edx
jmp 0x5789bd
mov eax, dword [ebp - 0xa77c]
mov dword [ebp - 0xa8ac], eax
mov ecx, dword [ebp - 0xa8ac]
push ecx
push str.________s_
call fcn.00575290
add esp, 8
xor al, al
jmp 0x578b41
mov edx, dword [ebp - 0xa800]
mov dword [edx + 0x28], 0
xor eax, eax
je 0x5789f9
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
je 0x578a07
mov dword [0x63a8d8], 0x1b8
xor edx, edx
je 0x578a34
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa780], eax
mov eax, dword [ebp - 0xa780]
push eax
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor ecx, ecx
je 0x578a86
mov edx, dword [ebp - 0xa800]
mov eax, dword [edx + 0x2c]
add eax, 0x68
mov dword [ebp - 0xa7a8], eax
mov ecx, dword [ebp - 0xa7a8]
cmp dword [ecx + 0x14], 0x10
jb 0x578a66
mov edx, dword [ebp - 0xa7a8]
mov eax, dword [edx]
mov dword [ebp - 0xa8b0], eax
jmp 0x578a72
mov ecx, dword [ebp - 0xa7a8]
mov dword [ebp - 0xa8b0], ecx
mov edx, dword [ebp - 0xa8b0]
push edx
push 0x5ecfc8
call fcn.00575290
add esp, 8
mov al, 1
jmp 0x578b41
mov eax, dword [ebp - 0xa800]
mov dword [eax + 0x28], 2
xor ecx, ecx
je 0x578aae
push 0x63a8c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
je 0x578abc
mov dword [0x63a8d8], 0x1bf
xor eax, eax
je 0x578ae9
push str.SocketDownLoad.cpp
call fcn.005291f0
add esp, 4
mov dword [ebp - 0xa7ac], eax
mov ecx, dword [ebp - 0xa7ac]
push ecx
push str.SocketDownLoad.cpp
mov ecx, 0x63a8dc
call fcn.004064c0
xor edx, edx
je 0x578b3b
mov eax, dword [ebp - 0xa800]
mov ecx, dword [eax + 0x2c]
add ecx, 0x68
mov dword [ebp - 0xa7fc], ecx
mov edx, dword [ebp - 0xa7fc]
cmp dword [edx + 0x14], 0x10
jb 0x578b1b
mov eax, dword [ebp - 0xa7fc]
mov ecx, dword [eax]
mov dword [ebp - 0xa8b4], ecx
jmp 0x578b27
mov edx, dword [ebp - 0xa7fc]
mov dword [ebp - 0xa8b4], edx
mov eax, dword [ebp - 0xa8b4]
push eax
push 0x5ecee4
call fcn.00575290
add esp, 8
xor al, al
jmp 0x578b41
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0052927b
mov esp, ebp
pop ebp
ret