Function at 0x26a2230
Capabilities:
Create directory
Resolve function by parsing pe exports
Set file attributes

Disassembly:
mov eax, 0x4560
call fcn.026bf8a0
mov eax, dword [0x26d8160]
xor eax, esp
mov dword [esp + 0x455c], eax
mov eax, dword [esp + 0x4564]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x206
mov esi, edx
mov edi, ecx
lea edx, [esp + 0x415e]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4164], cx
call fcn.026b21f0
add esp, 0xc
push 0x206
lea ecx, [esp + 0x4366]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x436c], ax
call fcn.026b21f0
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
mov ebp, 1
push ebp
push 0x80000000
push esi
mov dword [esp + 0x5c], 0x26a2cf0
mov dword [esp + 0x60], 0x26a2d10
mov dword [esp + 0x78], 0x26a2cf0
mov dword [esp + 0x7c], 0x26a2d10
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x6c], eax
cmp eax, 0xffffffff
jne 0x26a22fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x26a22fb
lea eax, [ebx + 0xb]
jmp 0x26a2aa1
lea edx, [esp + 0x64]
mov dword [esp + 0x64], 0x26a2c50
mov dword [esp + 0x68], 0x26a2c80
mov dword [esp + 0xf0], 0x26a5870
mov dword [esp + 0xf4], 0x26a58d0
mov dword [esp + 0xf8], 0x26a58e0
mov dword [esp + 0xfc], 0x26a5940
mov dword [esp + 0x100], edx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], ebx
call fcn.026a5960
lea eax, [esp + 0x70]
call fcn.026a2e60
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x64]
lea ecx, [esp + 0x48]
call fcn.026a5280
add esp, 8
cmp eax, ebx
je 0x26a2391
lea eax, [esp + 0x40]
lea ecx, [esp + 0x70]
call fcn.026a2ec0
jmp 0x26a2a9f
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov ecx, 0x26d2bd0
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x26a23c4
cmp dl, bl
je 0x26a23c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x26a23c4
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x26a23a4
xor eax, eax
jmp 0x26a23c9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x26a23d6
mov dword [esp + 0x2c], ebp
jmp 0x26a2477
mov ecx, 0x26d2bd4
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x26a2400
cmp dl, bl
je 0x26a23fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x26a2400
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x26a23e0
xor eax, eax
jmp 0x26a2405
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x26a240f
mov dword [esp + 0x3c], ebp
jmp 0x26a2477
mov ecx, 0x26d2bc0
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x26a2436
cmp dl, bl
je 0x26a2432
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x26a2436
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x26a2416
xor eax, eax
jmp 0x26a243b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x26a2477
mov ecx, 0x26d2694
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x26a2466
cmp dl, bl
je 0x26a2462
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x26a2466
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x26a2446
xor eax, eax
jmp 0x26a246b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x26a2a9f
mov dword [esp + 0x30], ebp
xor ebp, ebp
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x20], ebp
cmp dword [esp + 0xb0], ebx
jbe 0x26a2a8e
lea ebx, [ebx]
mov ecx, ebp
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, dword [esp + 0xb8]
mov eax, ebp
shr eax, 3
test byte [eax + ecx], dl
mov dword [esp + 0x38], eax
mov eax, ebx
setne al
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x2c], ebx
jne 0x26a24e8
cmp eax, ebx
je 0x26a24e8
cmp dword [esp + 0x30], ebx
je 0x26a2a5a
mov ecx, dword [esp + 0xe4]
mov esi, dword [ecx + ebp*4 + 4]
sub esi, dword [ecx + ebp*4]
lea eax, [ecx + ebp*4 + 4]
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x50]
jbe 0x26a2539
mov edx, dword [esp + 0x14]
push edx
call fcn.026ae138
lea eax, [esi + esi]
add esp, 4
mov dword [esp + 0x50], esi
cmp eax, ebx
je 0x26a2a8e
push eax
call fcn.026ae06e
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x26a2a8e
jmp 0x26a253d
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ebp*4]
mov ecx, dword [ecx]
sub ecx, eax
cmp edi, ebx
je 0x26a2574
mov edx, dword [esp + 0xe8]
lea edx, [edx + eax*2]
cmp ecx, ebx
jbe 0x26a2574
mov eax, edi
sub edx, edi
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
sub ecx, 1
jne 0x26a2565
cmp dword [esp + 0x2c], ebx
je 0x26a26a2
mov eax, dword [esp + 0xc4]
cmp eax, ebx
je 0x26a25a2
mov cl, byte [esp + 0x34]
mov edx, dword [esp + 0x38]
test byte [edx + eax], cl
je 0x26a25a2
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + ebp*4]
jmp 0x26a25a4
xor eax, eax
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x4134]
call fcn.026a21d0
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + ebp*8 + 8]
mov ecx, dword [eax + ebp*8 + 0xc]
add esp, 4
sub edx, dword [eax + ebp*8]
sbb ecx, dword [eax + ebp*8 + 4]
push ecx
push edx
lea ecx, [esp + 0x4140]
call fcn.026a1e80
mov eax, dword [esp + 0xd4]
add esp, 8
cmp eax, ebx
je 0x26a2613
mov dl, byte [esp + 0x34]
mov ecx, dword [esp + 0x38]
test byte [ecx + eax], dl
je 0x26a2613
mov edx, dword [esp + 0xd0]
lea eax, [edx + ebp*8]
push eax
lea edi, [esp + 0x4114]
call fcn.026a1f60
add esp, 4
jmp 0x26a264a
mov eax, 0x20202020
mov dword [esp + 0x4110], eax
mov dword [esp + 0x4114], eax
mov dword [esp + 0x4118], eax
mov dword [esp + 0x411c], eax
mov word [esp + 0x4120], ax
mov byte [esp + 0x4122], al
mov byte [esp + 0x4123], bl
lea ecx, [esp + 0x4138]
push ecx
lea edx, [esp + 0x4134]
push edx
lea eax, [esp + 0x4118]
push eax
push str._s__s__10s
call fcn.026b252e
mov eax, dword [esp + 0x24]
add esp, 0x10
call fcn.026a1e20
test eax, eax
jne 0x26a2a8e
cmp dword [esp + 0x24], ebx
je 0x26a2693
push 0x26d2be8
call fcn.026b252e
add esp, 4
push 0x26d289c
call fcn.026b252e
jmp 0x26a2a57
mov esi, str.Testing
cmp dword [esp + 0x3c], ebx
jne 0x26a26b2
mov esi, str.Extracting
call fcn.026b2379
add eax, 0x20
push eax
push esi
call fcn.026b226a
add esp, 8
mov eax, edi
call fcn.026a1e20
test eax, eax
jne 0x26a2a8e
cmp dword [esp + 0x24], ebx
je 0x26a26e8
push 0x26d2be8
call fcn.026b252e
add esp, 4
jmp 0x26a272b
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x10c]
push ebp
push edx
lea eax, [esp + 0x94]
call fcn.026a5630
add esp, 0x24
test eax, eax
jne 0x26a2a8e
cmp dword [esp + 0x3c], ebx
jne 0x26a2a49
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x18], eax
cmp word [eax], bx
je 0x26a28a9
mov edi, eax
lea ebx, [ebx]
cmp word [edi], 0x2f
jne 0x26a2897
cmp dword [esp + 0x30], ebx
je 0x26a2890
push 0x208
lea ecx, [esp + 0x415c]
xor eax, eax
push ebx
push ecx
mov word [edi], ax
call fcn.026b21f0
add esp, 0xc
push 0x208
lea edx, [esp + 0x4364]
push ebx
push edx
call fcn.026b21f0
mov esi, dword [esp + 0x54]
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a27a0
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x415c]
push esi
push ecx
call fcn.026b0d70
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0x26a27d0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a27d0
sub eax, edx
sar eax, 1
mov edx, 0x5c
mov word [esp + eax*2 + 0x4158], dx
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a27f3
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x4158]
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a2810
sub eax, esi
lea ecx, [edx + edx]
mov edx, dword [esp + 0x14]
push ecx
sar eax, 1
push edx
lea eax, [esp + eax*2 + 0x4160]
push eax
call fcn.026b0d70
lea eax, [esp + 0x4164]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a2842
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x415c]
push edx
lea eax, [esp + 0x4368]
push eax
call fcn.026b0d70
add esp, 0xc
push ebx
lea ecx, [esp + 0x4364]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x26a2886
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5c
mov word [edi], dx
jmp 0x26a2897
add edi, 2
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
inc ebp
cmp word [eax + ebp*2], bx
lea edi, [eax + ebp*2]
jne 0x26a2750
push 0x208
lea ecx, [esp + 0x415c]
push ebx
push ecx
call fcn.026b21f0
mov esi, dword [esp + 0x54]
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0x26a28d0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a28d0
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x415c]
push esi
push eax
call fcn.026b0d70
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a2900
sub eax, edx
sar eax, 1
mov ecx, 0x5c
mov word [esp + eax*2 + 0x4158], cx
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a2923
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x4158]
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x26a2940
mov ecx, dword [esp + 0x18]
add edx, edx
sub eax, esi
push edx
sar eax, 1
push ecx
lea edx, [esp + eax*2 + 0x4160]
push edx
call fcn.026b0d70
add esp, 0xc
push ebx
cmp dword [esp + 0x28], ebx
je 0x26a298f
lea eax, [esp + 0x415c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x26a2a49
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x26a2a49
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0x4170]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x26a29c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x26a2a6e
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x18]
add eax, edx
push ecx
lea edi, [esp + 0x20]
mov dword [esp + 0x20], ebp
call fcn.026a2b40
add esp, 4
test eax, eax
jne 0x26a2a7c
cmp dword [esp + 0x1c], ebp
jne 0x26a2a7c
cmp esi, 0xffffffff
je 0x26a2a14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x26a2a14
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x26a2a75
mov eax, dword [esp + 0xc4]
cmp eax, ebx
je 0x26a2a49
mov dl, byte [esp + 0x34]
mov ecx, dword [esp + 0x38]
test byte [ecx + eax], dl
je 0x26a2a49
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
push ecx
lea edx, [esp + 0x415c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x26d289c
call fcn.026b252e
mov ebp, dword [esp + 0x24]
add esp, 4
inc ebp
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0xb0]
jb 0x26a24a0
jmp 0x26a2a8e
push str.can_not_open_output_file
jmp 0x26a2a81
push str.can_not_close_output_file
jmp 0x26a2a81
push str.can_not_write_output_file
push str._nERROR:__s_n
call fcn.026b252e
add esp, 8
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
call dword [esp + 0x4c]
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x456c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.026abe6e
add esp, 0x4560
ret