Function at 0x40efe0
Capabilities:
Check for time delay via gettickcount
Create raw socket
Create tcp socket
Create udp socket
Get socket status

Disassembly:
mov eax, 0x766c
call fcn.0043ae00
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [esp + 0x7680]
mov dword [esp + 0x18], edi
lea eax, [ecx + ecx*2]
lea eax, [eax + eax*4]
lea ebx, [eax + eax*4]
mov eax, dword [0x51a850]
shl ebx, 2
mov edx, dword [ebx + eax]
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], edx
push eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x664]
push edx
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x1670], 0
mov dword [esp + 0x20], 0x1000
mov dword [esp + 0x3c], esi
call fcn.00424280
test eax, eax
je 0x410952
mov eax, dword [0x4f679c]
mov ebp, 1
cmp eax, ebp
jne 0x40f07c
mov ecx, dword [0x51a850]
mov eax, dword [ebx + ecx + 0x20]
cmp eax, 0xffffffff
je 0x40f07a
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
mov esi, dword [eax + edx*4 + 0x44]
jmp 0x40f07c
mov esi, ebp
lea ecx, [esp + 0x660]
push ecx
mov ecx, edi
call fcn.004248a0
mov edx, dword [0x51a850]
test eax, eax
je 0x40f0a8
cmp dword [0x4f679c], ebp
jne 0x40f0a8
cmp dword [ebx + edx + 0x20], 0xffffffff
je 0x410952
test esi, esi
je 0x40f19b
test eax, eax
jne 0x40f19b
lea ebp, [esp + 0x660]
push 0x14
push str.proxy_authorization:
push ebp
call fcn.00445b80
add esp, 0xc
test eax, eax
je 0x40f0f0
push 0x46e38c
push ebp
call fcn.0043ad80
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40f1fa
add ebp, 2
jmp 0x40f0bf
test ebp, ebp
je 0x40f1fa
push str.Basic
push ebp
call fcn.0043ad80
mov edx, eax
add esp, 8
test edx, edx
je 0x410952
mov edi, str.Basic
or ecx, 0xffffffff
xor eax, eax
push 0x46e38c
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
add esi, edx
push esi
call fcn.0043ad80
mov edi, eax
add esp, 8
test edi, edi
je 0x410952
mov edx, dword [esp + 0x7680]
mov byte [edi], 0
mov eax, dword [0x51a850]
push edx
lea ecx, [ebx + eax + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push esi
call fcn.004181c0
test eax, eax
je 0x40f1fa
add edi, 2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x660]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [0x51a850]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
mov al, byte [0x473aa0]
mov ecx, 0x400
mov byte [esp + 0x5674], al
xor eax, eax
lea edi, [esp + 0x5675]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + edx + 0x20]
mov ecx, dword [ebx + edx + 0xc]
cmp eax, 0xffffffff
je 0x40f285
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
lea edx, [eax + edx*4]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [esp + 0x567c]
push str._s__s_Web
push eax
call fcn.0043afc4
add esp, 0x10
jmp 0x40f2d7
mov al, byte [0x473aa0]
mov ecx, 0x400
mov byte [esp + 0x366c], al
xor eax, eax
lea edi, [esp + 0x366d]
push 0x4f8c4c
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3670]
push str.HTTP_1.0_407_Unauthorized_r_nServer:_CCProxy_r_nProxy_Authenticate:_Basic_realm__s__r_nCache_control:_no_cache_r_n_r_n
push ecx
call fcn.0043afc4
add esp, 0xc
lea edx, [esp + 0x366c]
push edx
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push edi
mov ecx, esi
call fcn.00411160
mov eax, dword [0x4f9c54]
test eax, eax
jne 0x40f26d
push 0x4f9854
push edi
mov ecx, esi
call fcn.00411160
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x766c
ret 4
push eax
push edi
mov ecx, esi
call fcn.00411160
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x766c
ret 4
mov eax, dword [0x4f67a4]
test eax, eax
je 0x40f2ba
lea eax, [ebx + edx + 0x24]
mov dl, byte [ebx + edx + 0x24]
test dl, dl
je 0x40f2ba
push eax
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x567c]
push str._s__s_Web
push ecx
call fcn.0043afc4
add esp, 0x10
jmp 0x40f2d7
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x5678]
push str._s_unknown_Web
push edx
call fcn.0043afc4
add esp, 0xc
mov eax, dword [0x501cf0]
test eax, eax
je 0x40f338
lea eax, [esp + 0x660]
push 0x46e38c
push eax
call fcn.0043ad80
mov edx, eax
add esp, 8
test edx, edx
je 0x410952
lea edi, [esp + 0x660]
or ecx, 0xffffffff
xor eax, eax
mov byte [edx], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x5674]
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [edx], 0xd
lea ecx, [esp + 0x5674]
push ecx
call fcn.0040a330
mov eax, dword [0x4f7800]
add esp, 4
test eax, eax
je 0x40f381
mov eax, dword [0x4f840c]
test eax, eax
je 0x40f381
mov eax, dword [0x4f8418]
test eax, eax
je 0x40f381
call fcn.0040ed40
test al, al
jne 0x40f381
mov edx, dword [esp + 0x7680]
mov ebp, dword [esp + 0x18]
push edx
mov ecx, ebp
call fcn.00417c50
jmp 0x40f385
mov ebp, dword [esp + 0x18]
mov al, byte [0x473aa0]
mov ecx, 0x400
mov byte [esp + 0x2668], al
xor eax, eax
lea edi, [esp + 0x2669]
lea edx, [esp + 0x2668]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x668]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x30], 0x50
call fcn.00410970
mov esi, eax
test esi, esi
jne 0x40f3e2
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x766c
ret 4
mov edx, dword [0x51a850]
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x40f42c
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [edx + ecx*4 + 0x74]
cmp eax, 0xffffffff
je 0x40f42c
lea ecx, [esp + 0x660]
lea edx, [esp + 0x2668]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00424600
test eax, eax
jne 0x410952
mov edi, str.ccproxy.connect
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x266c]
push str.ccproxy.connect
push ecx
call fcn.00445b80
add esp, 0xc
test eax, eax
jne 0x40f479
mov eax, dword [esp + 0x7680]
lea edx, [esp + 0x2668]
push edx
push eax
mov ecx, ebp
call fcn.0041e910
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x766c
ret 4
mov edi, str.ccproxy.disconnect
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x266c]
push str.ccproxy.disconnect
push ecx
call fcn.00445b80
add esp, 0xc
test eax, eax
jne 0x40f5a4
mov eax, dword [0x4f7800]
test eax, eax
jne 0x40f50d
mov edi, str.dial_disabled._r_n
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x260]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x260]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x264]
push ecx
push edx
mov ecx, ebp
call fcn.00411190
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x766c
ret 4
mov eax, dword [0x51a850]
mov eax, dword [ebx + eax + 0x20]
cmp eax, 0xffffffff
je 0x40f52f
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
test byte [edx + ecx*4 + 0x68], 0x10
je 0x40f4af
lea eax, [esp + 0x260]
push str.disconnected.
push eax
call fcn.0043afc4
lea ecx, [esp + 0x268]
push ecx
call fcn.0040ede0
mov edi, 0x46e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x260]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x260]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x260]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
jmp 0x40f4f7
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edx, dword [0x51a850]
mov edi, eax
cmp esi, 4
mov dword [esp + 0x1c], edi
mov dword [ebx + edx + 4], edi
jne 0x40f731
mov eax, dword [0x4f77e4]
test eax, eax
je 0x410952
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x266c]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00419740
test eax, eax
je 0x410952
mov esi, dword [esp + 0x14]
mov ecx, ebp
push esi
call fcn.004245a0
test eax, eax
je 0x40f62a
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x664]
push edx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.004112c0
mov edi, str.HTTP_1.0_200_Connection_established_r_nProxy_agent:_CCProxy_6.0_r_n_r_n
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x260]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x260]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x264]
push ecx
push edx
mov ecx, ebp
call fcn.00411190
test eax, eax
je 0x410952
mov eax, dword [0x51a850]
xor esi, esi
mov edx, dword [ebx + eax + 0x20]
cmp edx, 0xffffffff
je 0x40f70a
lea edi, [esp + 0x260]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, 0x4f4398
call fcn.00423400
mov ecx, dword [0x51a850]
mov eax, dword [ebx + ecx + 0x20]
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
mov ecx, dword [eax + edx*4 + 0x74]
cmp ecx, 0xffffffff
je 0x40f70a
mov eax, ecx
mov edx, dword [0x4f43b0]
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
lea ecx, [eax + eax*2]
shl ecx, 4
lea eax, [ecx + edx]
mov ecx, dword [ecx + edx + 0x3144]
test ecx, ecx
je 0x40f70a
lea edx, [eax + 0x1032]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40f70a
mov esi, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x7680]
push esi
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00417ca0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x766c
ret 4
cmp esi, 1
jne 0x41089c
mov eax, dword [0x4f77b0]
test eax, eax
je 0x410952
mov eax, dword [0x4fb8a4]
test eax, eax
je 0x40f76f
push 0x46f59c
push 0x4fbca8
call fcn.0043fa60
add esp, 8
test eax, eax
je 0x40f78e
mov eax, dword [0x4fb8a4]
test eax, eax
jne 0x40f7c7
mov eax, dword [0x4fc8b0]
test eax, eax
je 0x40f7c7
push 0x46f59c
push 0x4fdcc4
call fcn.0043fa60
add esp, 8
test eax, eax
jne 0x40f7c7
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push 1
lea ecx, [esp + 0x664]
push eax
push ecx
lea eax, [esp + 0x2674]
push edx
push eax
push edi
mov ecx, ebp
call fcn.00424900
test eax, eax
jne 0x40f845
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x766c
ret 4
cmp dword [0x4f77f4], 1
jne 0x40f81c
push 3
lea ecx, [esp + 0x664]
push 0x46f598
push ecx
call fcn.00445b80
add esp, 0xc
test eax, eax
jne 0x40f81c
mov edx, dword [esp + 0x7680]
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x266c]
push eax
push ecx
lea eax, [esp + 0x66c]
push edx
push eax
mov ecx, ebp
call fcn.004186d0
test eax, eax
jne 0x410952
mov ecx, dword [esp + 0x20]
xor esi, esi
push esi
lea edx, [esp + 0x266c]
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00419740
test eax, eax
jne 0x40f847
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x766c
ret 4
xor esi, esi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x660]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00411190
test eax, eax
je 0x410952
mov edx, dword [0x51a850]
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x40f885
mov ecx, dword [esp + 0x10]
push 1
push ecx
push eax
mov ecx, 0x4f4398
call fcn.00423400
mov ecx, dword [esp + 0x2c]
cmp ecx, esi
jle 0x40fb06
mov eax, ecx
xor esi, esi
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
test eax, eax
jle 0x40f9a5
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push 8
lea eax, [esp + 0x664]
push edx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.004112c0
test eax, eax
je 0x410952
mov edx, dword [0x51a850]
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x40f96d
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov ecx, dword [edx + ecx*4 + 0x74]
cmp ecx, 0xffffffff
je 0x40f94d
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
mov ecx, dword [0x4f43b0]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
mov ecx, dword [eax + 0x3144]
test ecx, ecx
je 0x40f94d
lea edx, [eax + 0x1032]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40f94d
push edx
lea edx, [esp + 0x664]
push edx
mov ecx, ebp
call fcn.00419cb0
test eax, eax
jne 0x41074e
mov ecx, dword [0x51a850]
mov eax, dword [esp + 0x10]
push 1
push eax
mov edx, dword [ebx + ecx + 0x20]
mov ecx, 0x4f4398
push edx
call fcn.00423400
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x660]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00411190
test eax, eax
je 0x410952
mov ecx, dword [esp + 0x2c]
inc esi
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
cmp esi, eax
jl 0x40f8a9
mov eax, ecx
push 8
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0xc
shl eax, 0xc
sub ecx, eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x664]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004112c0
test eax, eax
je 0x410952
mov eax, dword [0x51a850]
mov eax, dword [ebx + eax + 0x20]
cmp eax, 0xffffffff
je 0x40fadf
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov ecx, dword [edx + ecx*4 + 0x74]
cmp ecx, 0xffffffff
je 0x40fabf
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
mov ecx, dword [0x4f43b0]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
mov ecx, dword [eax + 0x3144]
test ecx, ecx
je 0x40fabf
lea edx, [eax + 0x1032]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40fabf
push edx
lea edx, [esp + 0x664]
push edx
mov ecx, ebp
call fcn.00419cb0
test eax, eax
je 0x40fabf
mov edx, dword [0x4f9850]
test edx, edx
jne 0x4107da
push 0x4f9450
lea eax, [esp + 0x664]
push 0x46f188
push eax
call fcn.0043afc4
lea edi, [esp + 0x66c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x14]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
push ecx
lea ecx, [esp + 0x664]
push ecx
push edx
mov ecx, ebp
call fcn.00411190
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x766c
ret 4
mov edx, dword [0x51a850]
mov ecx, dword [esp + 0x10]
push 1
push ecx
mov eax, dword [ebx + edx + 0x20]
mov ecx, 0x4f4398
push eax
call fcn.00423400
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x660]
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00411190
test eax, eax
je 0x410952
mov dword [esp + 0x2c], 0
xor esi, esi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x51a850]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], esi
mov eax, dword [ebx + ecx + 0x20]
cmp eax, 0xffffffff
je 0x40fb4f
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
lea eax, [eax + edx*4]
mov edx, dword [eax + 0x80]
add edx, dword [eax + 0x7c]
mov dword [esp + 0x30], edx
mov eax, dword [ebx + ecx + 0x18]
mov dword [esp + 0x24], esi
cmp eax, 2
mov dword [esp + 0x44], esi
jne 0x4106bc
jmp 0x40fb6a
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
xor ecx, ecx
cmp edi, 0xffffffff
mov dword [esp + 0x58], ecx
je 0x40fb86
mov ecx, 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ecx
xor eax, eax
test ecx, ecx
jbe 0x40fb9c
lea edx, [esp + 0x5c]
cmp dword [edx], esi
je 0x40fb9c
inc eax
add edx, 4
cmp eax, ecx
jb 0x40fb90
cmp eax, ecx
jne 0x40fbb2
cmp ecx, 0x40
jae 0x40fbb2
mov dword [esp + eax*4 + 0x5c], esi
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x48]
lea edx, [esp + 0x58]
push ecx
push 0
push 0
push edx
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x40fbf9
mov eax, dword [0x502140]
cmp eax, 0xffffffff
je 0x4106ab
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax*2]
inc ecx
lea eax, [eax + eax*4]
mov dword [esp + 0x34], ecx
shl eax, 2
cmp ecx, eax
jg 0x410952
jmp 0x4106ab
test eax, eax
mov dword [esp + 0x34], 0
jl 0x4106ce
mov ecx, dword [0x51a850]
mov eax, dword [ebx + ecx + 0x20]
cmp eax, 0xffffffff
je 0x40fcc3
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
mov eax, dword [eax + edx*4 + 0x70]
cmp eax, 0xffffffff
jle 0x40fcc3
test eax, eax
je 0x410806
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x51a850]
mov edi, eax
mov eax, dword [ebx + ecx + 0x20]
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
mov esi, dword [eax + edx*4 + 0x80]
lea ecx, [eax + edx*4]
mov edx, dword [eax + edx*4 + 0x7c]
add esi, edx
mov edx, dword [esp + 0x30]
cmp esi, edx
jae 0x40fc79
xor edx, edx
mov dword [esp + 0x30], edx
mov eax, esi
mov ebp, edx
shl eax, 5
shl ebp, 5
sub eax, esi
sub ebp, edx
lea eax, [esi + eax*4]
lea edx, [edx + ebp*4]
shl eax, 3
shl edx, 3
sub eax, edx
xor edx, edx
div dword [ecx + 0x70]
mov ecx, dword [esp + 0x40]
mov edx, edi
sub edx, ecx
cmp edx, eax
jae 0x40fcbf
sub eax, edi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], esi
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x58]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x41049d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x660]
push ecx
push edx
push esi
mov ecx, ebp
mov dword [esp + 0x1c], 0x1000
mov byte [esp + 0x66c], 0
call fcn.004123e0
test eax, eax
je 0x4106e0
mov eax, dword [0x51a850]
mov eax, dword [ebx + eax + 0x20]
cmp eax, 0xffffffff
je 0x40fd27
mov ecx, dword [esp + 0x10]
push 1
push ecx
push eax
mov ecx, 0x4f4398
call fcn.00423400
mov dl, byte [0x473aa0]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x366d]
mov byte [esp + 0x366c], dl
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x366c]
push eax
push ecx
lea eax, [esp + 0x668]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0x50
call fcn.00410970
test eax, eax
je 0x410282
mov eax, dword [esp + 0x10]
mov ecx, 0x1000
sub ecx, eax
lea edx, [esp + 0x28]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x40]
lea edx, [esp + eax + 0x664]
mov eax, dword [esp + 0x7684]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00424280
test eax, eax
je 0x410952
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov edx, dword [0x51a850]
add edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x40fde6
push 1
push ecx
push eax
mov ecx, 0x4f4398
call fcn.00423400
mov edx, dword [0x51a850]
cmp dword [0x4f679c], 1
jne 0x40fefc
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x40fe14
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0x4f4398]
mov esi, dword [eax + ecx*4 + 0x44]
test esi, esi
je 0x40fefc
lea ebp, [esp + 0x660]
push 0x14
push str.proxy_authorization:
push ebp
call fcn.00445b80
add esp, 0xc
test eax, eax
je 0x40fe4c
push 0x46e38c
push ebp
call fcn.0043ad80
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4106f8
add ebp, 2
jmp 0x40fe1b
test ebp, ebp
je 0x4106f8
push str.Basic
push ebp
call fcn.0043ad80
mov edx, eax
add esp, 8
test edx, edx
je 0x410952
mov edi, str.Basic
or ecx, 0xffffffff
xor eax, eax
push 0x46e38c
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
add esi, edx
push esi
call fcn.0043ad80
mov edi, eax
add esp, 8
test edi, edi
je 0x410952
mov ecx, dword [esp + 0x7680]
mov byte [edi], 0
mov edx, dword [0x51a850]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + edx + 0x20]
push eax
push esi
call fcn.004181c0
test eax, eax
je 0x4106f8
add edi, 2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
mov ebp, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x660]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [0x51a850]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x40ff45
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0x4f4398]
mov eax, dword [eax + ecx*4 + 0x74]
cmp eax, 0xffffffff
je 0x40ff45
lea ecx, [esp + 0x660]
lea edx, [esp + 0x366c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00424600
test eax, eax
jne 0x410952
mov edx, dword [0x51a850]
mov cl, byte [0x473aa0]
xor eax, eax
mov byte [esp + 0x4670], cl
mov ecx, 0x400
lea edi, [esp + 0x4671]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + edx + 0x20]
mov ecx, dword [ebx + edx + 0xc]
cmp eax, 0xffffffff
je 0x40ff9e
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [0x4f4398]
lea edx, [eax + edx*4]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [esp + 0x4678]
push str._s__s_Web
push eax
call fcn.0043afc4
add esp, 0x10
jmp 0x40fff0
mov eax, dword [0x4f67a4]
test eax, eax
je 0x40ffd3
lea eax, [ebx + edx + 0x24]
mov dl, byte [ebx + edx + 0x24]
test dl, dl
je 0x40ffd3
push eax
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x4678]
push str._s__s_Web
push ecx
call fcn.0043afc4
add esp, 0x10
jmp 0x40fff0
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x4674]
push str._s_unknown_Web
push edx
call fcn.0043afc4
add esp, 0xc
mov eax, dword [0x501cf0]
test eax, eax
je 0x410100
lea eax, [esp + 0x660]
push 0x46e14c
push eax
call fcn.0043ad80
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x410100
or ecx, 0xffffffff
lea edi, [esp + 0x660]
xor eax, eax
mov byte [ebp], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x4670]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x4670]
and ecx, 3
push 0x46e38c
rep movsb byte es:[edi], byte [esi]
mov edi, str._http:__
or ecx, 0xffffffff
mov byte [ebp], 0x20
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x4678]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x3674]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0043ad80
mov edx, eax
add esp, 8
test edx, edx
je 0x410100
lea edi, [ebp + 1]
or ecx, 0xffffffff
xor eax, eax
mov byte [edx], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x4670]
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [edx], 0xd
lea eax, [esp + 0x4670]
push eax
call fcn.0040a330
mov eax, dword [0x4fac5c]
add esp, 4
test eax, eax
je 0x41013c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41013c
mov ecx, dword [esp + 0x14]
push 0x4f9c58
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00411160
mov dword [esp + 0x24], 0
mov eax, dword [0x4fb8a4]
test eax, eax
je 0x410164
push 0x46f59c
push 0x4fbca8
call fcn.0043fa60
add esp, 8
test eax, eax
je 0x410183
mov eax, dword [0x4fb8a4]
test eax, eax
jne 0x4101ba
mov eax, dword [0x4fc8b0]
test eax, eax
je 0x4101ba
push 0x46f59c
push 0x4fdcc4
call fcn.0043fa60
add esp, 8
test eax, eax
jne 0x4101ba
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x664]
push edx
push eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x3678]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
call fcn.00424900
test eax, eax
je 0x410952
jmp 0x41025b
lea ecx, [esp + 0x2668]
lea edx, [esp + 0x366c]
push ecx
push edx
call fcn.0043fa60
mov edx, dword [esp + 0x40]
add esp, 8
test eax, eax
jne 0x4101e0
cmp edx, dword [esp + 0x20]
je 0x41025b
lea edi, [esp + 0x366c]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0x2668]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], edx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edx, dword [0x51a850]
push 0
mov dword [esp + 0x20], eax
mov dword [ebx + edx + 4], eax
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x266c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
call fcn.00419740
test eax, eax
je 0x410952
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x660]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.00411190
test eax, eax
je 0x41073c
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x4106ab
mov eax, ecx
xor esi, esi
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
test eax, eax
jle 0x4103a1
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 8
lea ecx, [esp + 0x664]
push eax
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
call fcn.004112c0
test eax, eax
je 0x410952
mov eax, dword [0x51a850]
mov eax, dword [ebx + eax + 0x20]
cmp eax, 0xffffffff
je 0x410365
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov ecx, dword [edx + ecx*4 + 0x74]
cmp ecx, 0xffffffff
je 0x410349
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
mov ecx, dword [0x4f43b0]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
mov ecx, dword [eax + 0x3144]
test ecx, ecx
je 0x410349
lea edx, [eax + 0x1032]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x410349
push edx
lea edx, [esp + 0x664]
push edx
mov ecx, ebp
call fcn.00419cb0
test eax, eax
jne 0x41074e
mov ecx, dword [0x51a850]
mov eax, dword [esp + 0x10]
push 1
push eax
mov edx, dword [ebx + ecx + 0x20]
mov ecx, 0x4f4398
push edx
call fcn.00423400
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x660]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00411190
test eax, eax
je 0x410952
mov ecx, dword [esp + 0x28]
inc esi
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
cmp esi, eax
jl 0x4102a6
mov eax, ecx
push 8
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0xc
shl eax, 0xc
sub ecx, eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x664]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004112c0
test eax, eax
je 0x410952
mov eax, dword [0x51a850]
mov eax, dword [ebx + eax + 0x20]
cmp eax, 0xffffffff
je 0x41046f
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov ecx, dword [edx + ecx*4 + 0x74]
cmp ecx, 0xffffffff
je 0x410453
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
mov ecx, dword [0x4f43b0]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
mov ecx, dword [eax + 0x3144]
test ecx, ecx
je 0x410453
lea edx, [eax + 0x1032]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x410453
push edx
lea edx, [esp + 0x664]
push edx
mov ecx, ebp
call fcn.00419cb0
test eax, eax
jne 0x40fa5b
mov ecx, dword [0x51a850]
mov eax, dword [esp + 0x10]
push 1
push eax
mov edx, dword [ebx + ecx + 0x20]
mov ecx, 0x4f4398
push edx
call fcn.00423400
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x660]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00411190
test eax, eax
je 0x410952
mov dword [esp + 0x28], 0
jmp 0x4106ab
mov edi, dword [esp + 0x1c]
cmp edi, 0xffffffff
je 0x4106ab
lea eax, [esp + 0x58]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4106ab
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x664]
push ecx
push edx
push edi
mov ecx, ebp
mov dword [esp + 0x20], 0x1000
mov byte [esp + 0x670], 0
call fcn.004112c0
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4105b7
test eax, eax
jne 0x41051a
mov eax, dword [0x4fac5c]
test eax, eax
je 0x41051a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41051a
push 0x4f9c58
push esi
mov ecx, ebp
call fcn.00411160
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x51a850]
or ecx, 0xffffffff
mov edi, 0x473aa0
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [ebx + edx + 4], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2668]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
mov dword [esp + 0x50], eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x15c], eax
push edx
push ecx
lea eax, [esp + 0x164]
push ecx
push eax
push 0xffffffffffffffff
mov dword [esp + 0x34], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x174], esi
call dword [sym.imp.WS2_32.dll_select]
lea ecx, [esp + 0x15c]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x410806
jmp 0x4106ab
test eax, eax
jle 0x4106ab
mov edx, dword [0x51a850]
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x410634
mov edx, dword [0x4f4398]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov ecx, dword [edx + ecx*4 + 0x74]
cmp ecx, 0xffffffff
je 0x410634
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
sub eax, ecx
mov ecx, dword [0x4f43b0]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
mov ecx, dword [eax + 0x3144]
test ecx, ecx
je 0x410634
lea edx, [eax + 0x1032]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x410634
push edx
lea edx, [esp + 0x664]
push edx
mov ecx, ebp
call fcn.00419cb0
test eax, eax
jne 0x410818
mov eax, dword [0x4fac5c]
test eax, eax
je 0x410665
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x410665
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x410665
lea eax, [esp + 0x10]
lea ecx, [esp + 0x660]
push eax
push ecx
mov ecx, ebp
call fcn.00422990
mov dword [esp + 0x24], eax
mov edx, dword [0x51a850]
mov dword [esp + 0x44], 1
mov eax, dword [ebx + edx + 0x20]
cmp eax, 0xffffffff
je 0x41068e
mov ecx, dword [esp + 0x10]
push 0
push ecx
push eax
mov ecx, 0x4f4398
call fcn.00423400
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x660]
push edx
push eax
push esi
mov ecx, ebp
call fcn.00411190
test eax, eax
je 0x41088a
mov ecx, dword [0x51a850]
cmp dword [ebx + ecx + 0x18], 2
je 0x40fb66
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0x766c
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0x766c
ret 4
mov eax, dword [esp + 0x10]
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, 0xe
pop ebx
add esp, 0x766c
ret 4
mov dl, byte [0x473aa0]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x6679]
mov byte [esp + 0x6678], dl
push 0x4f8c4c
rep stosd dword es:[edi], eax
lea eax, [esp + 0x667c]
push str.HTTP_1.0_407_Unauthorized_r_nServer:_CCProxy_r_nProxy_Authenticate:_Basic_realm__s__r_nCache_control:_no_cache_r_n_r_n
push eax
call fcn.0043afc4
add esp, 0xc
lea ecx, [esp + 0x6678]
push ecx
jmp 0x40f238
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x766c
ret 4
mov edx, dword [0x4f9850]
test edx, edx
jne 0x4107ae
push 0x4f9450
lea edx, [esp + 0x664]
push 0x46f188
push edx
call fcn.0043afc4
lea edi, [esp + 0x66c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x660]
mov dword [esp + 0x10], ecx
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, ebp
call fcn.00411190
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x766c
ret 4
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.00411190
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x766c
ret 4
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00411190
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x766c
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x766c
ret 4
mov edx, dword [0x4f9850]
test edx, edx
jne 0x410874
push 0x4f9450
lea ecx, [esp + 0x664]
push 0x46f188
push ecx
call fcn.0043afc4
lea edi, [esp + 0x66c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x660]
push ecx
mov dword [esp + 0x14], ecx
push edx
push esi
mov ecx, ebp
call fcn.00411190
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x766c
ret 4
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
mov ecx, ebp
call fcn.00411190
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x766c
ret 4
cmp esi, 5
jne 0x410928
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x266c]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00419740
test eax, eax
je 0x410952
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x660]
push edx
push eax
push edi
mov ecx, ebp
call fcn.00411190
test eax, eax
je 0x410952
mov ecx, dword [0x51a850]
mov eax, dword [ebx + ecx + 0x20]
cmp eax, 0xffffffff
je 0x4108fe
mov edx, dword [esp + 0x10]
push 1
push edx
push eax
mov ecx, 0x4f4398
call fcn.00423400
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x7680]
lea eax, [esp + 0x2668]
push eax
push edi
push ecx
push edx
mov ecx, ebp
call fcn.0041ec00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x766c
ret 4
mov eax, dword [esp + 0x7680]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x266c]
push ecx
push edx
lea ecx, [esp + 0x66c]
push eax
push ecx
push esi
mov ecx, ebp
call fcn.004192b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x766c
ret 4