Function at 0x10039230
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4534
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10101404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 4], ebx
lea eax, [ebx + 0x10]
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov edi, esp
push 0xdead0009
push 0x1d5beef
lea ecx, [ebp - 0x54]
push ecx
call fcn.100018e0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1003929b
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.10002d60
mov eax, 4
call fcn.100b0040
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x64], eax
cmp eax, ebx
je 0x100392d8
mov dword [eax], 0xabab01d5
mov dword [ebp - 4], 0xffffffff
jmp 0x100392f3
cmp eax, ebx
je 0x100392fd
mov dword [eax], 0xcdcd01d5
mov esi, 6
mov dword [ebp - 0x58], esi
test byte [0x10106d78], 1
jne 0x10039335
or dword [0x10106d78], 1
mov dword [ebp - 4], 3
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ecx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x10039492
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], esi
lea edi, [ebp - 0x38]
call fcn.10031570
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x1003938e
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.1000bc70
jmp 0x1003939c
push str.EnterFunction
push ecx
call fcn.1000d880
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.10001860
mov edi, eax
mov byte [ebp - 4], 7
test byte [0x10106d78], 1
jne 0x100393de
or dword [0x10106d78], 1
mov byte [ebp - 4], 8
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 7
mov dword [ebp - 0x58], 0x10106d2c
mov ecx, 0x10106d2c
mov eax, dword [0x10106d2c]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 9
mov ecx, dword [0x10106d74]
cmp ecx, ebx
je 0x10039441
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x10039410
mov eax, dword [edi]
jmp 0x10039412
mov eax, edi
mov edx, dword [ecx]
push 0x1d5
push str.FileHandler::CreateDirectory_
push str.FileHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 7
mov ecx, 0x10106d2c
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 8]
call eax
jmp 0x1003945a
mov byte [ebp - 4], 7
mov ecx, 0x10106d2c
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 8]
call eax
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x40], esi
jb 0x10039470
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.10031440
jmp 0x10039497
mov esi, 8
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x100394a4
mov dword [eax], 0xcdcd01d6
mov dword [ebp - 0x58], 6
test byte [0x10106d78], 1
jne 0x100394db
or dword [0x10106d78], 1
mov dword [ebp - 4], 0xa
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push ecx
mov edi, 0x10106d28
call fcn.10030d50
test al, al
je 0x1003960d
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xd
mov edx, dword [ebp - 0x60]
push edx
lea edi, [ebp - 0x38]
call fcn.10031570
mov ecx, eax
call fcn.10042070
push eax
call fcn.100289b0
add esp, 8
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
push ecx
call fcn.10031630
mov ecx, eax
call fcn.10001860
mov edi, eax
mov byte [ebp - 4], 0xe
test byte [0x10106d78], 1
jne 0x1003957e
or dword [0x10106d78], 1
mov byte [ebp - 4], 0xf
call fcn.10030630
push 0x100ce5d0
call fcn.100af684
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, 0x10106d2c
mov dword [ebp - 0x58], ecx
mov edx, dword [0x10106d2c]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov ecx, dword [0x10106d74]
cmp ecx, ebx
je 0x100395c3
cmp dword [edi + 0x14], esi
jb 0x100395a8
mov eax, dword [edi]
jmp 0x100395aa
mov eax, edi
mov edx, dword [ecx]
push 0x1d6
push str.FileHandler::CreateDirectory_
push str.FileHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xe
mov edx, dword [0x10106d2c]
mov ecx, 0x10106d2c
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x40], esi
jb 0x100395ed
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.10031440
mov edi, dword [ebp - 0x60]
push edi
lea ecx, [ebp - 0x59]
call fcn.100398f0
add esp, 4
test al, al
je 0x10039729
cmp byte [ebp - 0x59], bl
je 0x10039730
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x1003963a
mov dword [eax], 0xcdcd01df
mov dword [ebp - 0x58], 2
lea ecx, [ebp - 0x58]
push ecx
call fcn.10030800
mov edi, eax
call fcn.10030d50
test al, al
je 0x10039729
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x13
lea edi, [ebp - 0x38]
call fcn.10031570
mov edx, str.IsFileExist_failed
mov esi, eax
call fcn.10030f60
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x100396ac
push 0xffffffffffffffff
push ebx
mov edx, dword [ebp - 0x60]
push edx
mov ecx, eax
call fcn.10011090
jmp 0x100396b9
mov eax, dword [ebp - 0x60]
push eax
push ecx
call fcn.100289b0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x14
push 0x1df
push str.FileHandler::CreateDirectory_
push str.FileHandler.cpp
push 2
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x40], 8
jb 0x10039705
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor eax, eax
mov word [ebp - 0x54], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
push ecx
call fcn.10031440
xor al, al
jmp 0x100398c6
cmp dword [edi + 0x14], esi
jb 0x10039739
mov eax, dword [edi]
jmp 0x1003973b
mov eax, edi
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
mov eax, dword [ebp - 0x64]
je 0x10039800
cmp eax, ebx
je 0x10039759
mov dword [eax], 0xcdcd01e5
mov dword [ebp - 0x58], 2
lea edx, [ebp - 0x58]
push edx
call fcn.10030800
mov edi, eax
call fcn.10030d50
test al, al
je 0x10039729
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x17
lea edi, [ebp - 0x38]
call fcn.10031570
mov edx, str.IsFileExist_failed
mov esi, eax
call fcn.10030f60
mov ecx, dword [ebp - 0x60]
mov esi, eax
call fcn.10030f30
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x18
push 0x1e5
push str.FileHandler::CreateDirectory_
push str.FileHandler.cpp
push 2
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x54]
call fcn.10002d90
jmp 0x10039719
cmp eax, ebx
je 0x1003980a
mov dword [eax], 0xcdcd01e9
mov dword [ebp - 0x58], 6
lea edx, [ebp - 0x58]
push edx
call fcn.10030800
mov edi, eax
call fcn.10030d50
test al, al
je 0x100398c4
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0x60]
push eax
lea edi, [ebp - 0x38]
call fcn.10031570
mov ecx, eax
call fcn.10042100
push eax
call fcn.100289b0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov edx, edi
push edx
call fcn.10031630
mov ecx, eax
call fcn.10001860
mov ebx, eax
mov byte [ebp - 4], 0x1c
push 0x1e9
push str.FileHandler::CreateDirectory_
push str.FileHandler.cpp
push 6
call fcn.10030800
mov ecx, eax
call fcn.10030e00
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x54]
call fcn.10002d90
mov dword [ebp - 4], 0xffffffff
mov eax, edi
push eax
call fcn.10031440
mov al, 1
lea esp, [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret