Function at 0x100c4a60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], esp
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x6c], 0x100d2890
mov dword [esi + 0xc], edx
mov dword [esi + 4], ecx
call 0x100c4a8d
pop eax
lea ecx, [esi + 0x68]
lea ebx, [esi + 0x30]
mov edx, dword fs:[0]
mov dword [esi], eax
mov dword [esi + 0x68], edx
mov dword fs:[0], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call fcn.100c9cb0
add esp, 0xc
lea edi, [esi + 0x10]
push 0
push 0x10183f14
push edi
call fcn.100c9cb0
add esp, 0xc
mov ecx, ebx
mov edx, edi
call fcn.100c1220
test al, al
je 0x100c4aed
mov eax, dword [esi + 4]
mov byte [eax], 3
mov eax, dword [esi + 0x68]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea ecx, [esi + 0x10]
push ebx
call fcn.100d1c60
add esp, 4
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
cmp dword [esi + 0x10], 1
jne 0x100c4ba5
mov ecx, ebx
mov ebx, dword [esi]
movzx eax, dl
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edi
add ebx, dword [eax*4 + 0x100c4ff4]
mov al, dh
jmp ebx
mov dword [esi], edx
mov dword [esi + 8], edi
mov dword [esi + 0x70], 4
push ecx
push dword [ebp + 8]
call fcn.100ca2f0
add esp, 8
test al, al
mov eax, dword [esi + 4]
mov ecx, dword [esi]
je 0x100c4dfc
cmp cl, 2
mov byte [eax], 3
jb 0x100c4adc
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x70], 2
push eax
call dword [ecx]
add esp, 4
mov edi, dword [esi + 8]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100c4b93
push dword [eax + 8]
push ecx
push dword [edi]
call fcn.10017710
add esp, 0xc
push 4
push 0xc
push edi
call fcn.10017710
add esp, 0xc
jmp 0x100c4adc
push 0
mov ebx, edx
push edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x100c4bd8
mov byte [esi + 0x30], 3
test edi, edi
je 0x100c4ad6
add edi, edi
je 0x100c4ad6
push 2
push edi
push ebx
call fcn.10017710
add esp, 0xc
jmp 0x100c4ad6
call sub.KERNEL32.dll_GetLastError
mov ecx, edi
mov edi, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 0
test ecx, ecx
je 0x100c4bff
add ecx, ecx
je 0x100c4bff
push 2
push ecx
push ebx
call fcn.10017710
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, edi
xor edx, edx
and eax, 0xfffffffe
cmp eax, 2
jne 0x100c4b32
mov ebx, dword [ebp + 8]
cmp dl, 3
ja 0x100c4c1f
cmp dl, 2
jne 0x100c4c62
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi + 0x70], 0
push eax
mov dword [esi + 8], edi
call dword [ecx]
add esp, 4
mov edi, dword [esi + 8]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100c4c4f
push dword [eax + 8]
push ecx
push dword [edi]
call fcn.10017710
add esp, 0xc
push 4
push 0xc
push edi
call fcn.10017710
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x70], 0xffffffff
push ecx
push ebx
lea edi, [esi + 0x30]
push edi
call fcn.100c9cb0
add esp, 0xc
push edi
lea eax, [esi + 0x10]
push eax
call fcn.100c9140
add esp, 8
mov eax, dword [esi + 0x10]
cmp eax, 5
je 0x100c4cf6
add eax, 0xfffffffe
cmp eax, 3
jae 0x100c4cf6
push edi
call fcn.100c8560
add esp, 4
test eax, eax
je 0x100c4cf6
mov edi, edx
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0x10]
push edi
push eax
call fcn.100c4a60
add esp, 8
mov eax, dword [esi + 0x10]
cmp al, 3
jne 0x100c4e0a
lea ecx, [esi + 0x10]
mov edx, ebx
push dword [ebp + 0xc]
call fcn.100d1c60
add esp, 4
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x14]
cmp dword [esi + 0x10], 1
jne 0x100c4e1a
cmp bl, 3
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
je 0x100c4ad6
mov eax, ebx
mov dword [esi], edi
jmp 0x100c4e60
push 1
push 0x1b
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100c4ed3
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0x1b
mov dword [esi + 0x38], 0
mov dword [esi + 0x70], 1
lea ecx, [esi + 0x10]
lea edx, [esi + 0x30]
push 1
push 0x1b
push 0
call fcn.100c1ed0
add esp, 0xc
cmp dword [esi + 0x10], 1
je 0x100c4ee1
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x30]
mov edi, dword [0x10184428]
movsd xmm0, qword [0x10184421]
lea edx, [ecx + 0x1b]
mov dword [esi + 0x38], edx
mov dword [eax + ecx + 0x17], edi
movsd qword [eax + ecx + 0x10], xmm0
movsd xmm0, qword [0x10184419]
movsd qword [eax + ecx + 8], xmm0
movsd xmm0, qword [0x10184411]
movsd qword [eax + ecx], xmm0
mov eax, dword [esi + 0x38]
movsd xmm0, qword [esi + 0x30]
movsd qword [esi + 0x50], xmm0
mov dword [esi + 0x58], eax
mov dword [esi + 0x18], eax
movsd qword [esi + 0x10], xmm0
push 4
push 0xc
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100c4ec5
mov edi, eax
mov eax, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
mov dword [edi + 8], eax
movsd qword [edi], xmm0
push 4
push 0xc
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100c4ec5
mov edx, dword [esi + 4]
movzx ecx, word [esi + 0x10]
mov bl, byte [esi + 0x12]
mov dword [eax], edi
mov dword [eax + 4], 0x101843c8
mov byte [eax + 8], 0x10
mov dword [edx], 2
mov word [eax + 9], cx
mov byte [eax + 0xb], bl
mov dword [edx + 4], eax
jmp 0x100c4adc
movsd xmm0, qword [esi + 0x30]
movsd qword [eax], xmm0
jmp 0x100c4adc
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x14]
mov dword [edx + 4], ecx
mov dword [edx], eax
jmp 0x100c4adc
push 0
push ebx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x100c4e37
mov byte [esi + 0x10], 3
test edi, edi
jne 0x100c4bbf
jmp 0x100c4ad6
call sub.KERNEL32.dll_GetLastError
mov dword [esi], eax
mov dword [esi + 0x14], eax
xor eax, eax
test edi, edi
mov dword [esi + 0x10], 0
je 0x100c4e60
add edi, edi
je 0x100c4e60
push 2
push edi
push ebx
call fcn.10017710
add esp, 0xc
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x70], 5
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ca2f0
add esp, 8
test al, al
mov eax, dword [esi + 4]
je 0x100c4eb7
cmp byte [esi + 0xc], 2
mov byte [eax], 3
jb 0x100c4adc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [esi], ecx
mov ecx, dword [ecx + 4]
mov dword [esi + 0x70], 3
push eax
call dword [ecx]
add esp, 4
mov edi, dword [esi]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x100c4b85
jmp 0x100c4b93
movsd xmm0, qword [esi + 0x10]
movsd qword [eax], xmm0
jmp 0x100c4adc
push 4
push 0xc
call fcn.100da490
add esp, 8
ud2
push 1
push 0x1b
call fcn.100da490
add esp, 8
ud2
cmp dword [esi + 0x18], 0
jne 0x100c4eee
call fcn.100da7a0
jmp 0x100c4f02
push 0x10184050
push 0x28
push str.internal_error:_entered_unreachable_code_::core::macros::panic_macros_
call fcn.100df260
add esp, 0xc
ud2