Function at 0x419d60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x459c48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4747c0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
push eax
call fcn.0040c3d0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x3c], 1
call fcn.0042263d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x419dc5
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x3c], 2
call fcn.0042263d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x419df4
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x3c], 3
mov eax, dword [esi - 0xc]
test eax, eax
jg 0x419e15
or esi, 0xffffffff
jmp 0x419e2f
push 0x5c
push esi
call fcn.0044117a
add esp, 8
test eax, eax
jne 0x419e29
or esi, 0xffffffff
jmp 0x419e2f
sub eax, esi
sar eax, 1
mov esi, eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040b8e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0040c110
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419e72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x4c]
call fcn.0040b860
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0040c110
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
jle 0x41a17a
push 0x5c
push ebx
call fcn.0044117a
add esp, 8
test eax, eax
je 0x41a17a
sub eax, ebx
sar eax, 1
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x41a17a
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040b8e0
mov byte [esp + 0x3c], 6
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x419f5c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x419f4e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x419f4e
push eax
call fcn.0040c3d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x419f45
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x1c], ebp
jmp 0x419f5c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0040c320
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419f81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x462944
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0040ba70
add esp, 0xc
mov byte [esp + 0x3c], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x419ff4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x419fe6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x419fe6
push eax
call fcn.0040c3d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x419fdd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x419ff4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c320
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a019
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040c440
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41a05d
cmp eax, dword [esi]
jne 0x41a05d
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41a098
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41a175
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004410ac
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
call fcn.0041a240
add esp, 4
test eax, eax
jne 0x41a0b6
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebx - 0xc]
sub eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
dec eax
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.0040b860
mov byte [esp + 0x3c], 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x41a129
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41a117
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41a117
push eax
call fcn.0040c3d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41a10e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebx, [ebp + 0x10]
mov dword [esp + 0x18], ebx
jmp 0x41a129
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0040c320
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a14e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
jle 0x41a17a
push 0x5c
push ebx
call fcn.0044117a
add esp, 8
test eax, eax
je 0x41a17a
sub eax, ebx
sar eax, 1
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x41a17a
jmp 0x419ef1
call fcn.00401290
mov ecx, dword [esp + 0x44]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebx - 0x10]
mov byte [esp + 0x3c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a1a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a1cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a1f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a21a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret