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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5271
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x10109610]
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.100b33f2
add esp, 4
cmp eax, ebx
je 0x10023071
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.100b33f2
add esp, 4
cmp eax, ebx
je 0x1002303e
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.10006760
mov ecx, 0x100dcd70
call fcn.10006b20
mov eax, dword [ebp + 8]
add esp, 4
cmp dword [ebp + 0x1c], edi
jae 0x1002200a
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 0x10022020
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10022020
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.10001b30
mov edx, esi
push edx
lea eax, [ebp - 0x344]
push eax
mov byte [ebp - 4], 6
call fcn.10025210
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x10022060
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2e51
add esp, 4
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], edi
jae 0x1002206b
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 0x10022080
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.10001b30
mov eax, esi
push eax
lea ecx, [ebp - 0x35c]
push ecx
mov byte [ebp - 4], 7
call fcn.10025210
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], edi
jb 0x100220c0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2e51
add esp, 4
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], edi
jae 0x100220cb
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 0x100220e0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.10001b30
lea edx, [ebp - 0x374]
push edx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.10004e10
cmp dword [ebp - 0x18], edi
jb 0x1002211b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2e51
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 0x10022ab1
lea eax, [ebp - 0x3c4]
lea edx, [ebp - 0x344]
call fcn.100acf30
mov esi, eax
lea eax, [ebp - 0x3b8]
call fcn.100255b0
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x10022179
xor ecx, ecx
jmp 0x1002217b
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x10022187
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.100017f0
lea eax, [ebp - 0x3d0]
lea edx, [ebp - 0x35c]
call fcn.100acf30
mov esi, eax
lea eax, [ebp - 0x3ac]
call fcn.100255b0
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x100221c5
xor ecx, ecx
jmp 0x100221c7
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x100221d3
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.100017f0
push 0x100dc9f4
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.1001b600
add esp, 0xc
push eax
mov edx, 0x100e3f60
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.10001fd0
add esp, 4
mov esi, eax
lea edx, [ebp - 0x64]
cmp edx, esi
je 0x1002227f
cmp dword [ebp - 0x50], 8
jb 0x10022231
mov eax, dword [ebp - 0x64]
push eax
call fcn.100b2e51
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 0x1002225f
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.100b3000
add esp, 0xc
jmp 0x10022266
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 0x10022284
mov edi, 7
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x1002229a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2e51
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 0x100222c1
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.100b2e51
add esp, 4
mov eax, dword [ebp - 0x334]
cmp eax, ebx
je 0x10022314
mov edx, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x33c]
lea eax, [eax + edx - 1]
cmp ecx, eax
ja 0x100222e1
sub eax, ecx
mov ecx, dword [ebp - 0x340]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 0x14], 8
jb 0x100222fb
mov eax, dword [esi]
push eax
call fcn.100b2e51
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 0x10022314
mov dword [ebp - 0x338], ebx
mov eax, dword [ebp - 0x34c]
cmp eax, ebx
je 0x10022367
mov ecx, dword [ebp - 0x350]
lea eax, [eax + ecx - 1]
mov ecx, dword [ebp - 0x354]
cmp ecx, eax
ja 0x10022334
sub eax, ecx
mov edx, dword [ebp - 0x358]
mov esi, dword [edx + eax*4]
cmp dword [esi + 0x14], 8
jb 0x1002234e
mov eax, dword [esi]
push eax
call fcn.100b2e51
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 0x10022367
mov dword [ebp - 0x350], ebx
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x10022373
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 0x10022b91
mov ecx, 0x100e3f64
lea eax, [ebp - 0x2fc]
jmp 0x100223a0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100223c6
cmp dx, bx
je 0x100223c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100223c6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100223a0
xor eax, eax
jmp 0x100223cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10022a59
mov ecx, 0x100e3f68
lea eax, [ebp - 0x2fc]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10022406
cmp dx, bx
je 0x10022402
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10022406
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100223e0
xor eax, eax
jmp 0x1002240b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10022a59
test byte [ebp - 0x328], 0x10
push 0x100dc9f4
je 0x100227dd
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.1001b600
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.10001fd0
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 0x1002247a
lea edx, [ebp - 0x344]
push edx
call fcn.10025460
mov eax, dword [ebp - 0x33c]
mov esi, dword [ebp - 0x334]
add esi, dword [ebp - 0x338]
cmp eax, esi
ja 0x1002248c
sub esi, eax
mov eax, dword [ebp - 0x340]
cmp dword [eax + esi*4], ebx
jne 0x100224b2
push 0x1c
call fcn.100b33f2
add esp, 4
cmp eax, ebx
je 0x10022cad
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 0x1002252d
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
cmp esi, edi
je 0x1002252d
cmp dword [esi + 0x14], 8
jb 0x100224e3
mov eax, dword [esi]
push eax
call fcn.100b2e51
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 0x1002250c
mov eax, dword [edi + 0x10]
lea edx, [eax + eax + 2]
push edx
push edi
push esi
call fcn.100b3000
add esp, 0xc
jmp 0x10022512
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 0x10022545
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2e51
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 0x10022571
mov eax, dword [ebp - 0xb8]
push eax
call fcn.100b2e51
add esp, 4
push 0x100dc9f4
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.1001b600
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.10001fd0
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 0x100225c8
lea edx, [ebp - 0x35c]
push edx
call fcn.10025460
mov eax, dword [ebp - 0x354]
mov esi, dword [ebp - 0x34c]
add esi, dword [ebp - 0x350]
cmp eax, esi
ja 0x100225da
sub esi, eax
mov eax, dword [ebp - 0x358]
cmp dword [eax + esi*4], ebx
jne 0x10022600
push 0x1c
call fcn.100b33f2
add esp, 4
cmp eax, ebx
je 0x10022ce0
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 0x1002267b
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
cmp esi, edi
je 0x1002267b
cmp dword [esi + 0x14], 8
jb 0x10022631
mov eax, dword [esi]
push eax
call fcn.100b2e51
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 0x1002265a
mov eax, dword [edi + 0x10]
lea edx, [eax + eax + 2]
push edx
push edi
push esi
call fcn.100b3000
add esp, 0xc
jmp 0x10022660
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 0x10022693
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2e51
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 0x100226bf
mov eax, dword [ebp - 0xb8]
push eax
call fcn.100b2e51
add esp, 4
push 0x100dc9f4
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.1001b600
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x13
call fcn.10001fd0
add esp, 4
mov edi, 8
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x18], edi
jb 0x10022704
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2e51
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 0x1002271f
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 0x10022775
cmp eax, 5
jne 0x10022775
cmp dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x48]
jae 0x1002273f
lea edi, [ebp - 0x48]
call fcn.1002ccc0
cmp al, bl
je 0x10022d13
push edi
call fcn.10006760
mov ecx, str.ACQUIRED_PERMISSION:_for_folder_file__s
call fcn.10006de0
mov eax, dword [ebp - 0x48]
add esp, 4
cmp dword [ebp - 0x34], 8
jae 0x1002276b
lea eax, [ebp - 0x48]
push ebx
push eax
push ebx
call esi
mov edi, 8
cmp eax, ebx
je 0x10022789
cmp eax, 0xb7
je 0x10022789
cmp eax, 0x50
jne 0x10022d18
cmp dword [ebp - 0x38], ebx
je 0x100227c6
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x1002279a
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 0x100227c6
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 0x10022a59
mov edx, dword [ebp - 0x48]
push edx
jmp 0x10022a51
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.1001b600
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.10001fd0
add esp, 4
mov esi, 8
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0xc0], esi
jb 0x10022829
mov edx, dword [ebp - 0xd4]
push edx
call fcn.100b2e51
add esp, 4
push 0x100dc9f4
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.1001b600
add esp, 0xc
push eax
lea edx, [ebp - 0x2fc]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x19
call fcn.10001fd0
add esp, 4
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0xa4], esi
jb 0x1002288c
mov eax, dword [ebp - 0xb8]
push eax
call fcn.100b2e51
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 0x100228ac
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x100228b7
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 0x1002293e
cmp byte [ebp + 0x44], bl
je 0x10022e82
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x10022e82
cmp dword [ebp - 0x34], 8
mov edi, dword [ebp - 0x48]
jae 0x100228ed
lea edi, [ebp - 0x48]
call fcn.1002ccc0
cmp al, bl
je 0x10022e82
push edi
call fcn.10006760
mov ecx, str.ACQUIRED_PERMISSION:_for_folder_file__s
call fcn.10006de0
mov ecx, dword [ebp - 0x48]
mov eax, 8
add esp, 4
cmp dword [ebp - 0x34], eax
jae 0x1002291d
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
jae 0x10022928
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 0x10022e82
lea eax, [ebp - 0x48]
call fcn.1002c540
cmp dword [ebp - 0x364], ebx
je 0x10022a0b
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 0x10022a05
mov edx, dword [eax + 0xd4]
mov eax, dword [eax + 0xd0]
push ebx
push 0x64
push edx
push eax
call fcn.100bc8d0
push edi
push esi
push edx
push eax
call fcn.100bb820
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 0x10022a0b
fld dword [ebp - 0x32c]
push ecx
fstp dword [esp]
call eax
add esp, 4
jmp 0x10022a0b
mov byte [eax + 0xdc], bl
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x10022a1b
lea eax, [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x34], esi
jb 0x10022a34
mov edx, dword [ebp - 0x48]
push edx
call fcn.100b2e51
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 0x10022a59
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2e51
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 0x10022390
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
jne 0x10022f39
mov ecx, dword [ebp - 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x334], ebx
jne 0x10022151
cmp dword [ebp - 0x6c], 8
jb 0x10022ab1
mov eax, dword [ebp - 0x80]
push eax
call fcn.100b2e51
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 0x10022ada
mov edx, dword [ebp - 0x9c]
push edx
call fcn.100b2e51
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.10019990
lea esi, [ebp - 0x35c]
call fcn.100253c0
mov ecx, dword [ebp - 0x35c]
push ecx
call fcn.100b2e51
add esp, 4
lea esi, [ebp - 0x344]
mov dword [ebp - 0x35c], ebx
call fcn.100253c0
mov edx, dword [ebp - 0x344]
push edx
call fcn.100b2e51
mov esi, 8
add esp, 4
mov dword [ebp - 0x344], ebx
cmp dword [ebp - 0x50], esi
jb 0x10022b50
mov eax, dword [ebp - 0x64]
push eax
call fcn.100b2e51
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 0x10022b6d
mov edx, dword [ebp + 8]
push edx
call fcn.100b2e51
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 0x10022b8a
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.100b2e51
add esp, 4
mov al, 1
jmp 0x10022e66
push str.Failed_to_get_handle_n
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006b80
mov esi, 8
add esp, 4
cmp dword [ebp - 0x6c], esi
jb 0x10022bbe
mov edx, dword [ebp - 0x80]
push edx
call fcn.100b2e51
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 0x10022be1
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.100b2e51
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 0x10022c1b
mov edi, dword [ebp - 0x370]
mov eax, esi
call fcn.10005e00
push esi
call fcn.100b2e51
add esp, 4
mov edi, 7
lea esi, [ebp - 0x35c]
call fcn.100253c0
mov eax, dword [ebp - 0x35c]
push eax
call fcn.100b2e51
add esp, 4
lea esi, [ebp - 0x344]
mov dword [ebp - 0x35c], ebx
call fcn.100253c0
mov ecx, dword [ebp - 0x344]
push ecx
call fcn.100b2e51
add esp, 4
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x344], ebx
jb 0x10022c6d
mov edx, dword [ebp - 0x64]
push edx
call fcn.100b2e51
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 0x10022c8f
mov ecx, dword [ebp + 8]
push ecx
call fcn.100b2e51
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 0x10022e64
mov eax, dword [ebp + 0x24]
push eax
jmp 0x10022e5c
mov dword [ebp - 0x32c], ebx
lea ecx, [ebp - 0x32c]
push ecx
lea ecx, [ebp - 0x380]
call fcn.100b2f04
push 0x10100900
lea edx, [ebp - 0x380]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.100b6335
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x38c]
mov dword [ebp - 0x32c], ebx
call fcn.100b2f04
push 0x10100900
lea ecx, [ebp - 0x38c]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.100b6335
mov edi, 8
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x10022d23
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.10006760
mov ecx, 0x100dcd14
call fcn.10006e40
add esp, 0xc
cmp dword [ebp - 0x34], edi
jb 0x10022d53
mov edx, dword [ebp - 0x48]
push edx
call fcn.100b2e51
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 0x10022d75
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100b2e51
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 0x10022d98
mov eax, dword [ebp - 0x9c]
push eax
call fcn.100b2e51
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 0x10022dd4
mov edi, dword [ebp - 0x370]
mov eax, esi
call fcn.10005e00
push esi
call fcn.100b2e51
add esp, 4
mov edi, 7
lea esi, [ebp - 0x35c]
call fcn.100253c0
mov edx, dword [ebp - 0x35c]
push edx
call fcn.100b2e51
add esp, 4
lea esi, [ebp - 0x344]
mov dword [ebp - 0x35c], ebx
call fcn.100253c0
mov eax, dword [ebp - 0x344]
push eax
call fcn.100b2e51
mov esi, 8
add esp, 4
mov dword [ebp - 0x344], ebx
cmp dword [ebp - 0x50], esi
jb 0x10022e2a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100b2e51
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 0x10022e47
mov eax, dword [ebp + 8]
push eax
call fcn.100b2e51
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 0x10022e64
mov edx, dword [ebp + 0x24]
push edx
call fcn.100b2e51
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.100b2e5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x10022e92
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x10022e9d
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.10006760
mov ecx, 0x100dcd14
call fcn.10006e40
add esp, 0x10
cmp dword [ebp - 0x34], esi
jb 0x10022ece
mov eax, dword [ebp - 0x48]
push eax
call fcn.100b2e51
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 0x10022ef0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2e51
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 0x10022f0d
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100b2e51
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 0x10022d9a
mov eax, dword [ebp - 0x9c]
push eax
call fcn.100b2e51
add esp, 4
jmp 0x10022d9a
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.10006760
mov ecx, 0x100dcd70
call fcn.10006b80
mov edi, 8
add esp, 8
cmp dword [ebp - 0x6c], edi
jb 0x10022f76
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100b2e51
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 0x10022f9e
mov eax, dword [ebp - 0x9c]
push eax
call fcn.100b2e51
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.10019990
lea esi, [ebp - 0x35c]
call fcn.100253c0
mov edx, dword [ebp - 0x35c]
push edx
call fcn.100b2e51
add esp, 4
lea esi, [ebp - 0x344]
mov dword [ebp - 0x35c], ebx
call fcn.100253c0
mov eax, dword [ebp - 0x344]
push eax
call fcn.100b2e51
add esp, 4
mov dword [ebp - 0x344], ebx
cmp dword [ebp - 0x50], edi
jb 0x1002300f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100b2e51
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 0x10023031
mov eax, dword [ebp + 8]
push eax
call fcn.100b2e51
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x38], edi
mov dword [ebp + 0x1c], esi
jmp 0x10022e4f
lea edx, [ebp - 0x32c]
push edx
lea ecx, [ebp - 0x38c]
mov dword [ebp - 0x32c], ebx
call fcn.100b2f04
push 0x10100900
lea eax, [ebp - 0x38c]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.100b6335
mov dword [ebp - 0x360], ebx
lea ecx, [ebp - 0x360]
jmp 0x10022cb9