Function at 0x456c20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebp
push esi
mov esi, dword [0x4b3118]
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x15c]
inc ecx
imul ecx, ecx, 0x34
mov ecx, dword [ecx + eax]
push edi
lea edx, [esp + 0x10]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x456c50
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456c61
sub eax, edx
lea eax, [esp + eax + 0x10]
lea edx, [esp + 0x10]
cmp eax, edx
je 0x456c99
jmp 0x456c80
mov cl, byte [eax]
cmp cl, 0x5c
je 0x456d37
cmp cl, 0x2f
je 0x456c99
dec eax
lea ecx, [esp + 0x10]
cmp eax, ecx
jne 0x456c80
mov cl, byte [eax]
cmp cl, 0x5c
je 0x456d37
cmp cl, 0x2f
je 0x456d37
mov eax, dword [0x4b3998]
lea edx, [esp + 0x10]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x456cb8
mov eax, dword [esi + 0x64]
mov edx, dword [eax + 0x15c]
inc edx
imul edx, edx, 0x34
mov eax, dword [edx + eax]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456cd4
lea edi, [esp + 0x10]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x456ce2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456d01
sub eax, edx
lea eax, [esp + eax + 0x10]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x456d2b
mov cl, byte [eax]
cmp cl, 0x5c
je 0x456d37
cmp cl, 0x2f
je 0x456d2b
dec eax
lea edx, [esp + 0x10]
cmp eax, edx
jne 0x456d16
mov cl, byte [eax]
cmp cl, 0x5c
je 0x456d37
cmp cl, 0x2f
jne 0x456d3b
mov byte [eax + 1], 0
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x456d40
mov eax, dword [str.LevelPreviews_]
mov ecx, dword [0x4a61ec]
mov edx, dword [0x4a61f0]
mov dword [edi], eax
mov ax, word [0x4a61f4]
mov dword [edi + 4], ecx
mov cl, byte [0x4a61f6]
mov dword [edi + 8], edx
mov word [edi + 0xc], ax
lea eax, [esp + 0x10]
mov byte [edi + 0xe], cl
lea edx, [eax + 1]
jmp 0x456d80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456d80
sub eax, edx
mov edx, dword [0x4b3118]
lea ebp, [esp + eax + 0xf]
mov eax, dword [edx + 0x64]
mov ecx, dword [eax + 0x15c]
imul ecx, ecx, 0x34
mov eax, dword [ecx + eax + 0x2c]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x456da5
lea edi, [esp + 0x10]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x456db5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x456dd0
mov edx, dword [str..bmp]
mov al, byte [0x4a61e4]
lea ecx, [esp + 0x10]
mov dword [edi], edx
push 0x4a2698
push ecx
mov byte [edi + 4], al
call fcn.00463fc2
add esp, 8
test eax, eax
jne 0x456eab
push eax
lea edx, [esp + 0x14]
push edx
mov byte [ebp], al
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [0x4b3118]
mov byte [ebp], 0x5c
mov ecx, dword [eax + 4]
call fcn.00403470
mov ecx, 0x40
mov esi, 0x4ce488
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4b3118]
mov eax, dword [ecx]
mov esi, dword [eax + 0x138]
mov dword [eax + 0x138], 0xffffffff
mov al, 1
push 0x80
mov byte [0x4ce548], al
mov byte [0x4ce550], al
mov byte [0x4ce585], al
mov byte [0x4ce586], al
mov byte [0x4ce587], al
mov eax, dword [0x4b3118]
mov ecx, dword [eax]
push 0x80
lea edx, [esp + 0x18]
push edx
call fcn.004028c0
mov ecx, dword [0x4b3118]
mov edx, dword [ecx]
mov dword [edx + 0x138], esi
mov ecx, 0x40
lea esi, [esp + 0x118]
mov edi, 0x4ce488
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
push eax
call fcn.00463f42
add esp, 4
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret