Function at 0x10004270
Capabilities:
Create thread
Initialize winsock library
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10021389
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x100280f0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100280f0]
xor eax, esp
push eax
lea eax, [esp + 0x2c4]
mov dword fs:[0], eax
mov edi, dword [0x10031744]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], edi
cmp esi, ebx
mov dword [esp + 0x2cc], ebx
je 0x100042ed
cmp dword [esp + 0x2d4], ebx
jbe 0x100042ed
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
push esi
mov ebx, eax
lea esi, [esp + 0x1c]
call fcn.10007f00
xor ebp, ebp
jmp 0x10004473
mov esi, 0xf
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea eax, [esp + 0xac]
push eax
push 0x202
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x2d8]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2d4], 2
call fcn.10009820
test al, al
jne 0x100043bb
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1000435c
push eax
call fcn.1000dcfa
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jb 0x1000437f
mov eax, dword [esp + 0x78]
push eax
call fcn.1000dcfa
add esp, 4
lea ecx, [edi - 0xc]
cmp ecx, 0x10031734
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
je 0x100043b3
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100043b3
push esi
call fcn.1000e356
add esp, 4
or eax, 0xffffffff
jmp 0x10004896
cmp dword [esp + 0x8c], 0x10
mov ebx, dword [esp + 0x78]
jae 0x100043cd
lea ebx, [esp + 0x78]
lea ecx, [esp + 0x58]
call fcn.1000b390
mov byte [esp + 0x2cc], 3
cmp dword [esp + 0x70], 8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jb 0x100043f7
mov esi, dword [esp + 0x5c]
test esi, esi
jne 0x100043fb
xor eax, eax
jmp 0x100043fe
lea esi, [esp + 0x5c]
push esi
call edi
push esi
mov ebx, eax
lea esi, [esp + 0x1c]
call fcn.10007f00
cmp dword [esp + 0x70], 8
jb 0x1000441e
mov edx, dword [esp + 0x5c]
push edx
call fcn.1000dcfa
add esp, 4
xor ebp, ebp
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebp
mov word [esp + 0x5c], bp
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x10004448
push eax
call fcn.1000dcfa
add esp, 4
mov byte [esp + 0x2cc], 0
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
jb 0x10004473
mov eax, dword [esp + 0x78]
push eax
call fcn.1000dcfa
add esp, 4
mov ecx, dword [0x10031744]
mov edx, 0x10024ad0
shr edx, 0x10
mov dword [esp + 0x14], ecx
jne 0x1000449a
mov eax, 0x10024ad0
movzx ecx, ax
lea edx, [esp + 0x14]
call fcn.10007fe0
jmp 0x100044d6
push 0x10024ad0
call edi
mov esi, eax
cmp esi, ebp
je 0x100044d6
mov ecx, esi
lea edx, [esp + 0x14]
call fcn.10007be0
test eax, eax
je 0x100044d6
mov ecx, dword [esp + 0x14]
lea eax, [esi + esi]
push eax
push 0x10024ad0
add eax, 2
push eax
push ecx
call fcn.1000ded5
push eax
call fcn.10007c80
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 4
call fcn.100058f0
test al, al
je 0x10004526
mov edx, dword [esp + 0x2e4]
mov eax, dword [esp + 0x2e0]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x2e8]
push ebp
lea edx, [esp + 0x24]
call fcn.100050a0
test eax, eax
jne 0x10004849
mov dword [esp + 0x34], 0xfffffffe
jmp 0x10004849
mov edx, dword [0x10031744]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x2d0], 5
call fcn.10005450
test al, al
jne 0x100045bc
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x10031734
je 0x1000456e
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x1000456e
push esi
call fcn.1000e356
add esp, 4
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x10031734
je 0x10004590
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x10004590
push esi
call fcn.1000e356
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x10031734
je 0x100045b2
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x100045b2
push esi
call fcn.1000e356
add esp, 4
mov eax, 0xfffffffe
jmp 0x10004896
push str.yxqNetHelper.exe
call edi
mov esi, eax
mov eax, str.yxqNetHelper.exe
lea edi, [esp + 0x1c]
call fcn.10007ac0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
push eax
lea edi, [esp + 0x5c]
call fcn.1000b210
add esp, 4
mov edx, dword [0x10031744]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x2d0], 7
call fcn.10005450
test al, al
jne 0x1000465a
lea esi, [esp + 0x20]
call fcn.10008160
cmp dword [esp + 0x70], 0x10
jb 0x10004624
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.1000dcfa
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x5c], 0
lea esi, [esp + 0x1c]
call fcn.10008160
lea esi, [esp + 0x14]
call fcn.10008160
lea esi, [esp + 0x18]
call fcn.10008160
mov eax, 0xfffffffe
jmp 0x10004896
push 0x100318b9
push 0x70
call fcn.1000e327
add esp, 8
cmp eax, ebp
je 0x10004678
call fcn.100048c0
mov ebx, eax
cmp ebx, ebp
jne 0x1000468c
lea esi, [esp + 0x20]
call fcn.10008160
lea ecx, [esp + 0x58]
call fcn.100013a0
jmp 0x10004635
push str.partnerdownload.xunyou.com
lea ecx, [esp + 0x94]
call fcn.10001360
push str.specver_yxq_yxqNetHelper
lea ecx, [esp + 0x78]
mov byte [esp + 0x2d0], 8
call fcn.10001360
xor eax, eax
mov byte [esp + 0x2cc], 9
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x7f
lea eax, [esp + 0x241]
push ebp
push eax
mov byte [esp + 0x248], 0
call fcn.1000f430
mov ax, word [esp + 0x36]
add esp, 0xc
cmp ax, 0x1f
mov edx, 0x14
ja 0x10004706
movzx edx, ax
mov ax, word [esp + 0x26]
cmp ax, 0x63
mov ecx, 4
ja 0x10004719
movzx ecx, ax
mov eax, dword [esp + 0x24]
cmp ax, 0x834
jbe 0x1000472a
mov eax, 0x7df
jmp 0x1000472d
movzx eax, ax
push edx
push ecx
push eax
push str.__.4d_.2d_.2d.exe
lea ecx, [esp + 0x24c]
push 0x80
push ecx
call fcn.1000e3d6
add esp, 0x18
lea edx, [esp + 0x23c]
push edx
lea ecx, [esp + 0x40]
call fcn.10001360
push ebp
push eax
or eax, 0xffffffff
lea esi, [esp + 0x7c]
mov byte [esp + 0x2d4], 0xa
call fcn.10001690
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2cc], 9
call fcn.100013a0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x60]
push eax
lea ecx, [ebx + 0x14]
call fcn.10001460
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x98]
push ecx
lea ecx, [ebx + 0x30]
call fcn.10001460
push 0xffffffffffffffff
push ebp
mov edx, esi
push edx
lea ecx, [ebx + 0x4c]
call fcn.10001460
lea eax, [ebx + 0x68]
lea edi, [esp + 0x18]
call fcn.10007e80
mov eax, dword [esp + 0x2d8]
mov dword [ebx], eax
lea eax, [ebx + 0x6c]
lea edi, [esp + 0x20]
mov dword [ebx + 0x10], ebp
call fcn.10007e80
mov ecx, dword [esp + 0x2dc]
mov edx, dword [esp + 0x2e0]
mov eax, dword [esp + 0x2e4]
mov dword [ebx + 4], ecx
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebx
push 0x10004900
push ebp
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
push ebp
mov dword [esp + 0x50], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10004819
mov dword [esp + 0x34], 0xfffffffe
lea ecx, [esp + 0x74]
call fcn.100013a0
lea ecx, [esp + 0x90]
call fcn.100013a0
lea esi, [esp + 0x20]
call fcn.10008160
lea ecx, [esp + 0x58]
call fcn.100013a0
lea esi, [esp + 0x1c]
call fcn.10008160
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, 0x10031734
je 0x10004871
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x10004871
push esi
call fcn.1000e356
add esp, 4
mov esi, dword [esp + 0x18]
lea eax, [esi - 0xc]
cmp eax, 0x10031734
je 0x10004892
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x10004892
push esi
call fcn.1000e356
add esp, 4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.1000dec6
add esp, 0x2bc
ret 0x14