Function at 0x419e32
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, 1
lea edi, [ebp - 0x10]
mov dword [edi], 1
mov dword [edi + 4], 9
add edi, 0x10
dec ecx
jne 0x419e40
mov ecx, 1
lea esi, [ebp + 8]
call fcn.00414141
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4037b5
mov eax, esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
lea esi, [ebp - 0x10]
call fcn.00413a56
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov esi, dword [0x40176d]
mov esi, dword [esi + eax*8]
add esi, dword [0x401771]
mov dl, 0
xchg byte [esi + ecx], dl
push esi
push ecx
push edx
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
pop edx
pop ecx
pop esi
mov byte [esi + ecx], dl
mov dword [ebp - 8], eax
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x10]
mov eax, esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x4037b5
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
call fcn.004135e4
mov esi, dword [0x401799]
sub esi, 0x14
lea eax, [esi + 0x404dd4]
mov dword [0x401799], esi
push eax
mov ebx, eax
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x419f70
cmp ecx, 1
jne 0x419f38
test eax, eax
je 0x419f70
mov eax, 1
jmp 0x419f70
cmp ecx, 2
jne 0x419f52
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x419f70
inc eax
jmp 0x419f70
cmp ecx, 3
jne 0x419f62
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x419f70
inc eax
jmp 0x419f70
cmp ecx, 4
jne 0x419f6e
mov eax, 1
jmp 0x419f70
xor eax, eax
mov ecx, eax
pop eax
push ecx
cmp byte [eax], 2
jne 0x419f80
mov esi, eax
call fcn.0041392c
pop ecx
test ecx, ecx
je 0x419fa9
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4038c7
mov eax, esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
jmp 0x41a013
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x4039d7
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
jmp 0x41a013
mov ecx, 1
lea esi, [ebp + 8]
call fcn.0041419b
mov ebx, dword [0x401799]
lea eax, [ebx + 0x404dc0]
lea edi, [ebp - 0x10]
mov ecx, 1
mov ebx, dword [edi + 4]
cmp ebx, 3
je 0x41a041
cmp ebx, 4
jne 0x41a063
cmp dword [eax + 4], ebx
jne 0x41a056
mov edx, dword [eax + 8]
cmp dword [edi + 8], edx
jne 0x41a056
mov dword [eax], 2
jmp 0x41a063
push edi
push ecx
push eax
mov esi, edi
call fcn.0041395a
pop eax
pop ecx
pop edi
add edi, 0x10
dec ecx
jne 0x41a034
leave
ret 4