Function at 0x402230
Capabilities:
Create directory
Create process on windows
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x427250
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x432c90]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push 0x23
push 0
mov dword [0x436d60], eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x402287
lea ebx, [esp + 0x10]
mov esi, 0x436d6c
call fcn.00402a00
push 7
push str.wdgame
mov ecx, 0x436d6c
call fcn.00401df0
mov eax, dword [0x436d6c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.004018c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00402a80
add esp, 4
test eax, eax
jne 0x4022cf
mov edx, dword [0x436d6c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x42b960
mov ecx, 0x436d6c
call fcn.00401df0
call fcn.00402840
lea eax, [esp + 0x34]
push eax
call fcn.00402be0
add esp, 4
mov dword [esp + 0x2c], 0
call fcn.00409bf2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402314
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2c], 1
call fcn.00409bf2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402343
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], 2
call fcn.00409bf2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402372
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2c], 3
call fcn.00409bf2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4023a1
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov bl, 4
mov byte [esp + 0x2c], bl
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4023c7
or esi, 0xffffffff
jmp 0x4023e6
push 0x42b964
push ecx
call fcn.004146f8
add esp, 8
test eax, eax
jne 0x4023de
or esi, 0xffffffff
jmp 0x4023e6
sub eax, dword [esp + 0x34]
sar eax, 1
mov esi, eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401f70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.004015c0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
call fcn.00402d20
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 6
call fcn.004015c0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402474
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
jge 0x402483
or esi, 0xffffffff
jmp 0x4024a2
push 0x42b964
push eax
call fcn.004146f8
add esp, 8
test eax, eax
jne 0x40249a
or esi, 0xffffffff
jmp 0x4024a2
sub eax, dword [esp + 0x34]
sar eax, 1
mov esi, eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401f70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 7
call fcn.004015c0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4024e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
call fcn.00402d20
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 8
call fcn.004015c0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
jge 0x40253f
or esi, 0xffffffff
jmp 0x40255e
push 0x42b964
push eax
call fcn.004146f8
add esp, 8
test eax, eax
jne 0x402556
or esi, 0xffffffff
jmp 0x40255e
sub eax, dword [esp + 0x34]
sar eax, 1
mov esi, eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401f70
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 9
call fcn.004015c0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4025a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
call fcn.00402d20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0xa
call fcn.004015c0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x42b968
lea ecx, [esp + 0x10]
push 0x436d6c
push ecx
call fcn.00402da0
add esp, 0xc
mov byte [esp + 0x2c], 0xb
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x40262a
mov edx, dword [esp + 0xc]
push edx
push eax
push str.lnkname
push 0x42b990
call esi
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x402646
mov ecx, dword [esp + 0xc]
push ecx
push eax
push str.targetname
push 0x42b990
call esi
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x402662
mov edx, dword [esp + 0xc]
push edx
push eax
push str.apkurl
push 0x42b990
call esi
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x40267e
mov ecx, dword [esp + 0xc]
push ecx
push eax
push str.cfgurl
push 0x42b990
call esi
push 0x42b9d0
lea edx, [esp + 0x24]
push 0x436d6c
push edx
call fcn.00402da0
mov ecx, dword [0x436d6c]
mov edx, dword [eax]
add esp, 0xc
push 1
push ecx
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4026d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call fcn.00414ca7
int3