Function at 0x40b710
Capabilities:
Create directory
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ffb7
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
push ecx
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.Pass
mov dword [esp + 0x58], esi
call fcn.00410560
mov dword [esp + 0x584], 0
mov eax, dword [0x492de4]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.00410330
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x48]
add esp, 4
push eax
mov dword [esp + 0x58c], 0xffffffff
call fcn.00401760
add esp, 8
mov ebx, 1
mov dword [esp + 0x584], ebx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.User
call fcn.00410560
mov byte [esp + 0x584], 2
mov eax, dword [0x492de4]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
call fcn.00410330
add eax, 0x10
lea ecx, [esp + 0x44]
add esp, 4
mov dword [edi], eax
push ecx
mov byte [esp + 0x58c], bl
call fcn.00401760
add esp, 0xc
mov byte [esp + 0x580], 3
call fcn.0043adc8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b81e
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x492e10
lea ecx, [esp + 0x20]
mov byte [esp + 0x584], 4
call fcn.004104e0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jne 0x40b85c
push 0x492e08
lea ecx, [esp + 0x20]
call fcn.004104e0
call fcn.0043adc8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b876
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x584], 5
call fcn.004104e0
call fcn.0043adc8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b8b2
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
lea ebx, [esp + 0x28]
mov byte [esp + 0x580], 6
call fcn.0040e380
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x584], 7
call fcn.004104e0
mov byte [esp + 0x580], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b90d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x40]
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push ebx
mov dword [esp + 0x30], ebx
call fcn.00410330
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040b4a0
add esp, 4
test eax, eax
jne 0x40b99d
push eax
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
call fcn.00410330
lea ecx, [esp + 0x3c]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.0040cb10
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x584], 8
call fcn.004104e0
mov byte [esp + 0x580], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b99d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0043adc8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b9b7
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x584], 9
call fcn.004104e0
push 0xb
push str.dudubao.exe
lea ecx, [esp + 0x4c]
call fcn.0040ecb0
mov esi, dword [esp + 0x44]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push esi
mov dword [esp + 0x3c], esi
call fcn.00410330
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00428960
add esp, 4
test eax, eax
je 0x40bf91
call fcn.0043adc8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ba37
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x584], 0xa
call fcn.004104e0
push 0x13
push str.StopDudubaoOpen.txt
lea ecx, [esp + 0x34]
call fcn.0040ecb0
mov ebx, dword [esp + 0x2c]
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push ebx
call fcn.00410330
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00428960
add esp, 4
test eax, eax
jne 0x40bf6c
push 0xa2
lea edi, [esp + 0x28]
call fcn.00401560
mov byte [esp + 0x584], 0xb
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], esp
mov edi, esp
push edx
call fcn.00410330
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x20]
add esp, 4
push eax
call fcn.00409c70
add esp, 8
mov byte [esp + 0x580], 0xc
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x40bba6
add eax, 0xfffffff0
mov byte [esp + 0x580], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x580], 0xa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x580], 9
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb57
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x580], 6
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bb78
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x580], 5
mov eax, dword [esp + 0x28]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bfd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40bfd3
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0040ecb0
push 0x47a9d8
lea ecx, [esp + 0x1c]
call fcn.0040e580
mov ecx, dword [esp + 0x18]
push 0
push ecx
call edi
cmp dword [ebp + 8], 0
jne 0x40bcab
lea ecx, [esp + 0x14]
call fcn.00410780
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x584], 0xd
call fcn.004104e0
push str.MsgData.txt
lea ecx, [esp + 0x18]
call fcn.0040e580
push ecx
mov dword [esp + 0x4c], esp
mov esi, esp
push ebx
call fcn.00410330
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00428960
add esp, 4
test eax, eax
jne 0x40bc9a
call fcn.0040c5c0
test eax, eax
jne 0x40bc9a
lea ecx, [esp + 0x14]
call fcn.00410760
lea ecx, [esp + 0x18]
call fcn.00410760
lea ecx, [esp + 0x24]
call fcn.00410760
lea ecx, [esp + 0x2c]
call fcn.00410760
lea ecx, [esp + 0x44]
call fcn.00410760
lea ecx, [esp + 0x40]
call fcn.00410760
lea ecx, [esp + 0x20]
call fcn.00410760
lea ecx, [esp + 0x1c]
call fcn.00410760
lea ecx, [esp + 0x38]
call fcn.00410760
lea ecx, [esp + 0x3c]
call fcn.00410760
jmp 0x40c076
lea ecx, [esp + 0x14]
mov byte [esp + 0x580], 0xc
call fcn.00410760
lea eax, [esp + 0x54]
push eax
call fcn.00424d70
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x588], 0xe
call fcn.00426050
mov byte [esp + 0x580], 0xf
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov edi, esp
push eax
call fcn.00410330
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x588], 0x10
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.00410330
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x58c], 0x11
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov edi, esp
push eax
call fcn.00410330
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x58c], 0xf
call fcn.0040a540
add esp, 0xc
cmp eax, 1
jne 0x40bf3c
mov eax, dword [esp + 0x3c]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x40bd8d
mov ecx, dword [esp + 0x38]
cmp dword [ecx - 0xc], 0
je 0x40bd8d
lea edx, [esp + 0x1c]
push str.dooland
push edx
call fcn.0040ec80
add esp, 8
test al, al
je 0x40bd8d
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00410310
call fcn.0040a200
add esp, 4
cmp dword [ebx + 0xc], 1
jle 0x40bda0
mov ecx, dword [ebx + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.0040fde0
mov edx, dword [esp + 0x2c]
push 0x47b1a4
push edx
call fcn.004547d8
mov edi, eax
push edi
push 1
push 0xf
push str.StopDudubaoOpen
call fcn.00454905
push edi
call fcn.00454a05
add esp, 0x1c
lea ecx, [esp + 0x14]
call fcn.00410780
mov bl, 0x12
mov byte [esp + 0x580], bl
mov eax, dword [esp + 0x3c]
cmp dword [eax - 0xc], 0
je 0x40be0c
mov ecx, dword [esp + 0x38]
cmp dword [ecx - 0xc], 0
je 0x40be0c
lea edx, [esp + 0x1c]
push str.dooland
push edx
call fcn.0040ec80
add esp, 8
test al, al
je 0x40be0c
push str._DoolandExe_
jmp 0x40be11
push str._OemExe_
lea ecx, [esp + 0x18]
call fcn.00410440
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040ecb0
push 0x47b1d4
lea ecx, [esp + 0x18]
call fcn.0040e580
cmp dword [0x492cec], 0
je 0x40be95
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00410310
push ecx
mov byte [esp + 0x588], 0x13
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00410310
push ecx
mov byte [esp + 0x58c], 0x14
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00410310
mov byte [esp + 0x58c], bl
call fcn.0040c0a0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
push 1
push 0
push ecx
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x20]
push eax
call fcn.004104e0
lea ecx, [esp + 0x14]
call fcn.00410760
lea ecx, [esp + 0x30]
call fcn.00410760
lea esi, [esp + 0x54]
mov byte [esp + 0x580], 0xc
call fcn.004250c0
lea ecx, [esp + 0x18]
call fcn.00410760
lea ecx, [esp + 0x24]
call fcn.00410760
lea ecx, [esp + 0x2c]
call fcn.00410760
lea ecx, [esp + 0x44]
call fcn.00410760
lea ecx, [esp + 0x40]
call fcn.00410760
lea ecx, [esp + 0x20]
call fcn.00410760
lea ecx, [esp + 0x1c]
call fcn.00410760
lea ecx, [esp + 0x38]
call fcn.00410760
lea ecx, [esp + 0x3c]
call fcn.00410760
mov eax, 1
jmp 0x40c078
lea ecx, [esp + 0x30]
call fcn.00410760
lea esi, [esp + 0x54]
mov byte [esp + 0x580], 0xc
call fcn.004250c0
lea ecx, [esp + 0x18]
call fcn.00410760
lea ecx, [esp + 0x24]
call fcn.00410760
mov esi, dword [esp + 0x34]
mov byte [esp + 0x580], 9
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf8d
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x580], 6
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bfb2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x580], 5
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bfd3
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x580], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bffb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x580], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c023
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x580], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c04b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x580], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c076
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.004540ed
mov esp, ebp
pop ebp
ret