Function at 0x10020260
Capabilities:
Copy file
Create directory
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1b01
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x10104610]
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 eax, dword [ebp + 0x40]
mov dword [ebp - 0x364], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov edi, 8
mov byte [ebp - 4], 2
push edi
mov dword [ebp - 0x344], ebx
call fcn.100affa5
add esp, 4
cmp eax, ebx
je 0x100213f1
mov dword [ebp - 0x344], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x344]
lea edx, [ebp - 0x344]
mov dword [eax], edx
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x334], ebx
mov byte [ebp - 4], 3
push edi
mov dword [ebp - 0x35c], ebx
call fcn.100affa5
add esp, 4
cmp eax, ebx
je 0x100213be
mov dword [ebp - 0x35c], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x35c]
lea ecx, [ebp - 0x35c]
mov dword [edx], ecx
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x350], ebx
mov dword [ebp - 0x34c], ebx
mov dword [ebp - 0x374], ebx
mov dword [ebp - 0x370], ebx
mov dword [ebp - 0x36c], ebx
push str.Function_:copyPrimitive_n
mov byte [ebp - 4], 5
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006ac0
mov eax, dword [ebp + 8]
add esp, 4
cmp dword [ebp + 0x1c], edi
jae 0x1002038a
lea eax, [ebp + 8]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 2]
jmp 0x100203a0
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x100203a0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.10001b60
mov edx, esi
push edx
lea eax, [ebp - 0x344]
push eax
mov byte [ebp - 4], 6
call fcn.10023590
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x100203e0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100afa01
add esp, 4
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], edi
jae 0x100203eb
lea eax, [ebp + 0x24]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10020400
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.10001b60
mov eax, esi
push eax
lea ecx, [ebp - 0x35c]
push ecx
mov byte [ebp - 4], 7
call fcn.10023590
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x10020440
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100afa01
add esp, 4
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], edi
jae 0x1002044b
lea eax, [ebp + 0x24]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10020460
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.10001b60
lea edx, [ebp - 0x374]
push edx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.10004e90
cmp dword [ebp - 0x18], edi
jb 0x1002049b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100afa01
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
xor edx, edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x334], ebx
je 0x10020e31
lea eax, [ebp - 0x3c4]
lea edx, [ebp - 0x344]
call fcn.100a9a40
mov esi, eax
lea eax, [ebp - 0x3b8]
call fcn.10023930
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x100204f9
xor ecx, ecx
jmp 0x100204fb
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x10020507
sub eax, edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
push ebx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.10001820
lea eax, [ebp - 0x3d0]
lea edx, [ebp - 0x35c]
call fcn.100a9a40
mov esi, eax
lea eax, [ebp - 0x3ac]
call fcn.10023930
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x10020545
xor ecx, ecx
jmp 0x10020547
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x10020553
sub eax, edx
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax*4]
push ebx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.10001820
push 0x100d99f4
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10019800
add esp, 0xc
push eax
mov edx, 0x100e0538
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.10002000
add esp, 4
mov esi, eax
lea edx, [ebp - 0x64]
cmp edx, esi
je 0x100205ff
cmp dword [ebp - 0x50], 8
jb 0x100205b1
mov eax, dword [ebp - 0x64]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [esi + 0x14], 8
jae 0x100205df
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.100afbb0
add esp, 0xc
jmp 0x100205e6
mov ecx, dword [esi]
mov dword [ebp - 0x64], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x54], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], cx
jmp 0x10020604
mov edi, 7
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x1002061a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0xa4], esi
jb 0x10020641
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.100afa01
add esp, 4
mov eax, dword [ebp - 0x334]
cmp eax, ebx
je 0x10020694
mov edx, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x33c]
lea eax, [eax + edx - 1]
cmp ecx, eax
ja 0x10020661
sub eax, ecx
mov ecx, dword [ebp - 0x340]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 0x14], 8
jb 0x1002067b
mov eax, dword [esi]
push eax
call fcn.100afa01
add esp, 4
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], dx
dec dword [ebp - 0x334]
jne 0x10020694
mov dword [ebp - 0x338], ebx
mov eax, dword [ebp - 0x34c]
cmp eax, ebx
je 0x100206e7
mov ecx, dword [ebp - 0x350]
lea eax, [eax + ecx - 1]
mov ecx, dword [ebp - 0x354]
cmp ecx, eax
ja 0x100206b4
sub eax, ecx
mov edx, dword [ebp - 0x358]
mov esi, dword [edx + eax*4]
cmp dword [esi + 0x14], 8
jb 0x100206ce
mov eax, dword [esi]
push eax
call fcn.100afa01
add esp, 4
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], ax
dec dword [ebp - 0x34c]
jne 0x100206e7
mov dword [ebp - 0x350], ebx
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x100206f3
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x328]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x360], eax
cmp eax, 0xffffffff
je 0x10020f11
mov ecx, 0x100e053c
lea eax, [ebp - 0x2fc]
jmp 0x10020720
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10020746
cmp dx, bx
je 0x10020742
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10020746
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10020720
xor eax, eax
jmp 0x1002074b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10020dd9
mov ecx, 0x100e0540
lea eax, [ebp - 0x2fc]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10020786
cmp dx, bx
je 0x10020782
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10020786
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10020760
xor eax, eax
jmp 0x1002078b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10020dd9
test byte [ebp - 0x328], 0x10
push 0x100d99f4
je 0x10020b5d
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.10019800
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.10002000
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x334]
mov eax, dword [ebp - 0x33c]
inc ecx
cmp eax, ecx
ja 0x100207fa
lea edx, [ebp - 0x344]
push edx
call fcn.100237e0
mov eax, dword [ebp - 0x33c]
mov esi, dword [ebp - 0x334]
add esi, dword [ebp - 0x338]
cmp eax, esi
ja 0x1002080c
sub esi, eax
mov eax, dword [ebp - 0x340]
cmp dword [eax + esi*4], ebx
jne 0x10020832
push 0x1c
call fcn.100affa5
add esp, 4
cmp eax, ebx
je 0x1002102d
mov ecx, dword [ebp - 0x340]
mov dword [ecx + esi*4], eax
mov edx, dword [ebp - 0x340]
mov esi, dword [edx + esi*4]
cmp esi, ebx
je 0x100208ad
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
cmp esi, edi
je 0x100208ad
cmp dword [esi + 0x14], 8
jb 0x10020863
mov eax, dword [esi]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
cmp dword [edi + 0x14], 8
jae 0x1002088c
mov eax, dword [edi + 0x10]
lea edx, [eax + eax + 2]
push edx
push edi
push esi
call fcn.100afbb0
add esp, 0xc
jmp 0x10020892
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ebx
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
inc dword [ebp - 0x334]
cmp dword [ebp - 0x18], 8
jb 0x100208c5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
jb 0x100208f1
mov eax, dword [ebp - 0xb8]
push eax
call fcn.100afa01
add esp, 4
push 0x100d99f4
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.10019800
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.10002000
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x354]
inc ecx
cmp eax, ecx
ja 0x10020948
lea edx, [ebp - 0x35c]
push edx
call fcn.100237e0
mov eax, dword [ebp - 0x354]
mov esi, dword [ebp - 0x34c]
add esi, dword [ebp - 0x350]
cmp eax, esi
ja 0x1002095a
sub esi, eax
mov eax, dword [ebp - 0x358]
cmp dword [eax + esi*4], ebx
jne 0x10020980
push 0x1c
call fcn.100affa5
add esp, 4
cmp eax, ebx
je 0x10021060
mov ecx, dword [ebp - 0x358]
mov dword [ecx + esi*4], eax
mov edx, dword [ebp - 0x358]
mov esi, dword [edx + esi*4]
cmp esi, ebx
je 0x100209fb
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
cmp esi, edi
je 0x100209fb
cmp dword [esi + 0x14], 8
jb 0x100209b1
mov eax, dword [esi]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
cmp dword [edi + 0x14], 8
jae 0x100209da
mov eax, dword [edi + 0x10]
lea edx, [eax + eax + 2]
push edx
push edi
push esi
call fcn.100afbb0
add esp, 0xc
jmp 0x100209e0
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ebx
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
inc dword [ebp - 0x34c]
cmp dword [ebp - 0x18], 8
jb 0x10020a13
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
jb 0x10020a3f
mov eax, dword [ebp - 0xb8]
push eax
call fcn.100afa01
add esp, 4
push 0x100d99f4
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.10019800
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x13
call fcn.10002000
add esp, 4
mov edi, 8
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x18], edi
jb 0x10020a84
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100afa01
add esp, 4
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jae 0x10020a9f
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push ebx
push eax
push ebx
call esi
cmp byte [ebp + 0x44], bl
je 0x10020af5
cmp eax, 5
jne 0x10020af5
cmp dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x48]
jae 0x10020abf
lea edi, [ebp - 0x48]
call fcn.1002a8f0
cmp al, bl
je 0x10021093
push edi
call fcn.10006700
mov ecx, str.ACQUIRED_PERMISSION:_for_folder_file__s
call fcn.10006d80
mov eax, dword [ebp - 0x48]
add esp, 4
cmp dword [ebp - 0x34], 8
jae 0x10020aeb
lea eax, [ebp - 0x48]
push ebx
push eax
push ebx
call esi
mov edi, 8
cmp eax, ebx
je 0x10020b09
cmp eax, 0xb7
je 0x10020b09
cmp eax, 0x50
jne 0x10021098
cmp dword [ebp - 0x38], ebx
je 0x10020b46
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x10020b1a
lea eax, [ebp - 0x48]
push ebx
push 0xa0000080
push 4
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10020b46
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], 8
jb 0x10020dd9
mov edx, dword [ebp - 0x48]
push edx
jmp 0x10020dd1
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.10019800
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.10002000
add esp, 4
mov esi, 8
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0xc0], esi
jb 0x10020ba9
mov edx, dword [ebp - 0xd4]
push edx
call fcn.100afa01
add esp, 4
push 0x100d99f4
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xb8]
xor eax, eax
mov edi, 7
push edx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], ax
call fcn.10019800
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x19
call fcn.10002000
add esp, 4
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0xa4], esi
jb 0x10020c0c
mov eax, dword [ebp - 0xb8]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
mov word [ebp - 0xb8], cx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
cmp dword [ebp - 0x34], esi
jae 0x10020c2c
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x10020c37
lea eax, [ebp - 0x2c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
cmp al, bl
jne 0x10020cbe
cmp byte [ebp + 0x44], bl
je 0x10021202
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x10021202
cmp dword [ebp - 0x34], 8
mov edi, dword [ebp - 0x48]
jae 0x10020c6d
lea edi, [ebp - 0x48]
call fcn.1002a8f0
cmp al, bl
je 0x10021202
push edi
call fcn.10006700
mov ecx, str.ACQUIRED_PERMISSION:_for_folder_file__s
call fcn.10006d80
mov ecx, dword [ebp - 0x48]
mov eax, 8
add esp, 4
cmp dword [ebp - 0x34], eax
jae 0x10020c9d
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
jae 0x10020ca8
lea eax, [ebp - 0x2c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
cmp al, bl
je 0x10021202
lea eax, [ebp - 0x48]
call fcn.1002a170
cmp dword [ebp - 0x364], ebx
je 0x10020d8b
mov edx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0x364]
mov edi, dword [eax + 0xcc]
xor ecx, ecx
xor esi, esi
neg edx
add edx, dword [ebp - 0x308]
adc ecx, esi
add dword [eax + 0xd0], edx
mov esi, dword [eax + 0xc8]
adc dword [eax + 0xd4], ecx
mov ecx, esi
or ecx, edi
je 0x10020d85
mov edx, dword [eax + 0xd4]
mov eax, dword [eax + 0xd0]
push ebx
push 0x64
push edx
push eax
call fcn.100b9340
push edi
push esi
push edx
push eax
call fcn.100b8320
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x398], eax
mov eax, edx
and edx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x394], edx
fild qword [ebp - 0x398]
mov dword [ebp - 0x39c], eax
mov eax, dword [ecx + 0xd8]
mov dword [ebp - 0x3a0], ebx
fild qword [ebp - 0x3a0]
fchs
faddp st(1)
fstp dword [ebp - 0x32c]
cmp eax, ebx
je 0x10020d8b
fld dword [ebp - 0x32c]
push ecx
fstp dword [esp]
call eax
add esp, 4
jmp 0x10020d8b
mov byte [eax + 0xdc], bl
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x10020d9b
lea eax, [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x34], esi
jb 0x10020db4
mov edx, dword [ebp - 0x48]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x10020dd9
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100afa01
add esp, 4
mov eax, dword [ebp - 0x360]
lea edx, [ebp - 0x328]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10020710
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
jne 0x100212b9
mov ecx, dword [ebp - 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x334], ebx
jne 0x100204d1
cmp dword [ebp - 0x6c], 8
jb 0x10020e31
mov eax, dword [ebp - 0x80]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x88], 8
mov edi, 7
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
jb 0x10020e5a
mov edx, dword [ebp - 0x9c]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
lea esi, [ebp - 0x374]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
call fcn.100180e0
lea esi, [ebp - 0x35c]
call fcn.10023740
mov ecx, dword [ebp - 0x35c]
push ecx
call fcn.100afa01
add esp, 4
lea esi, [ebp - 0x344]
mov dword [ebp - 0x35c], ebx
call fcn.10023740
mov edx, dword [ebp - 0x344]
push edx
call fcn.100afa01
mov esi, 8
add esp, 4
mov dword [ebp - 0x344], ebx
cmp dword [ebp - 0x50], esi
jb 0x10020ed0
mov eax, dword [ebp - 0x64]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp + 0x1c], esi
jb 0x10020eed
mov edx, dword [ebp + 8]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], ax
cmp dword [ebp + 0x38], esi
jb 0x10020f0a
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.100afa01
add esp, 4
mov al, 1
jmp 0x100211e6
push str.Failed_to_get_handle_n
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
mov esi, 8
add esp, 4
cmp dword [ebp - 0x6c], esi
jb 0x10020f3e
mov edx, dword [ebp - 0x80]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x88], esi
jb 0x10020f61
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.100afa01
add esp, 4
mov esi, dword [ebp - 0x374]
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp esi, ebx
je 0x10020f9b
mov edi, dword [ebp - 0x370]
mov eax, esi
call fcn.10005e80
push esi
call fcn.100afa01
add esp, 4
mov edi, 7
lea esi, [ebp - 0x35c]
call fcn.10023740
mov eax, dword [ebp - 0x35c]
push eax
call fcn.100afa01
add esp, 4
lea esi, [ebp - 0x344]
mov dword [ebp - 0x35c], ebx
call fcn.10023740
mov ecx, dword [ebp - 0x344]
push ecx
call fcn.100afa01
add esp, 4
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x344], ebx
jb 0x10020fed
mov edx, dword [ebp - 0x64]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
mov esi, 8
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp + 0x1c], esi
jb 0x1002100f
mov ecx, dword [ebp + 8]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], dx
cmp dword [ebp + 0x38], esi
jb 0x100211e4
mov eax, dword [ebp + 0x24]
push eax
jmp 0x100211dc
mov dword [ebp - 0x32c], ebx
lea ecx, [ebp - 0x32c]
push ecx
lea ecx, [ebp - 0x380]
call fcn.100afab4
push 0x100fc728
lea edx, [ebp - 0x380]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.100b2edf
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x38c]
mov dword [ebp - 0x32c], ebx
call fcn.100afab4
push 0x100fc728
lea ecx, [ebp - 0x38c]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.100b2edf
mov edi, 8
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x100210a3
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_folder_error_:_d_path_:_ls
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006de0
add esp, 0xc
cmp dword [ebp - 0x34], edi
jb 0x100210d3
mov edx, dword [ebp - 0x48]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], edi
jb 0x100210f5
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], edi
jb 0x10021118
mov eax, dword [ebp - 0x9c]
push eax
call fcn.100afa01
add esp, 4
mov edi, esi
mov esi, dword [ebp - 0x374]
xor ecx, ecx
mov word [ebp - 0x9c], cx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], edi
cmp esi, ebx
je 0x10021154
mov edi, dword [ebp - 0x370]
mov eax, esi
call fcn.10005e80
push esi
call fcn.100afa01
add esp, 4
mov edi, 7
lea esi, [ebp - 0x35c]
call fcn.10023740
mov edx, dword [ebp - 0x35c]
push edx
call fcn.100afa01
add esp, 4
lea esi, [ebp - 0x344]
mov dword [ebp - 0x35c], ebx
call fcn.10023740
mov eax, dword [ebp - 0x344]
push eax
call fcn.100afa01
mov esi, 8
add esp, 4
mov dword [ebp - 0x344], ebx
cmp dword [ebp - 0x50], esi
jb 0x100211aa
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp + 0x1c], esi
jb 0x100211c7
mov eax, dword [ebp + 8]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x38], esi
mov dword [ebp + 0x1c], edi
mov word [ebp + 8], cx
mov dword [ebp + 0x18], ebx
jb 0x100211e4
mov edx, dword [ebp + 0x24]
push edx
call fcn.100afa01
add esp, 4
xor al, al
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.100afa0c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x10021212
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1002121d
lea eax, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CopyFile._LastError___d_srcpath_:__ls_destPath:__ls
call fcn.10006700
mov ecx, 0x100d9d14
call fcn.10006de0
add esp, 0x10
cmp dword [ebp - 0x34], esi
jb 0x1002124e
mov eax, dword [ebp - 0x48]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x10021270
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x6c], esi
jb 0x1002128d
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], esi
jb 0x1002111a
mov eax, dword [ebp - 0x9c]
push eax
call fcn.100afa01
add esp, 4
jmp 0x1002111a
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call esi
push eax
push str.Error_Occured_:_d_n
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
mov edi, 8
add esp, 8
cmp dword [ebp - 0x6c], edi
jb 0x100212f6
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], edi
jb 0x1002131e
mov eax, dword [ebp - 0x9c]
push eax
call fcn.100afa01
add esp, 4
mov dword [ebp - 0x88], esi
xor ecx, ecx
lea esi, [ebp - 0x374]
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
call fcn.100180e0
lea esi, [ebp - 0x35c]
call fcn.10023740
mov edx, dword [ebp - 0x35c]
push edx
call fcn.100afa01
add esp, 4
lea esi, [ebp - 0x344]
mov dword [ebp - 0x35c], ebx
call fcn.10023740
mov eax, dword [ebp - 0x344]
push eax
call fcn.100afa01
add esp, 4
mov dword [ebp - 0x344], ebx
cmp dword [ebp - 0x50], edi
jb 0x1002138f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100afa01
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp + 0x1c], edi
jb 0x100213b1
mov eax, dword [ebp + 8]
push eax
call fcn.100afa01
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x38], edi
mov dword [ebp + 0x1c], esi
jmp 0x100211cf
lea edx, [ebp - 0x32c]
push edx
lea ecx, [ebp - 0x38c]
mov dword [ebp - 0x32c], ebx
call fcn.100afab4
push 0x100fc728
lea eax, [ebp - 0x38c]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.100b2edf
mov dword [ebp - 0x360], ebx
lea ecx, [ebp - 0x360]
jmp 0x10021039