Function at 0x4546a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bab66
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4ea160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], vtable.FCPathName.0
xor bl, bl
mov dword [ebp - 0x50], vtable.FCString.0
call fcn.00451b70
push 0
push 0x200
lea ecx, [ebp - 0x50]
call fcn.00450e40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004537a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x54]
push dword [ebp + 8]
call fcn.00453660
lea ecx, [ebp - 0x54]
call fcn.00453b70
test eax, eax
je 0x454729
push 0x4c4164
lea ecx, [ebp - 0x50]
call fcn.00450850
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x20]
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x20], vtable.FCString.0
call fcn.00451b70
push esi
push 0x100
lea ecx, [ebp - 0x20]
call fcn.00450e40
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
push 0
push dword [eax + 0x14]
call fcn.004549a0
add esp, 8
test eax, eax
je 0x45476b
mov bl, 1
jmp 0x45490c
mov dword [ebp - 0x38], vtable.FCXList_class_FCString_.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.FCString.0
call fcn.00451b70
push 0
push 0x100
lea ecx, [ebp - 0x2c]
call fcn.00450e40
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push 1
push 0x4c4164
push eax
lea ecx, [ebp - 0x20]
call fcn.00452c90
test eax, eax
je 0x45483e
push 0xc
call fcn.0044f151
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4547e5
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00450260
mov esi, eax
jmp 0x4547e7
xor esi, esi
mov byte [ebp - 4], 4
push 0x14
call fcn.0044f151
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x454818
mov dword [eax], vtable.FCXListNode_class_FCString_.0
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 4], eax
mov dword [eax + 8], eax
jmp 0x45481a
xor eax, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push eax
call fcn.00435690
push 1
push 0x4c4164
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00452c90
test eax, eax
jne 0x4547c1
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], vtable.FCXListIterator_class_FCString_.0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.00450c50
lea ecx, [ebp - 0x44]
call fcn.004459a0
mov edi, eax
test edi, edi
je 0x4548e2
mov esi, dword [ebp + 0xc]
nop
test esi, esi
je 0x454890
mov eax, dword [edi + 4]
mov ecx, esi
push dword [eax + 0x14]
call fcn.0048a150
lea ecx, [esi + 0x48]
call fcn.0048a0a0
mov ecx, esi
call fcn.0048a0e0
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x20]
push dword [eax + 0x14]
call fcn.00450850
mov eax, dword [ebp - 0x1c]
push 0
push dword [eax + 0x14]
call fcn.004549a0
add esp, 8
test eax, eax
jne 0x4548c6
mov eax, dword [ebp - 0x1c]
push 0
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4548e0
mov bl, 1
test esi, esi
je 0x4548d0
cmp byte [esi + 0x44], 0
jne 0x4548e0
lea ecx, [ebp - 0x44]
call fcn.004459a0
mov edi, eax
test edi, edi
jne 0x454870
jmp 0x4548e2
xor bl, bl
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], vtable.FCXListIterator_class_FCString_.0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00450480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.FCXList_class_FCString_.0
call fcn.00435e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00450480
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], vtable.FCPathName.0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00450480
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret