Function at 0x4064d0
Capabilities:
Check if file exists
Create process on windows
Schedule task via at

Disassembly:
push 0xffffffffffffffff
push 0x43fe26
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x452570]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push esi
push edi
mov eax, dword [0x452570]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x9a0], 0
jne 0x406528
push 0
push 0
push 0x44804c
call fcn.0040d411
jmp 0x406aeb
push 0x104
lea eax, [esp + 0x84]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x20]
call fcn.004074c0
mov dword [esp + 0x190], 0
mov edx, dword [esp + 0x1c]
push 0x5c
push edx
call fcn.0042a731
add esp, 8
or edi, 0xffffffff
test eax, eax
jne 0x406573
mov eax, edi
jmp 0x406577
sub eax, dword [esp + 0x1c]
inc eax
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.004070d0
push str.wow.exe
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x19c], 1
call fcn.00407150
add esp, 0xc
mov byte [esp + 0x190], 2
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4065e9
push eax
push eax
push 0x448068
call fcn.0040d411
mov byte [esp + 0x190], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x406a94
mov eax, dword [esi + 0x9a0]
cmp eax, 1
jne 0x4066d1
push str.realmlist.wtf
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00407150
add esp, 0xc
lea ecx, [esp + 0x44]
mov byte [esp + 0x190], 3
call fcn.00419792
push 0
push edi
mov bl, 4
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x19c], bl
call fcn.00402620
push 0
mov byte [esp + 0x194], 5
mov eax, dword [esp + 0x18]
push 0x5002
push eax
lea ecx, [esp + 0x50]
call fcn.004197aa
push str.SET_realmlist__116.255.228.17:3720_
lea ecx, [esp + 0x48]
call fcn.0041999b
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x2c], vtable.CFileException.0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x190], 3
call fcn.00419b96
mov byte [esp + 0x190], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406a6c
cmp eax, 2
jne 0x40683d
push str.DatazhCN
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00407150
mov bl, 6
mov byte [esp + 0x19c], bl
mov eax, dword [esp + 0x24]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401a80
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00406200
add esp, 4
test eax, eax
jne 0x40673a
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00401af0
call fcn.00406250
add esp, 4
push str.DatazhCN_realmlist.WTF
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00407150
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x190], 7
call fcn.00419792
push 0
push edi
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x19c], 8
call fcn.00402620
push 0
mov byte [esp + 0x194], 9
mov eax, dword [esp + 0x18]
push 0x5002
push eax
lea ecx, [esp + 0x38]
call fcn.004197aa
push str.set_realmlist_116.255.228.17:3722_n
lea ecx, [esp + 0x30]
call fcn.0041999b
push str.set_patchlist_cn.version.warcraftchina.com_n
lea ecx, [esp + 0x30]
call fcn.0041999b
push str.set_realmlistbn____n
lea ecx, [esp + 0x30]
call fcn.0041999b
push str.set_portal_cn
lea ecx, [esp + 0x30]
call fcn.0041999b
lea ecx, [esp + 0x44]
call fcn.00402420
lea ecx, [esp + 0x2c]
mov byte [esp + 0x190], 7
call fcn.00419b96
mov byte [esp + 0x190], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40680d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x190], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406a6c
cmp eax, 3
jne 0x406a6c
push str.DatazhTW
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00407150
add esp, 8
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x198], 0xa
call fcn.00401af0
call fcn.00406200
add esp, 4
test eax, eax
jne 0x40689a
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00401af0
call fcn.00406250
add esp, 4
push str.DatazhCN
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00407150
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x198], 0xb
call fcn.00401af0
call fcn.00406200
add esp, 4
test eax, eax
jne 0x4068ee
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00401af0
call fcn.00406250
add esp, 4
push str.DatazhCN_realmlist.WTF
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00407150
add esp, 0xc
lea ecx, [esp + 0x44]
mov byte [esp + 0x190], 0xc
call fcn.00419792
push 0
push edi
push 0
lea ecx, [esp + 0x78]
mov byte [esp + 0x19c], 0xd
call fcn.00402620
push 0
mov byte [esp + 0x194], 0xe
mov eax, dword [esp + 0x24]
push 0x5002
push eax
lea ecx, [esp + 0x50]
call fcn.004197aa
push str.set_realmlist_116.255.228.17:3721_n
lea ecx, [esp + 0x48]
call fcn.0041999b
push str.set_patchlist_cn.version.worldofwarcraft.com_n
lea ecx, [esp + 0x48]
call fcn.0041999b
push str.set_realmlistbn____n
lea ecx, [esp + 0x48]
call fcn.0041999b
push str.set_portal_cn
lea ecx, [esp + 0x48]
call fcn.0041999b
push str.DatazhTW_realmlist.WTF
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00407150
add esp, 0xc
mov bl, 0xf
lea ecx, [esp + 0x2c]
mov byte [esp + 0x190], bl
call fcn.00419792
push 0
push edi
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x19c], 0x10
call fcn.00402620
push 0
mov byte [esp + 0x194], 0x11
mov eax, dword [esp + 0x44]
push 0x5002
push eax
lea ecx, [esp + 0x38]
call fcn.004197aa
push str.set_realmlist_116.255.228.17:3721_n
lea ecx, [esp + 0x30]
call fcn.0041999b
push str.set_patchlist_tw.version.worldofwarcraft.com_n
lea ecx, [esp + 0x30]
call fcn.0041999b
push str.set_realmlistbn____n
lea ecx, [esp + 0x30]
call fcn.0041999b
push str.set_portal_tw
lea ecx, [esp + 0x30]
call fcn.0041999b
lea ecx, [esp + 0x58]
call fcn.00402420
mov byte [esp + 0x190], bl
lea ecx, [esp + 0x2c]
call fcn.00419b96
lea ecx, [esp + 0x40]
call fcn.00401b30
lea ecx, [esp + 0x6c]
call fcn.00402420
lea ecx, [esp + 0x44]
mov byte [esp + 0x190], 0xc
call fcn.00419b96
lea ecx, [esp + 0x20]
call fcn.00401b30
lea ecx, [esp + 0x18]
call fcn.00401b30
lea ecx, [esp + 0x14]
call fcn.00401b30
mov ecx, dword [esp + 0x24]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov byte [esp + 0x190], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406aa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x190], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ac7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x190], edi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x406aeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.00429ac1
add esp, 0x184
ret