Function at 0x4121f0
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5209a6
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x55c380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402910
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004148c0
push eax
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004136c0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x41229a
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41227d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403020
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402b60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4122b3
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403020
cmp dword [ebx + 0x14], 8
jb 0x4122bd
mov eax, dword [ebx]
jmp 0x4122bf
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, ebx
lea ecx, [ebp - 0x40]
call fcn.0040ff70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebx + 0x60]
push 0
cmovae ecx, dword [ebp - 0x40]
push 6
call fcn.004769e0
add esp, 8
test eax, eax
jne 0x4123f9
cmp dword [ebx + 0x2c], 0x10
lea edi, [ebx + 0x18]
jb 0x412319
mov edx, dword [edi]
jmp 0x41231b
mov edx, edi
push dword [ebx + 0x28]
mov ecx, dword [ebx + 0x60]
call fcn.00479ee0
add esp, 4
push dword [ebx + 0x60]
call fcn.00474f20
add esp, 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebx + 0x60]
cmovae ecx, dword [ebp - 0x40]
push 0
push 2
call fcn.004769e0
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x412356
mov edi, dword [edi]
push dword [ebx + 0x28]
mov ecx, dword [ebx + 0x60]
xor edx, edx
push edi
call fcn.00479cd0
push 0
push 0
push 0
push str.pragma_journal_mode__off_
push dword [ebx + 0x60]
call fcn.0045a580
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x1c
cmp eax, 5
jne 0x4123a4
push 1
call edi
push 0
push 0
push 0
push str.pragma_journal_mode__off_
push dword [ebx + 0x60]
call fcn.0045a580
add esp, 0x14
cmp eax, 5
je 0x412385
mov ecx, ebx
call fcn.00414830
push 0
push 0
push 0
push str.pragma_journal_mode__delete_
push dword [ebx + 0x60]
call fcn.0045a580
add esp, 0x14
cmp eax, 5
jne 0x4123e5
push 1
call edi
push 0
push 0
push 0
push str.pragma_journal_mode__delete_
push dword [ebx + 0x60]
call fcn.0045a580
add esp, 0x14
cmp eax, 5
je 0x4123c6
push dword [ebx + 0x60]
call fcn.00474f20
add esp, 4
mov dword [ebx + 0x60], 0
xor eax, eax
mov dword [ebx + 0x44], eax
xor ebx, ebx
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
cmp eax, 0x10
jb 0x412418
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402f20
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp ecx, 8
jb 0x41243f
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403020
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5c8b
mov esp, ebp
pop ebp
ret