Function at 0x411200
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x45cf65
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x47aab0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47aab0]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x134], 0
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411266
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 + 0x20], eax
mov byte [esp + 0x134], 1
mov ecx, dword [ebx + 0xbc]
push ecx
lea edx, [esp + 0x24]
push str._sweathconfig.ini
push edx
call fcn.00407ac0
add esp, 0xc
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4112b1
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 + 0x34], eax
mov byte [esp + 0x134], 2
mov ecx, dword [ebx + 0xbc]
push ecx
lea edx, [esp + 0x38]
push 0x46a50c
push edx
call fcn.00407ac0
mov edi, dword [esp + 0x40]
add esp, 8
lea ebp, [edi - 0x10]
mov dword [esp + 0x34], esp
mov esi, esp
push ebp
mov dword [esp + 0x48], ebp
call fcn.00401f70
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040c920
add esp, 4
test eax, eax
jne 0x411325
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x411325
push eax
push eax
push 0x46a514
call fcn.004244d4
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call fcn.00418c40
mov byte [esp + 0x134], 3
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411355
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 + 0x30], eax
mov byte [esp + 0x134], 4
cmp dword [ebx + 0x2fc], 0
lea edx, [esp + 0xfc]
je 0x41176f
push 1
push 0x46a1e4
call fcn.00418ed0
mov ecx, dword [esp + 0x20]
add esp, 8
push ecx
lea edx, [esp + 0x100]
push edx
push str.autorun
push 0x46a9ac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4113c7
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 + 0x3c], eax
mov byte [esp + 0x134], 5
mov ecx, dword [ebx + 0x2d8]
mov edx, dword [esp + 0x13c]
push ecx
push edx
lea eax, [esp + 0x44]
push 0x4696e8
push eax
call fcn.00407ac0
add esp, 0x10
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41141a
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
push 0
mov byte [esp + 0x138], 6
call fcn.00441d63
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edx
push ecx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x30], eax
call fcn.004414e6
add esp, 8
test eax, eax
jne 0x411464
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
jmp 0x41146c
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.004414e6
add esp, 8
test eax, eax
jne 0x41148e
mov ebp, dword [esp + 0x94]
jmp 0x411491
or ebp, 0xffffffff
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xdc]
push ecx
call fcn.004414e6
add esp, 8
test eax, eax
jne 0x4114b3
mov ebx, dword [esp + 0xe0]
jmp 0x4114b6
or ebx, 0xffffffff
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.004414e6
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x80]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xc0]
push edx
mov edi, eax
call fcn.004414e6
add esp, 0x10
test eax, eax
jne 0x4114f9
mov esi, dword [esp + 0xc4]
add esi, 1
jmp 0x4114fb
xor esi, esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x100]
push ecx
call fcn.004414e6
add esp, 8
test eax, eax
jne 0x411522
mov eax, dword [esp + 0x110]
add eax, 0x76c
jmp 0x411524
xor eax, eax
mov edx, dword [esp + 0x24]
push edx
push ebp
push ebx
push edi
push esi
push eax
lea eax, [esp + 0x34]
push str.dw_04d_02d_02d_02d_02d_02d
push eax
call fcn.00407ac0
mov ebx, dword [esp + 0x3c]
add esp, 0x1c
lea eax, [ebx - 0x10]
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00401f70
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x13c], 7
mov edi, dword [esp + 0x44]
add edi, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push edi
call fcn.00401f70
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x13c], 6
call fcn.00411010
cmp eax, 1
jne 0x4115b5
lea ebx, [esp + 0x1c]
call fcn.00418e40
call fcn.00418dc0
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push ecx
push ebx
push str.startRunName
push 0x46a9ac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add ebx, 0xfffffff0
mov byte [esp + 0x134], 5
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4115d9
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [esp + 0x134], 4
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115fa
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
cmp dword [ebx + 0x328], 0
jne 0x411614
cmp dword [0x47f980], 0
je 0x41167d
push 1
push 0x46a1e4
lea edx, [esp + 0x104]
call fcn.00418ed0
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 8
push edx
lea eax, [esp + 0x100]
push eax
push str.infos
push 0x46a9ac
call esi
mov eax, dword [ebx + 0xb8]
push eax
push 0x46a1e4
lea edx, [esp + 0x104]
call fcn.00418ed0
mov ecx, dword [esp + 0x20]
add esp, 8
push ecx
lea edx, [esp + 0x100]
push edx
push str.setup
push 0x46a9ac
call esi
mov byte [esp + 0x134], 3
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4116a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x134], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4116cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x134], 1
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4116ef
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x134], 0
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 0x411717
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x134], 0xffffffff
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411745
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0043f428
add esp, 0x124
ret 4
push 0
push 0x46a1e4
call fcn.00418ed0
mov eax, dword [esp + 0x20]
add esp, 8
push eax
lea ecx, [esp + 0x100]
push ecx
push str.autorun
push 0x46a9ac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x411602