Function at 0x410d30
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Contain obfuscated stackstrings
Create directory
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456f61
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x478584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 4]
mov ecx, 0x47839c
mov dword [ebp - 0x18], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
lea edi, [esi + 8]
mov ecx, 0x47839c
mov dword [ebp - 0x18], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0xc]
mov ecx, 0x47839c
mov dword [ebp - 0x18], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 7
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x10]
mov ecx, 0x47839c
mov dword [ebp - 0x18], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 9
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x28]
mov ecx, 0x47839c
mov dword [ebp - 0x18], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x2c]
mov ecx, 0x47839c
mov dword [ebp - 0x18], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x30]
mov ecx, 0x47839c
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov ecx, edi
mov dword [ecx], eax
mov byte [ebp - 4], 0xf
mov edx, dword [0x47839c]
lea eax, [esi + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x47839c
call eax
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x11
mov edx, dword [0x47839c]
lea eax, [esi + 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x47839c
call eax
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x13
mov edx, dword [0x47839c]
lea eax, [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x47839c
call eax
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x15
mov eax, dword [0x47839c]
lea edx, [esi + 0x5c]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x17
mov eax, dword [0x47839c]
lea edx, [esi + 0x60]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x19
mov eax, dword [0x47839c]
lea edx, [esi + 0x64]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1b
lea edx, [esi + 0x68]
mov dword [ebp - 0x14], edx
mov ecx, 0x47839c
mov eax, dword [0x47839c]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1d
mov eax, dword [0x47839c]
lea edx, [esi + 0x6c]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1f
mov eax, dword [0x47839c]
lea edx, [esi + 0x70]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x21
mov eax, dword [0x47839c]
lea edx, [esi + 0x74]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x23
mov eax, dword [0x47839c]
lea edx, [esi + 0x78]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x25
mov eax, dword [0x47839c]
lea edx, [esi + 0x7c]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x27
lea ecx, [esi + 0x80]
call fcn.00410520
mov byte [ebp - 4], 0x28
mov eax, dword [0x47839c]
lea edx, [esi + 0xd0]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x2a
mov eax, dword [0x47839c]
lea edx, [esi + 0xd4]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x2c
mov eax, dword [0x47839c]
lea edx, [esi + 0xd8]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x2e
mov eax, dword [0x47839c]
lea edx, [esi + 0xdc]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x30
mov eax, dword [0x47839c]
lea edx, [esi + 0xe0]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x47839c
call edx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x32
mov edx, dword [0x47839c]
lea eax, [esi + 0xe8]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x47839c
call eax
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x34
mov edx, dword [0x47839c]
lea eax, [esi + 0xec]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x47839c
call eax
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x36
push 3
push 0x45f2f8
mov ecx, esi
call fcn.004019a0
push 0x52
push str.http:__launcher.kunlun.com_index.php_actLauncher.mainpid40version201312311450
mov ecx, ebx
call fcn.004019a0
push 0x52
push str.http:__launcher.kunlun.com_index.php_actLauncher.mainpid40version201312311450
lea ecx, [esi + 8]
call fcn.004019a0
push 0x45efd5
lea ecx, [esi + 0x10]
call fcn.0040af10
push 0
push 0
push 0
mov eax, 4
push 0
lea edx, [esi + 0x4c]
push edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x44], 0x258
mov dword [esi + 0x48], 0x12c
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x14]
push eax
call fcn.00435d40
add esp, 4
mov byte [ebp - 4], 0x37
push eax
mov ecx, edi
call fcn.00401f40
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411186
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x45e680
mov ecx, edi
call fcn.004018e0
mov ecx, dword [str.sjsy]
test ecx, ecx
jne 0x4111a2
xor eax, eax
jmp 0x4111b6
mov eax, ecx
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4111a7
sub eax, ebx
sar eax, 1
push eax
push ecx
mov ecx, edi
call fcn.004018e0
push 1
push 0x45e680
mov ecx, edi
call fcn.004018e0
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ebx, [esi + 0x34]
push edi
mov ecx, ebx
call fcn.00401f40
push ebx
lea ecx, [esi + 0x2c]
call fcn.00401f40
push 0xe
push str.launchercache_
lea ecx, [esi + 0x2c]
call fcn.004018e0
mov edi, dword [esi + 0x2c]
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call edi
push ebx
lea ecx, [esi + 0x38]
call fcn.00401f40
push 0xc
push str.launcherweb_
lea ecx, [esi + 0x38]
call fcn.004018e0
lea ecx, [ebp - 0x10]
push ecx
mov byte [esi + 0xe4], 1
call fcn.00435d40
add esp, 4
mov byte [ebp - 4], 0x39
push 0xb
push str.KunlunGame
lea ecx, [ebp - 0x10]
call fcn.004018e0
mov edx, dword [ebp - 0x10]
push 0
push edx
call edi
push str.cache_
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004022d0
add esp, 0xc
mov byte [ebp - 4], 0x3a
push eax
lea ecx, [esi + 0xe8]
call fcn.00401f40
mov byte [ebp - 4], 0x39
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esi + 0xe8]
push 0
push ebx
call edi
lea ecx, [ebp - 0x18]
push ecx
call fcn.00435e40
mov bl, 0x3c
mov byte [ebp - 4], bl
push 0x45f1d8
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.004022d0
add esp, 0x10
mov byte [ebp - 4], 0x3d
push eax
lea ecx, [esi + 0xec]
call fcn.00401f40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x39
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
mov byte [esi + 0x40], 0
mov byte [esi + 0x24], 0
call fcn.0040db30
mov ecx, dword [esi + 0x28]
cmp dword [ecx - 0xc], 0
jne 0x411372
lea edx, [ebp - 0x18]
push edx
call fcn.00435f20
add esp, 4
mov byte [ebp - 4], 0x40
push eax
lea ecx, [esi + 0x28]
call fcn.00401f40
mov byte [ebp - 4], 0x39
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41136b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.0040f4b0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004380b0
add esp, 4
mov byte [ebp - 4], 0x42
push eax
lea ecx, [esi + 0x3c]
call fcn.00401f40
mov byte [ebp - 4], 0x39
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4113ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret