Function at 0x4102d0
Capabilities:
Create directory

Disassembly:
mov eax, 0x20240
call fcn.00445cd0
mov eax, dword [0x477b14]
push 0x47b848
mov dword [esp + 0x20240], eax
call fcn.00420820
add esp, 4
test eax, eax
jne 0x410303
push eax
push 0x47b848
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push esi
push edi
lea eax, [esp + 0x40]
push 1
push eax
call fcn.00410220
add esp, 8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
push edi
call fcn.00420ac0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 4
push str.VERSION
lea edx, [esp + 0x24c]
push edx
call ebx
mov ecx, dword [0x477118]
push 0xa
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.004453a6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
push eax
lea edx, [esp + 0x24c]
push edx
call esi
lea eax, [esp + 0x248]
push eax
push edi
call fcn.00420bc0
add esp, 8
push str.PREVWORKAREA
lea ecx, [esp + 0x24c]
push ecx
call ebx
mov eax, dword [0x47a26c]
push 0xa
lea edx, [esp + 0x10]
push edx
push eax
call fcn.004453e1
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24c]
push edx
call esi
push 0x466ae8
lea eax, [esp + 0x24c]
push eax
call esi
mov edx, dword [0x47a270]
push 0xa
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.004453e1
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24c]
push ecx
call esi
push 0x466ae8
lea edx, [esp + 0x24c]
push edx
call esi
push 0xa
lea eax, [esp + 0x10]
mov ecx, dword [0x47a274]
push eax
push ecx
call fcn.004453e1
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24c]
push eax
call esi
push 0x466ae8
lea ecx, [esp + 0x24c]
push ecx
call esi
mov eax, dword [0x47a278]
push 0xa
lea edx, [esp + 0x10]
push edx
push eax
call fcn.004453e1
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24c]
push edx
call esi
lea eax, [esp + 0x248]
push eax
push edi
call fcn.00420bc0
mov eax, dword [0x47c328]
add esp, 8
test eax, eax
je 0x4104c9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4104c9
push str.THEMEINFO
lea ecx, [esp + 0x24c]
push ecx
call ebx
lea edx, [esp + 0x248]
push edx
push edi
call fcn.00420bc0
mov eax, dword [0x47c328]
push eax
push edi
call fcn.00420bc0
add esp, 0x10
push str._THEMEINFO
lea ecx, [esp + 0x24c]
push ecx
call ebx
lea edx, [esp + 0x248]
push edx
push edi
call fcn.00420bc0
add esp, 8
push 0x47b230
call fcn.004208b0
mov eax, dword [esp + 0x20258]
add esp, 4
test eax, eax
mov dword [0x47c9a4], 0
je 0x4104fd
lea eax, [esp + 0x248]
push 1
push eax
call fcn.00410060
add esp, 8
mov eax, dword [0x47c0fc]
xor esi, esi
test eax, eax
jle 0x410545
jmp 0x410510
mov ecx, dword [0x47c0f8]
mov edx, dword [ecx + esi*4]
push 0
push 0
push edx
lea ecx, [esp + 0x254]
call fcn.0040e9c0
lea eax, [esp + 0x254]
push eax
push edi
call fcn.00420bc0
mov eax, dword [0x47c0fc]
add esp, 0x14
inc esi
cmp esi, eax
jl 0x410510
mov eax, dword [0x47c9a8]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x410561
push eax
call esi
mov dword [0x47c9a8], 0
push edi
call esi
push 0x20
lea ecx, [esp + 0x44]
push 0x477798
push ecx
mov edx, ecx
push edx
call fcn.0040e700
mov ecx, dword [esp + 0x20258]
add esp, 0x10
pop edi
pop esi
pop ebx
call fcn.00444c27
add esp, 0x20240
ret