Function at 0x41d3c0
Capabilities:
Create thread
Create udp socket
Reference 114dns dns server
Reference google public dns server

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9f22
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x624040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], edi
mov eax, dword [ebx + 8]
mov ecx, 0x62e9a0
mov dword [ebp - 4], 0
mov dword [0x62e78c], eax
mov eax, dword [ebx + 0xc]
mov dword [0x62ef5c], eax
mov eax, dword [ebx + 0x10]
mov dword [0x62ef64], eax
mov eax, dword [esi]
mov dword [0x62e99c], eax
lea eax, [esi + 4]
push eax
call fcn.0041f670
mov eax, dword [esi + 0x10]
mov dword [0x62e9ac], eax
mov eax, dword [esi + 0x14]
mov esi, dword [ebp - 0x18]
mov dword [0x62e9b0], eax
mov eax, dword [esi]
mov dword [0x62e9b4], eax
mov eax, dword [esi + 4]
mov dword [0x62e9b8], eax
mov eax, dword [esi + 8]
mov dword [0x62e9bc], eax
mov eax, dword [esi + 0xc]
mov dword [0x62e9c0], eax
lea eax, [esi + 0x10]
cmp eax, 0x62e9c4
je 0x41d494
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x41d488
mov eax, dword [eax]
push ecx
push eax
mov ecx, 0x62e9c4
call fcn.0041f7e0
lea eax, [esi + 0x28]
mov ecx, 0x62e9dc
push eax
call fcn.0041f670
lea eax, [esi + 0x34]
mov ecx, 0x62e9e8
push eax
call fcn.0041f5c0
lea eax, [esi + 0x3c]
mov ecx, 0x62e9f0
push eax
call fcn.0041f5c0
lea eax, [esi + 0x44]
mov ecx, 0x62e9f8
push eax
call fcn.0041f5c0
cmp edi, 0x62ea00
je 0x41d4ec
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x41d4de
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, 0x62ea00
push eax
call fcn.00407990
lea eax, [edi + 0x18]
cmp eax, 0x62ea18
je 0x41d50d
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x41d501
mov eax, dword [eax]
push ecx
push eax
mov ecx, 0x62ea18
call fcn.00407990
mov eax, dword [edi + 0x30]
mov ecx, 0x62ea40
mov dword [0x62ea30], eax
mov eax, dword [edi + 0x34]
mov dword [0x62ea34], eax
movzx eax, word [edi + 0x38]
mov word [0x62ea38], ax
movzx eax, word [edi + 0x3a]
mov word [0x62ea3a], ax
movzx eax, word [edi + 0x3c]
mov word [0x62ea3c], ax
lea eax, [edi + 0x40]
push eax
call fcn.00405570
lea eax, [edi + 0xcc]
mov ecx, 0x62eacc
push eax
call fcn.00405570
lea eax, [edi + 0x158]
cmp eax, 0x62eb58
je 0x41d57e
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x41d572
mov eax, dword [eax]
push ecx
push eax
mov ecx, 0x62eb58
call fcn.00407990
mov eax, dword [edi + 0x170]
mov ecx, 0x62eba8
mov dword [0x62eb70], eax
movzx eax, word [edi + 0x174]
mov word [0x62eb74], ax
mov al, byte [edi + 0x176]
mov byte [0x62eb76], al
mov eax, dword [edi + 0x178]
mov dword [0x62eb78], eax
lea eax, [ebx + 0x20]
push eax
call fcn.0041ee40
movzx eax, word [0x62ea3a]
mov edx, 2
mov ecx, dword [0x62ea34]
mov word [0x62ec82], ax
movzx eax, word [0x62ea38]
push 1
mov word [0x62ec80], dx
mov dword [0x62ec84], ecx
mov word [0x62eb94], dx
mov dword [0x62eb98], ecx
mov word [0x62eb96], ax
call fcn.0048ad80
mov eax, dword [0x62eb84]
add esp, 4
cmp eax, dword [0x62eb88]
je 0x41d615
mov dword [0x62eb88], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 1
push 6
mov dword [ebp - 0x44], 4
call dword [sym.imp.DNSAPI.dll_DnsQueryConfig]
test eax, eax
je 0x41d697
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00418830
jmp 0x41d835
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x41d6af
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00418830
jmp 0x41d835
mov eax, dword [ecx]
test eax, eax
jne 0x41d6cd
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00418830
jmp 0x41d835
xor edi, edi
test eax, eax
je 0x41d714
mov eax, dword [ebp - 0x2c]
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [ecx + esi + 4]
mov dword [ebp - 0x4c], ecx
cmp eax, dword [ebp - 0x28]
je 0x41d6f9
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x2c], eax
jmp 0x41d709
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00420eb0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
inc edi
add esi, 4
cmp edi, dword [ecx]
jb 0x41d6e0
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
cmp esi, edi
je 0x41d756
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi]
mov dword [ebp - 0x4c], ecx
cmp eax, dword [ebp - 0x1c]
je 0x41d73f
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
jmp 0x41d74f
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00420d50
mov eax, dword [ebp - 0x20]
add esi, 4
cmp esi, edi
jne 0x41d728
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00418830
mov eax, dword [ebp - 0x20]
xor edi, edi
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x41d835
xor edx, edx
xor esi, esi
mov dword [ebp - 0x18], edx
nop
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
mov edx, dword [edx + ecx]
mov ecx, str.www.baidu.com
push eax
sub esp, 8
call fcn.00415f70
add esp, 0xc
test al, al
je 0x41d809
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
je 0x41d809
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00407ea0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + esi]
mov eax, dword [0x62eb88]
mov dword [ebp - 0x4c], ecx
cmp eax, dword [0x62eb8c]
je 0x41d7f8
mov dword [eax], ecx
add dword [0x62eb88], 4
jmp 0x41d815
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov ecx, 0x62eb84
call fcn.00420eb0
jmp 0x41d815
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00407ea0
mov eax, dword [ebp - 0x20]
inc edi
mov ecx, dword [ebp - 0x24]
add esi, 4
mov edx, dword [ebp - 0x18]
sub eax, ecx
add edx, 4
sar eax, 2
mov dword [ebp - 0x18], edx
cmp edi, eax
jb 0x41d780
mov eax, dword [0x62eb84]
cmp eax, dword [0x62eb88]
jne 0x41d8ac
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
push str.8.8.8.8
call esi
mov ecx, dword [0x62eb88]
mov dword [ebp - 0x4c], eax
cmp ecx, dword [0x62eb8c]
je 0x41d86b
mov dword [ecx], eax
add dword [0x62eb88], 4
jmp 0x41d87a
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, 0x62eb84
call fcn.00420eb0
push str.114.114.114.114
call esi
mov ecx, dword [0x62eb88]
mov dword [ebp - 0x4c], eax
cmp ecx, dword [0x62eb8c]
je 0x41d89d
mov dword [ecx], eax
add dword [0x62eb88], 4
jmp 0x41d8ac
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, 0x62eb84
call fcn.00420eb0
mov dword [0x62f14c], 0x10000e0
mov esi, 0x6050c4
mov dword [0x62f150], 0x20000e0
mov edi, 5
nop word [eax + eax]
mov ecx, dword [esi]
mov edx, 0x474a00
push esi
call fcn.00474a30
add esp, 4
add esi, 8
sub edi, 1
jne 0x41d8d0
call fcn.0047e760
sub esp, 0x10
mov dword [0x62f040], eax
mov edx, 0x62e99c
mov ecx, 0x62e790
push 0x62e9b0
push 0x62e9ac
call fcn.00474140
add esp, 0x18
push 0x62e9a0
push dword [0x62e9b0]
push 0x62e790
call fcn.0041eba0
cmp dword [0x62ef68], edi
jne 0x41d94b
push 1
push 0x62e408
push 0x41eb80
push edi
push 0xea60
call dword [sym.imp.WINMM.dll_timeSetEvent]
mov dword [0x62ef68], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
push 0x30
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0048336c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x3c], eax
push 0x56c
mov byte [ebp - 4], 4
call fcn.0048336c
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 5
lea ecx, [edi + 0xc]
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_ybrule_.0
call fcn.0041c8f0
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 4
or esi, 0xffffffff
test ecx, ecx
je 0x41da27
mov eax, dword [ecx + 8]
test eax, eax
je 0x41d9db
cmp dword [eax + 4], 0
jne 0x41da27
lea eax, [edi + 4]
lock inc dword [eax]
lea eax, [edi + 8]
lock inc dword [eax]
mov edx, dword [ecx + 8]
mov dword [ecx + 4], ecx
mov dword [ecx + 8], edi
test edx, edx
je 0x41da04
mov eax, esi
lock xadd dword [edx + 8], eax
jne 0x41da04
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov eax, esi
lea ecx, [edi + 4]
lock xadd dword [ecx], eax
jne 0x41da27
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
jne 0x41da27
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [0x62eb80]
lea eax, [edi + 0xc]
mov dword [0x62eb7c], eax
mov dword [0x62eb80], edi
test esi, esi
je 0x41da60
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41da60
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41da60
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
movzx eax, word [0x62eb74]
lea ecx, [ebp - 0x3c]
push ecx
push ecx
mov ecx, dword [0x62eb7c]
push 0x62e9c4
push 0x62eacc
push 0x62eb58
push 0x62e9f8
push 0x62e9f0
push 0x62e9e8
push eax
push dword [0x62eb70]
push dword [0x62e9b8]
push dword [0x62e9b4]
call fcn.00450de0
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x51], 0
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp byte [eax + 0xd], 0
jne 0x41dade
nop word [eax + eax]
lea ecx, [eax + 0x10]
lea eax, [ecx + 0x18]
push eax
push ecx
call fcn.00421990
lea ecx, [ebp - 0x18]
call fcn.00418a90
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xd], 0
je 0x41dac0
cmp dword [0x62ee84], 0
movzx eax, word [0x62eb74]
mov ecx, dword [0x62eb70]
jne 0x41db5f
mov edx, 2
xorps xmm0, xmm0
push 0x11
movups xmmword [0x62ee88], xmm0
push edx
movlpd qword [0x62ee70], xmm0
push edx
movlpd qword [0x62ee78], xmm0
movups xmmword [ebp - 0x34], xmm0
mov word [0x62ee88], dx
mov dword [0x62ee8c], ecx
mov word [0x62ee8a], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WINMM.dll_timeSetEvent]
mov dword [0x62ee84], eax
test eax, eax
je 0x41db65
push 1
push 0x62e408
push 0x41ea60
push 0
push 0x3e8
call esi
mov dword [0x62ee80], eax
jmp 0x41db65
mov esi, dword [sym.imp.WINMM.dll_timeSetEvent]
cmp dword [0x62ef60], 0
jne 0x41db88
push 1
push 0x62e408
push 0x41eb60
push 0
push 0x190
call esi
mov dword [0x62ef60], eax
push 0x62ebd4
push 0x62ebd0
call fcn.00426f50
mov eax, dword [ebp - 0x40]
sub esp, 0x10
add eax, 0x5c
push eax
push ecx
mov ecx, 0x62eca8
call fcn.0041c030
push 0x11
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, 0x62eca8
call fcn.0041c340
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
mov ecx, 0x62eca8
call fcn.0041c340
cmp byte [0x62e710], 0
jne 0x41dcb2
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
push 0x62e714
mov dword [ebp - 0x48], 0x62e714
mov byte [ebp - 0x44], 0
call fcn.00485479
add esp, 4
test eax, eax
jne 0x41de9b
mov eax, dword [0x62e740]
cmp eax, 0x7fffffff
jne 0x41dc18
dec eax
mov dword [0x62e740], eax
jmp 0x41dea8
mov byte [ebp - 0x44], 1
mov byte [ebp - 4], 6
cmp byte [0x62e710], 0
jne 0x41dca1
push 8
mov byte [0x62e710], 1
call fcn.0048336c
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [eax], 0x41b870
mov dword [eax + 4], 0x62e70c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
push ecx
push 0
push eax
push 0x40c400
push 0
push 0
call fcn.00595613
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x41de8d
mov byte [ebp - 4], 6
cmp dword [0x62e748], 0
mov dword [ebp - 0x40], 0
jne 0x41de88
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [0x62e744], ecx
mov dword [0x62e748], eax
push 0x62e714
mov byte [ebp - 4], 4
call fcn.0048548a
add esp, 4
call fcn.004223c0
test al, al
je 0x41dce0
movzx eax, byte [0x62eb76]
mov ecx, 0x62e40c
push eax
movzx eax, word [0x62ea3c]
push 0x62ea40
push eax
push dword [0x62ea34]
call fcn.00404f40
mov esi, dword [0x62e9bc]
test esi, esi
je 0x41dd65
shl esi, 0xa
cmp byte [0x62ef70], 0
jne 0x41dd65
test esi, esi
jle 0x41dd65
push 0x62ef74
call fcn.00485479
add esp, 4
test eax, eax
jne 0x41de9b
mov eax, dword [0x62efa0]
cmp eax, 0x7fffffff
jne 0x41dd26
dec eax
mov dword [0x62efa0], eax
jmp 0x41dea8
cmp byte [0x62ef70], 0
jne 0x41dd58
mov dword [0x62efa4], esi
mov dword [0x62efa8], esi
mov dword [0x62efac], esi
call fcn.0041bd20
mov dword [0x62efb0], eax
mov dword [0x62efb4], edx
mov byte [0x62ef70], 1
push 0x62ef74
call fcn.0048548a
add esp, 4
mov esi, dword [0x62e9c0]
test esi, esi
je 0x41dde3
shl esi, 0xa
cmp byte [0x62efb8], 0
jne 0x41dde3
test esi, esi
jle 0x41dde3
push 0x62efbc
call fcn.00485479
add esp, 4
test eax, eax
jne 0x41de9b
mov eax, dword [0x62efe8]
cmp eax, 0x7fffffff
je 0x41dea2
cmp byte [0x62efb8], 0
jne 0x41ddd6
mov dword [0x62efec], esi
mov dword [0x62eff0], esi
mov dword [0x62eff4], esi
call fcn.0041bd20
mov dword [0x62eff8], eax
mov dword [0x62effc], edx
mov byte [0x62efb8], 1
push 0x62efbc
call fcn.0048548a
add esp, 4
mov eax, dword [ebp - 0x3c]
mov byte [0x62e788], 1
push dword [eax + 4]
lea eax, [ebp - 0x3c]
push eax
mov ecx, eax
call fcn.00420630
push 0x30
push dword [ebp - 0x3c]
call fcn.0048335e
mov edx, dword [ebp - 0x24]
add esp, 8
test edx, edx
je 0x41de50
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41de31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41deaf
push ecx
push edx
call fcn.0048335e
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x41de68
mov edx, dword [ecx]
lea eax, [ebx + 0x20]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004830fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x40
call fcn.005956c4
push 6
mov dword [ebp - 0x4c], 0
call fcn.00484dcd
push 5
call fcn.00484dcd
dec eax
mov dword [0x62efe8], eax
push 6
call fcn.00484dcd
call fcn.0059539e
int3