Function at 0x412a80
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5e0b4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
mov eax, dword [esp + 0x274]
push esi
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.0045aaa0
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x274], esi
cmp dword [ecx - 8], esi
jne 0x412aeb
lea ecx, [esp + 0x10]
mov dword [esp + 0x274], 0xffffffff
call fcn.0045b310
pop edi
pop esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
add esp, 0x270
ret
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0045ee00
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.0045a890
push 0x6391c4
lea ecx, [esp + 0x18]
mov byte [esp + 0x278], 1
call fcn.0045bf50
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x412b80
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 0
call fcn.0045b310
lea ecx, [esp + 0x10]
mov dword [esp + 0x274], 0xffffffff
call fcn.0045b310
pop edi
pop esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
add esp, 0x270
ret
push ebx
push ebp
push 0x670804
lea ecx, [esp + 0x14]
call fcn.0045aaa0
push 0x670804
lea ecx, [esp + 0x18]
mov byte [esp + 0x280], 2
call fcn.0045aaa0
mov ebp, dword [esp + 0x288]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [esp + 0x27c], 3
lea edx, [esp + 0x50]
push 0x6380ac
push edx
call ebx
test eax, eax
je 0x412cfd
lea eax, [esp + 0x50]
push 0x6380a8
push eax
call ebx
test eax, eax
je 0x412cfd
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x633544
push eax
call fcn.0045e320
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [ecx - 8]
test eax, eax
je 0x412cfd
lea edx, [esp + 0x50]
lea eax, [esp + 0x14]
push edx
push ebp
push 0x633544
push eax
call fcn.0045e320
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040f880
mov esi, eax
mov al, byte [esp + 0x38]
add esp, 0x14
test al, 0x10
je 0x412c8a
cmp esi, 0xffffffff
jne 0x412c5a
mov edx, dword [esp + 0x14]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x412cfd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00412a80
add esp, 8
cmp esi, 0xffffffff
jne 0x412c83
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00412560
add esp, 8
mov esi, 1
jmp 0x412cd0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push ecx
push edx
call edi
mov esi, eax
test esi, esi
jne 0x412cbe
mov eax, dword [esp + 0x10]
push eax
call fcn.0040da00
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
push esi
push ecx
push edx
call edi
mov esi, eax
test esi, esi
je 0x412cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00412560
add esp, 8
mov eax, dword [0x66fd48]
test eax, eax
je 0x412cfd
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push edx
push eax
push esi
push str.CopyDir2Dir___d___08x____s_
push 0x6394b8
push 0xf
push 0x66fcdc
call fcn.004277c0
add esp, 0x1c
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x412bc1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 2
call fcn.0045b310
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 1
call fcn.0045b310
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 0
call fcn.0045b310
lea ecx, [esp + 0x18]
mov dword [esp + 0x27c], 0xffffffff
call fcn.0045b310
mov ecx, dword [esp + 0x274]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x270
ret