Function at 0x47b240
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531af8
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x5c6150]
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 edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x368], esi
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x398], fcn.004e1b5b
mov dword [ebp - 0x394], fcn.004e1ae7
mov dword [ebp - 0x390], fcn.004e1b56
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x388], 0x8000
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.t_heap.0
mov dword [ebp - 0x384], 0
mov byte [ebp - 0x380], 0
push 0xffffffffffffffff
push str.Setting
lea ecx, [ebp - 0x39c]
mov dword [ebp - 4], 0
call fcn.00455dc0
push 0xffffffffffffffff
push str.SyncMode
lea ecx, [ebp - 0x39c]
mov dword [ebp - 0x370], eax
call fcn.00455dc0
cmp dword [edi + 0x20], 0
mov dword [ebp - 0x374], eax
jne 0x47b33d
lea esi, [edi + 4]
push 0x34
mov ecx, esi
call fcn.00412b80
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x378], eax
push esi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0047a6c0
mov esi, dword [ebp - 0x368]
mov byte [ebp - 4], 0
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
jne 0x47b365
mov ecx, esi
call fcn.00450c80
push 0x5abc4c
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
xor bl, bl
jmp 0x47b6e8
lea eax, [ebp - 0x37c]
push eax
call fcn.0047ca80
mov edi, dword [ebp - 0x37c]
test edi, edi
je 0x47b548
nop
mov ebx, dword [edi + 4]
mov esi, dword [edi + 8]
test ebx, ebx
je case.0x47b4cf.0
cmp byte [esi + 1], 1
je case.0x47b4cf.0
cmp dword [esi + 8], 0
jne 0x47b3b3
push 0x5920ac
lea ecx, [ebp - 0x364]
call fcn.0044fe90
jmp 0x47b46a
lea ecx, [ebp - 0x15c]
call fcn.0044fd40
movzx eax, byte [esi]
cmp eax, 4
ja case.default.0x47b3c6
jmp dword [eax*4 + 0x47b740]
mov eax, dword [esi + 8]
mov ecx, 0x594578
cmp byte [eax], 0
mov eax, 0x59457c
cmove ecx, eax
push ecx
lea ecx, [ebp - 0x364]
call fcn.0044fe90
lea ecx, [ebp - 0x15c]
call fcn.00424a60
jmp 0x47b46a
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x38]
push 0xa
push 0x14
push ecx
push dword [eax]
call fcn.004ed64c
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
jmp 0x47b3e1
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x38]
push 0xa
push 0x14
push ecx
push dword [eax]
call fcn.004ed5fa
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
jmp 0x47b3e1
push dword [esi + 8]
jmp 0x47b436
push 0
lea ecx, [ebp - 0x364]
call fcn.0044fe90
cmp byte [ebp - 0x40], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47b46a
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x150]
cmp eax, ecx
je 0x47b46a
push eax
call fcn.004e1b56
add esp, 4
mov ecx, dword [ebp - 0x370]
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 2
cmp byte [ebp - 0x248], 0
push 0xffffffffffffffff
cmove eax, dword [ebp - 0x35c]
add eax, 4
push eax
push ebx
call fcn.004555a0
mov byte [ebp - 4], 0
cmp byte [ebp - 0x248], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47b4c4
mov eax, dword [ebp - 0x35c]
lea ecx, [ebp - 0x358]
cmp eax, ecx
je 0x47b4c4
push eax
call fcn.004e1b56
add esp, 4
mov al, byte [esi + 1]
movzx ecx, al
cmp ecx, 5
ja case.0x47b4cf.0
jmp dword [ecx*4 + 0x47b754]
xor ecx, ecx
nop dword [eax + eax]
cmp al, byte [ecx*8 + 0x591344]
je 0x47b4f3
inc ecx
cmp ecx, 4
jb 0x47b4e0
xor eax, eax
jmp 0x47b4fa
mov eax, dword [ecx*8 + 0x591340]
mov ecx, dword [ebp - 0x374]
push 0xffffffffffffffff
push eax
push ebx
call fcn.004555a0
mov ebx, dword [ebp - 0x378]
mov esi, dword [ebx + 8]
test esi, esi
je 0x47b542
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x47b538
mov eax, dword [edi + 0x10]
xor edx, edx
div esi
inc edx
cmp edx, esi
jae 0x47b538
mov eax, dword [ebx]
mov eax, dword [eax + edx*4]
test eax, eax
cmovne ecx, eax
inc edx
test ecx, ecx
je 0x47b525
mov edi, ecx
test ecx, ecx
jne 0x47b380
mov ebx, dword [ebp - 0x36c]
push 0x208
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea eax, [ebx + 0xc]
cmp byte [ebx + 0x11c], 0
jne 0x47b56d
mov eax, dword [ebx + 8]
add eax, 4
push eax
lea eax, [ebp - 0x240]
push 0x104
push eax
call fcn.004e1af2
lea eax, [ebp - 0x240]
push 0x5c
push eax
call fcn.004d9879
add esp, 0x14
test eax, eax
jne 0x47b5c4
cmp byte [ebx + 0x11c], al
lea eax, [ebx + 0xc]
jne 0x47b5a5
mov eax, dword [ebx + 8]
mov esi, dword [ebp - 0x368]
add eax, 4
push eax
push 0x5abcf0
push esi
call fcn.00450d30
add esp, 0xc
mov bl, al
jmp 0x47b657
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov word [eax], cx
lea eax, [ebp - 0x240]
push ecx
push eax
lea ecx, [ebp - 0x364]
call fcn.00451610
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 3
call fcn.00451e40
test al, al
jne 0x47b687
push 0
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea eax, [ebp - 0x240]
jne 0x47b667
mov esi, dword [ebp - 0x368]
push eax
push 0x5abcdc
push esi
call fcn.00450d30
mov byte [ebp - 4], 0
add esp, 0xc
cmp byte [ebp - 0x248], 0
mov bl, al
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47b657
mov eax, dword [ebp - 0x35c]
lea ecx, [ebp - 0x358]
cmp eax, ecx
je 0x47b657
push eax
call fcn.004e1b56
add esp, 4
test bl, bl
je 0x47b6e2
mov ebx, dword [ebp - 0x36c]
jmp 0x47b6bd
push 1
push 0x10000000
push 1
push eax
call fcn.00464b20
lea eax, [ebp - 0x240]
push 1
push eax
call fcn.00464f00
add esp, 0x18
mov byte [ebp - 4], 0
cmp byte [ebp - 0x248], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x47b6b7
mov eax, dword [ebp - 0x35c]
lea ecx, [ebp - 0x358]
cmp eax, ecx
je 0x47b6b7
push eax
call fcn.004e1b56
add esp, 4
mov esi, dword [ebp - 0x368]
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
jne 0x47b6cc
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
add eax, 4
lea ecx, [ebp - 0x39c]
push eax
push esi
call fcn.00456570
test al, al
jne 0x47b6e6
xor bl, bl
jmp 0x47b6e8
mov bl, 1
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x38c]
mov dword [ebp - method.allocator_unsigned_char__class_TAllocDefault_.virtual_0], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test edx, edx
je 0x47b720
mov ecx, dword [edx + 4]
push edx
mov dword [ebp - 0x38c], ecx
call dword [ebp - 0x390]
mov edx, dword [ebp - 0x38c]
add esp, 4
test edx, edx
jne 0x47b703
mov al, bl
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.004d6cfd
mov esp, ebp
pop ebp
ret 8