Function at 0x4781b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630b96
mov eax, dword fs:[0]
push eax
sub esp, 0xbdc
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0
call fcn.0060cd03
add esp, 4
mov dword [ebp - 0xbcc], edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, esi
push eax
call fcn.00613bef
add esp, 4
mov eax, dword [0x6ac16c]
mov dword [ebp - 0xbe4], eax
mov dword [ebp - 0xbe0], 0
mov byte [ebp - 0xbdc], 0
push 0
push 0x301
push str.vpn.txt
lea ecx, [ebp - 0xbbc]
mov dword [ebp - 4], 2
call fcn.005cbaa0
sub esp, 0xc
lea eax, [ebp - 0xbd4]
lea ecx, [ebp - 0xbbc]
push eax
call fcn.005cd3e0
mov esi, dword [ebp - 0xbd4]
mov dword [ebp - 0xba8], 0
test esi, esi
je 0x47826c
mov ecx, dword [esi + 0xc]
jmp 0x478271
mov ecx, 0x651f68
push 0x654bdc
lea edx, [ebp - 0xba8]
call fcn.005d2610
mov edi, dword [ebp - 0xba8]
add esp, 4
mov ecx, eax
test edi, edi
je 0x47834d
test ecx, ecx
jle 0x47834d
mov dword [ebp - 0xba8], 0x18
test esi, esi
je 0x4782af
mov eax, dword [esi + 0xc]
jmp 0x4782b4
mov eax, 0x651f68
lea edx, [ebp - 0xba8]
inc ecx
push edx
add eax, ecx
push 0x654184
push eax
call fcn.0041abe0
mov edx, dword [ebp - 0xba8]
add esp, 0xc
lea eax, [edx - 8]
cmp eax, 0x10
ja 0x4782e0
test edx, edx
jne 0x4782e5
jmp 0x4782f1
mov edx, 0x18
mov ecx, 0x20
sub ecx, edx
or edx, 0xffffffff
shl edx, cl
mov ecx, edx
mov dword [0x6a6be8], edx
and ecx, edi
not edx
or edx, ecx
dec edx
mov dword [0x6a6bf4], edx
lea eax, [edx - 1]
mov dword [0x6a6bf8], eax
mov dword [0x6ad35c], eax
lea eax, [ecx + 1]
mov dword [0x6a6c10], eax
mov ecx, edx
lea eax, [edx - 3]
and ecx, 0xff0000
mov dword [0x6a6c14], eax
mov eax, edx
shr eax, 0x10
or ecx, eax
mov eax, edx
shl eax, 0x10
and edx, 0xff00
or eax, edx
shr ecx, 8
shl eax, 8
or ecx, eax
mov dword [0x6a6bee], ecx
test esi, esi
je 0x478363
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
jne 0x478363
push ecx
mov ecx, esi
call fcn.005a47b0
lea ecx, [ebp - 0xbbc]
call fcn.005cc8f0
mov byte [ebp - 4], 1
call fcn.0053bb90
mov eax, dword [0x6ac6b0]
test eax, eax
je 0x4783b7
cmp dword [eax + 0x241], 0
jne 0x4783b7
push 0xe2
call fcn.00606edf
add esp, 4
mov dword [ebp - 0xbcc], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0059ffe0
mov byte [ebp - 4], 1
mov ecx, dword [0x6ac6b0]
mov dword [ecx + 0x241], eax
push 0x2a
mov byte [0x6ac39d], 0
call fcn.00606edf
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.005e0a80
mov dword [esi], vtable.CRusRouteApi.0
call fcn.005a45d0
mov dword [ebp - 0xbcc], eax
test eax, eax
je 0x478408
push str.CRusRouteApi::PutPacket__
mov ecx, eax
call fcn.005a5480
mov dword [esi + 0x21], eax
test eax, eax
je 0x47840f
cmp dword [eax + 0xc], 0
jne 0x47840f
push ecx
mov ecx, eax
call fcn.005a47b0
mov dword [esi + 0x21], 0
mov ecx, 0x6ac268
mov dword [esi + 0x25], 0
call fcn.00604f70
push 0xda
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 1
push 0
push eax
mov byte [esi + 0x29], 1
mov dword [0x6ac660], esi
call fcn.00608810
add esp, 0xc
mov dword [ebp - 0x138], 0xffffffff
cmp dword [esi + 4], 0
mov dword [ebp - 0xbd8], 0xffffffff
mov dword [ebp - 0xbd4], 0xffffffff
je 0x4784a4
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x4784a4
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea ecx, [ebp - 0xbd4]
push 0
push ecx
push 4
lea ecx, [ebp - 0xbd8]
push ecx
push 0xde
lea ecx, [ebp - 0x138]
push ecx
push 0x17201c
push eax
call edi
mov esi, dword [0x6ac660]
jmp 0x4784aa
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0x146
lea eax, [ebp - 0xa84]
push 0
push eax
call fcn.00608810
add esp, 0xc
mov dword [ebp - 0xa88], 0xffffffff
cmp dword [esi + 4], 0
mov dword [ebp - 0xba4], 0xffffffff
mov dword [ebp - 0xba8], 0xffffffff
je 0x478512
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x478512
push 0
lea ecx, [ebp - 0xba8]
push ecx
push 4
lea ecx, [ebp - 0xba4]
push ecx
push 0x14a
lea ecx, [ebp - 0xa88]
push ecx
push 0x172038
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call ebx
push 0x2c
mov dword [0x6ac388], eax
call fcn.00606edf
add esp, 4
mov edi, eax
push 0
push 0
push 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0
mov dword [edi], vtable.CMyThread.0
call ebx
push 0
push 0
push 1
lea esi, [edi + 0x10]
mov dword [edi + 0x14], eax
push 0
mov dword [esi], 0xffffffff
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x18], 0xaa5555aa
mov dword [edi], vtable.CMyPktThread.0
mov dword [edi + 0x24], 0
call ebx
push 0
push 0
push 1
push 0
mov dword [edi + 0x1c], eax
call ebx
push 0
push 0
push 1
push 0
mov dword [edi + 0x20], eax
call ebx
push esi
push 0
push edi
push 0x4b3c30
push 0
push 0
mov dword [edi + 0x28], eax
call fcn.0061408e
push dword [esi]
mov dword [edi + 0xc], eax
push str.Created_new_thread_with_Id___x_n
push 0x6a6e70
call fcn.0042abc0
add esp, 0x24
mov dword [0x6ac390], edi
push 0xc4809d
call fcn.00606edf
add esp, 4
mov dword [ebp - 0xbcc], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00583d10
mov dword [0x6ac680], eax
mov byte [ebp - 4], 1
mov esi, dword [0x6ac16c]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x478615
mov dword [esi + 8], 0
jmp 0x478619
test eax, eax
jne 0x478622
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
xor cl, cl
call fcn.004720e0
mov byte [ebp - 4], 1
mov ecx, dword [0x6ac16c]
call fcn.005e0810
cmp dword [0x6ac65c], 0
jne 0x478a91
push 0
push 2
lea ecx, [ebp - 0xbc0]
call fcn.0042af70
cmp byte [ebp - 0xbb0], 0
je 0x47869b
mov edx, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0xbb4]
mov edi, 1
mov eax, edi
shl eax, cl
test edx, eax
jne 0x4786a0
cmp byte [0x6ac39e], 0
jne 0x4786a0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.Main_thread_id___x_n
push 0x6a6e70
call fcn.0042abc0
add esp, 0xc
jmp 0x4786a0
mov edi, 1
cmp byte [ebp - 0xbb0], 0
mov ebx, 0x6af2b8
je 0x4786d7
mov eax, dword [ebp - 0xbc0]
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0xbbc]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0xbb8]
xchg dword [ebx], eax
mov ecx, dword [0x6ac16c]
call fcn.005e0810
push 0x1c
mov byte [ebp - 4], 0xa
call fcn.00606edf
add esp, 4
mov esi, eax
mov dword [ebp - 0xba4], esi
push 0
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
mov dword [esi], vtable.CMyThread.0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
add esi, 0x10
mov eax, dword [ebp - 0xba4]
push esi
push 0
push eax
push 0x4b3c30
push 0
push 0
mov dword [esi], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x18], 0xaa5555aa
mov dword [eax], vtable.CMyRasTestMacThread.0
call fcn.0061408e
push dword [esi]
mov ecx, dword [ebp - 0xba4]
push str.Created_new_thread_with_Id___x_n
push 0x6a6e70
mov dword [ecx + 0xc], eax
call fcn.0042abc0
mov eax, dword [ebp - 0xba4]
add esp, 0x24
mov dword [0x6ac384], eax
jmp 0x4787c2
mov dword [ebp - 4], 1
push 0x1c
mov byte [ebp - 4], 0xc
call fcn.00606edf
add esp, 4
mov esi, eax
mov dword [ebp - 0xbcc], esi
mov dword [ebp - 0xba4], esi
push 0
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
mov dword [esi], vtable.CMyThread.0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
add esi, 0x10
mov eax, dword [ebp - 0xba4]
push esi
push 0
push eax
push 0x4b3c30
push 0
push 0
mov dword [esi], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x18], 0xaa5555aa
mov dword [eax], vtable.CMyCleaner.0
call fcn.0061408e
push dword [esi]
mov ecx, dword [ebp - 0xba4]
push str.Created_new_thread_with_Id___x_n
push 0x6a6e70
mov dword [ecx + 0xc], eax
call fcn.0042abc0
mov eax, dword [ebp - 0xba4]
add esp, 0x24
mov dword [0x6ac620], eax
jmp 0x4788ba
mov dword [ebp - 4], 1
cmp dword [0x6ac680], 0
je 0x4788e0
call fcn.00585e10
test al, al
jne 0x4788e0
mov eax, dword [0x6ac65c]
inc eax
mov dword [0x6ac65c], eax
jmp 0x4788e5
mov eax, dword [0x6ac65c]
test eax, eax
jne 0x478a91
mov esi, dword [0x6ac390]
test esi, esi
je 0x47890e
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 0x24], 0
jne 0x47890e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x6ac660]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jne 0x478abb
mov dword [ebp - 0xbc4], eax
push 0x65cd54
lea eax, [ebp - 0xbc4]
push str.Driver__s_is_not_loaded.
push eax
call fcn.005abfb0
mov esi, dword [ebp - 0xbc4]
add esp, 0xc
test esi, esi
je 0x478961
lock inc dword [esi]
mov edx, esi
mov dword [ebp - 0xba4], esi
mov eax, esi
mov dword [ebp - 0xba8], esi
mov ecx, esi
jmp 0x478975
xor edx, edx
xor eax, eax
xor esi, esi
mov dword [ebp - 0xba4], edx
mov dword [ebp - 0xba8], eax
xor ecx, ecx
mov dword [ebp - 0xbd8], esi
mov dword [ebp - 0xbcc], esi
mov byte [ebp - 4], 0xf
push ecx
mov dword [ebp - 0xbd4], esp
test esi, esi
je 0x478999
lock inc dword [edx]
mov eax, esp
mov dword [eax], esi
jmp 0x4789b1
mov edx, dword [ebp - 0xbd4]
mov dword [ebp - 0xba4], eax
mov dword [ebp - 0xba8], ecx
mov dword [edx], 0
push 0xc0000103
mov edx, 3
mov ecx, edi
call fcn.004b71a0
add esp, 8
cmp dword [ebp - 0xba4], 0
je 0x4789e6
mov ecx, dword [ebp - 0xba8]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x4789e6
push ecx
mov ecx, esi
call fcn.005a47b0
push 1
push 1
lea ecx, [ebp - 0xbc0]
call fcn.0042af70
cmp byte [ebp - 0xbb0], 0
je 0x478a32
mov eax, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0xbb4]
shl edi, cl
test eax, edi
jne 0x478a32
cmp byte [0x6ac39e], 0
jne 0x478a32
lea eax, [ebp - 0xbc4]
push eax
push 0x6549c8
push 0x6a6e70
call fcn.0042abc0
add esp, 0xc
cmp byte [0x6ac247], 0
jne 0x478a45
mov dword [0x6ac65c], 0xfffffffe
cmp byte [ebp - 0xbb0], 0
je 0x478a77
mov eax, dword [ebp - 0xbc0]
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0xbbc]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0xbb8]
xchg dword [ebx], eax
mov ecx, dword [0x6ac16c]
call fcn.005e0810
mov ecx, dword [ebp - 0xbc4]
test ecx, ecx
je 0x478a91
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
jne 0x478a91
push ecx
call fcn.005a47b0
lea ecx, [ebp - 0xbe4]
call fcn.0041d9b0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00606a47
mov esp, ebp
pop ebp
ret
push ecx
lea eax, [ebp - 0x58]
push eax
sub esp, 0xc
call fcn.0046e0d0
test eax, eax
jne 0x478b95
mov dword [ebp - 0xbc4], eax
push 0x65cd54
push str.Error_getting_version_number_of_the_driver__1
lea eax, [ebp - 0xbc4]
mov byte [ebp - 4], 0x11
push 0x651eac
push eax
call fcn.005ac040
mov eax, dword [ebp - 0xbc4]
add esp, 0xc
mov ecx, esp
test eax, eax
je 0x478b09
lock inc dword [eax]
jmp 0x478b0b
xor eax, eax
mov dword [ecx], eax
call fcn.004b7430
add esp, 4
lea ecx, [ebp - 0xbc0]
push 0
push 1
call fcn.0042af70
cmp byte [ebp - 0xbb0], 0
je 0x478a77
mov eax, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0xbb4]
shl edi, cl
test eax, edi
jne 0x478b65
cmp byte [0x6ac39e], 0
jne 0x478b65
lea eax, [ebp - 0xbc4]
push eax
push 0x6549c8
push 0x6a6e70
call fcn.0042abc0
add esp, 0xc
cmp byte [ebp - 0xbb0], 0
je 0x478a77
mov eax, dword [ebp - 0xbc0]
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0xbbc]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0xbb8]
xchg dword [ebx], eax
jmp 0x478a6c
mov eax, dword [0x6af2bc]
nop
test al, 0x20
jne 0x478c5e
cmp byte [0x6ac39e], 0
jne 0x478c5e
mov byte [ebp - 0xba9], 1
mov byte [ebp - 4], 1
mov esi, dword [0x6ac16c]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x478bdb
mov dword [esi + 8], 0
jmp 0x478bdf
test eax, eax
jne 0x478be8
inc dword [esi + 0xc]
inc dword [esi + 8]
inc dword [esi + 4]
mov ecx, dword [0x6a6e68]
mov esi, dword [0x6af2b8]
mov dword [ebp - 0xba8], ecx
mov ecx, dword [0x6a6e6c]
mov dword [ebp - 0xba4], ecx
nop
mov eax, 5
xchg dword [ebx], eax
mov eax, dword [0x6af2bc]
mov dword [0x6a6e68], 0xaaff
mov dword [0x6a6e6c], 0xffffffff
nop
test al, 0x20
jne 0x478c79
cmp byte [0x6ac39e], 0
jne 0x478c79
lea eax, [ebp - 0x58]
push eax
push 0x65cd54
push str.Driver__s__version__s_n
push 0x6a6e70
call fcn.0042abc0
mov eax, dword [ebp - 0xba8]
add esp, 0x10
mov ecx, dword [ebp - 0xba4]
jmp 0x478c88
mov esi, dword [ebp - 0xbcc]
mov ecx, dword [ebp - 0xbcc]
mov eax, dword [ebp - 0xbcc]
mov byte [ebp - 0xba9], 0
jmp 0x478c7f
mov eax, dword [ebp - 0xba8]
cmp byte [ebp - 0xba9], 0
je 0x478ca4
mov dword [0x6a6e68], eax
mov dword [0x6a6e6c], ecx
xchg dword [ebx], esi
mov byte [ebp - 4], 1
mov ecx, dword [0x6ac16c]
call fcn.005e0810
push ecx
mov ecx, dword [0x6ac660]
lea eax, [ebp - 0x938]
push eax
call fcn.0046e210
mov dword [ebp - 0xbcc], eax
test eax, eax
jg 0x478d92
mov dword [ebp - 0xba4], 0
push str.No_adapters_detected_
lea eax, [ebp - 0xba4]
mov byte [ebp - 4], 0x15
push 0x651eaf
push eax
call fcn.005ac040
mov eax, dword [ebp - 0xba4]
add esp, 8
mov ecx, esp
test eax, eax
je 0x478cfd
lock inc dword [eax]
jmp 0x478cff
xor eax, eax
mov dword [ecx], eax
call fcn.004b7430
add esp, 4
lea ecx, [ebp - 0xbc0]
push 0
push 1
call fcn.0042af70
cmp byte [ebp - 0xbb0], 0
je 0x478d87
mov eax, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0xbb4]
shl edi, cl
test eax, edi
jne 0x478d55
cmp byte [0x6ac39e], 0
jne 0x478d55
lea eax, [ebp - 0xba4]
push eax
push 0x6549c8
push 0x6a6e70
call fcn.0042abc0
add esp, 0xc
cmp byte [ebp - 0xbb0], 0
je 0x478d87
mov eax, dword [ebp - 0xbc0]
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0xbbc]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0xbb8]
xchg dword [ebx], eax
mov ecx, dword [0x6ac16c]
call fcn.005e0810
mov ecx, dword [ebp - 0xba4]
jmp 0x478a7d
push eax
push str._d_adapters_detected:_n
push 0x6a6e70
call fcn.0042abc0
add esp, 0xc
xor esi, esi
nop word [eax + eax]
push esi
push str._2d:
push 0x6a6e70
call fcn.0042abc0
mov ecx, dword [0x6ac660]
lea eax, [ebp - 0xba0]
add esp, 0xc
push eax
push dword [ebp + esi*4 - 0x938]
call fcn.0046ecc0
test eax, eax
jne 0x478e72
push eax
push 1
lea ecx, [ebp - 0xbc0]
call fcn.0042af70
cmp byte [ebp - 0xbb0], 0
je 0x478ee1
mov edx, dword [0x6af2bc]
nop
mov ecx, dword [ebp - 0xbb4]
mov eax, edi
shl eax, cl
test edx, eax
jne 0x478e36
cmp byte [0x6ac39e], 0
jne 0x478e36
push dword [ebp + esi*4 - 0x938]
push str.unknown_info_for_adapter_with_internal_number__08X_n
push 0x6a6e70
call fcn.0042abc0
add esp, 0xc
cmp byte [ebp - 0xbb0], 0
je 0x478ee1
mov eax, dword [ebp - 0xbc0]
mov dword [0x6a6e68], eax
mov eax, dword [ebp - 0xbbc]
mov dword [0x6a6e6c], eax
mov eax, dword [ebp - 0xbb8]
xchg dword [ebx], eax
mov byte [ebp - 4], 1
mov ecx, dword [0x6ac16c]
call fcn.005e0810
jmp 0x478ee1
lea eax, [ebp - 0xb38]
push eax
push str.name:__s_n
push 0x6a6e70
call fcn.0042abc0
mov eax, dword [ebp - 0xb88]
add esp, 0xc
cmp eax, 0x12c
jae 0x478e9f
mov eax, 0x12c
jmp 0x478eac
cmp eax, 0x5dc
mov ecx, 0x5dc
cmova eax, ecx
push eax
push dword [ebp - 0xba0]
mov dword [ebp - 0xb88], eax
push str.____internal_number:_0x_08X__MTU___d_n
push 0x6a6e70
call fcn.0042abc0
lea eax, [ebp - 0xb94]
push eax
push str.____mac_addr:__:_n
push 0x6a6e70
call fcn.0042abc0
add esp, 0x1c
inc esi
cmp esi, dword [ebp - 0xbcc]
jl 0x478db0
lea ecx, [ebp - 0xbe4]
call fcn.0041d9b0
xor eax, eax
jmp 0x478a9f