Function at 0x4197a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54be40
mov eax, dword fs:[0]
push eax
mov eax, 0x1650
call fcn.00533ae0
mov eax, dword [0x60c9c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0xd4a4
mov dword [ebp - 0x1640], ecx
call fcn.00432a1f
add esp, 4
mov dword [ebp - 0x1630], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x419808
mov ecx, eax
call fcn.0042ea30
mov esi, eax
mov dword [ebp - 0x1638], esi
jmp 0x419810
mov dword [ebp - 0x1638], ebx
mov esi, ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x218], ax
call fcn.00531fb0
push edi
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00532f33
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
add esp, 0x18
lea ecx, [ebp - 0x1624]
push ecx
lea edx, [ebp - 0x218]
push edx
mov ecx, esi
call eax
cmp eax, ebx
jne 0x419876
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, 0x643
jmp 0x419b97
lea ecx, [ebp - 0x165c]
call fcn.0043f9a5
mov dword [ebp - 4], 1
call fcn.0043e2f8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4198a2
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x162c], eax
mov byte [ebp - 4], 2
call fcn.0043e2f8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4198d2
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1630], eax
mov byte [ebp - 4], 3
call fcn.0043e2f8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419902
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1628], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x163c], ebx
cmp dword [ebp - 0x141c], ebx
jle 0x419b07
mov ebx, dword [ebp - 0x163c]
mov edx, dword [ebp + ebx*4 - 0x1318]
lea ebx, [ebp + ebx*4 - 0x1318]
test edx, edx
jne 0x419946
xor eax, eax
jmp 0x41995f
mov eax, edx
lea esi, [eax + 2]
jmp 0x419950
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419950
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x162c]
call fcn.00407c10
mov esi, dword [ebp - 0x162c]
push esi
lea ecx, [ebp - 0x1630]
push 0x560070
push ecx
call fcn.004047a0
mov edx, dword [ebp - 0x1630]
add esp, 0xc
push 0
push edx
lea ecx, [ebp - 0x165c]
call fcn.0043fa4c
lea ecx, [ebp - 0x165c]
mov edi, eax
call fcn.0043f52f
test edi, edi
jne 0x4199d4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0xc], edi
je 0x4199d4
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x1628]
push eax
push ecx
mov ecx, dword [ebp - 0x1640]
add ecx, 0xd9b8
call fcn.0042dea0
mov edi, dword [ebp - 0x1628]
lea ebx, [esi - 0x10]
add edi, 0xfffffff0
cmp ebx, edi
je 0x419a2f
cmp dword [edi + 0xc], 0
jl 0x419a1f
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x419a1f
push ebx
call fcn.00402f60
mov esi, eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419a14
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x1628], esi
jmp 0x419a2f
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x1628]
call fcn.00403290
mov ecx, dword [ebx]
test ecx, ecx
je 0x419a40
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x419a4e
call fcn.0043e2f8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x419898
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1634], esi
mov ecx, 0x56006c
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x419a9e
mov edx, ecx
movzx edi, dx
push edi
call fcn.0043e213
test eax, eax
je 0x419ab4
push edi
push eax
lea ecx, [ebp - 0x1634]
call fcn.00403150
jmp 0x419aae
push 0x56006c
lea ecx, [ebp - 0x1634]
call fcn.00403410
mov esi, dword [ebp - 0x1634]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x162c]
mov byte [ebp - 4], 6
call fcn.00407c10
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ae8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x163c]
inc eax
mov dword [ebp - 0x163c], eax
cmp eax, dword [ebp - 0x141c]
jl 0x41992a
mov esi, dword [ebp - 0x1638]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [ebp - 0x1628]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419b37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1630]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419b5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x162c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419b83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x165c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043f9d7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531f97
mov esp, ebp
pop ebp
ret 8