Function at 0x401cd0
Capabilities:
Create directory

Disassembly:
sub esp, 0x874
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x870], eax
push ebp
mov ebp, dword [esp + 0x884]
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x67a]
push ecx
mov word [esp + 0x67c], ax
call fcn.00403bf0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x47e]
push eax
mov word [esp + 0x480], dx
call fcn.00403bf0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x282]
push edx
mov word [esp + 0x284], cx
call fcn.00403bf0
mov esi, dword [esp + 0x8a4]
lea edx, [esp + 0x694]
add esp, 0x24
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401d60
lea eax, [esp + 0x670]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401d80
mov ecx, dword [0x40d278]
mov edx, dword [0x40d27c]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x674]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x401dd2
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.00403be0
add esp, 0x874
ret
push ebx
lea ebx, [esp + 0x46c]
lea eax, [esp + 0x264]
sub ebx, esi
sub eax, dword [esp + 0x888]
push edi
mov dword [esp + 0x14], eax
jmp 0x401df8
mov esi, dword [esp + 0x888]
push 0x208
lea edx, [esp + 0x474]
push 0
push edx
call fcn.00403bf0
add esp, 0xc
mov eax, esi
movzx ecx, word [eax]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x401e11
lea eax, [esp + 0x44]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401e26
lea edi, [esp + 0x470]
sub eax, esi
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401e40
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x208
lea eax, [esp + 0x26c]
and ecx, 3
push 0
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00403bf0
mov eax, dword [esp + 0x898]
add esp, 0xc
jmp 0x401e80
movzx ecx, word [eax]
mov edx, dword [esp + 0x14]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401e80
lea eax, [esp + 0x44]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401ea0
lea edi, [esp + 0x268]
sub eax, edx
add edi, 0xfffffffe
jmp 0x401ec0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401ec0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [esp + 0x18], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x401fc9
mov ecx, 0x40d200
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401f16
test dx, dx
je 0x401f12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401f16
add eax, 4
add ecx, 4
test dx, dx
jne 0x401ef0
xor eax, eax
jmp 0x401f1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402003
mov ecx, 0x40d1f8
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401f56
test dx, dx
je 0x401f52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401f56
add eax, 4
add ecx, 4
test dx, dx
jne 0x401f30
xor eax, eax
jmp 0x401f5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402003
push 0
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [esp + 0x470]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401f80
mov ecx, dword [0x40d280]
mov dword [edi], ecx
lea edi, [esp + 0x268]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401fa0
mov dword [edi], ecx
push ebp
lea ecx, [esp + 0x26c]
push ecx
lea edx, [esp + 0x478]
push edx
call fcn.00401cd0
add esp, 0xc
jmp 0x402003
mov esi, dword [esp + 0x34]
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x38]
cmp eax, esi
jb 0x40202d
ja 0x401fe1
mov ecx, dword [ebp]
cmp ecx, edi
jb 0x40202d
push 1
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x402003
sub dword [ebp], edi
sbb dword [ebp + 4], esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401df1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x40203a
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0x880]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.00403be0
add esp, 0x874
ret