Function at 0x49b7a5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f9ec
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x4d2a20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.004018ae
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0049ba20
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00406df8
cmp dword [ebp + 0xc], 0
jne 0x49b807
mov dword [ebp - 0x58], 0x4b3300
jmp 0x49b80d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.004018ae
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00413706
push eax
call fcn.0048855d
pop ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x49b858
and dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00406df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406df8
mov eax, dword [ebp - 0x44]
jmp 0x49ba12
push dword [ebp - 0x38]
push fcn.0048633a
lea eax, [ebp - 0x28]
push eax
call fcn.0043e012
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x38]
call fcn.00486310
pop ecx
pop ecx
test eax, eax
je 0x49b8b8
and dword [ebp - 0x48], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0043df76
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00406df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406df8
mov eax, dword [ebp - 0x48]
jmp 0x49ba12
push 0
lea ecx, [ebp - 0x34]
call fcn.00413706
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x34]
call fcn.00420cd9
movzx eax, al
test eax, eax
jne 0x49b8ff
lea ecx, [ebp - 0x34]
call fcn.00401c57
dec eax
push eax
lea ecx, [ebp - 0x34]
call fcn.004283c6
movzx eax, ax
cmp eax, 0x5c
je 0x49b8ff
push 0x4b3304
lea ecx, [ebp - 0x34]
call fcn.00420d08
and dword [ebp - 0x3c], 0
jmp 0x49b90c
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x18]
ja 0x49b9e4
jb 0x49b930
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x1c]
jae 0x49b9e4
lea ecx, [ebp - 0x34]
call fcn.00413706
push eax
push dword [ebp - 0x38]
call fcn.0049b38f
pop ecx
pop ecx
test eax, eax
jne 0x49b977
and dword [ebp - 0x4c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0043df76
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00406df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406df8
mov eax, dword [ebp - 0x4c]
jmp 0x49ba12
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov esi, dword [ebp - 0x18]
sbb esi, 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
ja 0x49b9df
jb 0x49b9a5
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x70]
jae 0x49b9df
push dword [ebp - 0x38]
call fcn.00487d63
pop ecx
test eax, eax
je 0x49b9df
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0043df76
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00406df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406df8
mov eax, dword [ebp - 0x50]
jmp 0x49ba12
jmp 0x49b905
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0043df76
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00406df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00406df8
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret