Function at 0x4226c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c12e5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push edi
mov dword [ebp - 4], 0
call fcn.00422ba0
xor eax, eax
cmp dword [ebp + 0x14], eax
jne 0x422a84
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
push edx
push 9
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x422aa2
mov ax, word [ebp - 0x24]
test ax, ax
jne 0x422744
mov dword [esi + 0x5c], 0
xor al, al
jmp 0x422756
cmp ax, 0x13
jne case.0x42283e.1
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x5c], eax
mov al, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
mov byte [esi + 0x59], al
call fcn.00422d50
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
push edx
push 6
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x422ab2
mov ax, word [ebp - 0x24]
test ax, ax
jne 0x422793
xor al, al
jmp 0x4227a5
cmp ax, 0xb
jne 0x422ab8
cmp word [ebp - 0x1c], 0
setne al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
mov byte [esi + 0x58], al
call fcn.00422d50
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
push edx
push 0xc
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x422ac2
mov ax, word [ebp - 0x24]
test ax, ax
jne 0x4227e2
xor al, al
jmp 0x4227fa
cmp ax, 0x40
jne 0x422ac8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x64], eax
mov al, 1
mov dword [esi + 0x68], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
mov byte [esi + 0x60], al
call fcn.00422d50
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
push edx
push 7
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x422ad2
movzx eax, word [ebp - 0x24]
cmp eax, 0x15
ja case.0x42283e.1
movzx eax, byte [eax + 0x422afc]
jmp dword [eax*4 + 0x422ae4]
mov byte [ebp - 4], 8
xor al, al
jmp 0x42287c
movzx eax, byte [ebp - 0x1c]
cdq
mov dword [esi + 0x74], edx
jmp 0x422873
movzx eax, word [ebp - 0x1c]
cdq
mov dword [esi + 0x74], edx
jmp 0x422873
mov dword [esi + 0x74], 0
jmp 0x422870
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x74], ecx
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x70], eax
mov byte [ebp - 4], 9
mov al, 1
lea ecx, [ebp - 0x24]
mov byte [esi + 0x6c], al
call fcn.00422d50
lea eax, [esi + 0x28]
mov dword [ebp - 4], 0xffffffff
push eax
lea edx, [esi + 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00421ed0
add esp, 4
lea edi, [esi + 0x40]
mov ecx, edi
push eax
call fcn.00416040
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4228e5
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4228db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422ad8
push edx
push ecx
call fcn.0049789c
add esp, 8
cmp byte [esi + 0x58], 0
je 0x42290b
cmp dword [edi + 0x14], 8
jb 0x4228f3
mov edi, dword [edi]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebx], 0
xor eax, eax
jmp 0x422a84
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00421dc0
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push 0
cmovae eax, dword [ebp - 0x44]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x48], 0
jb 0x422943
mov eax, dword [edi]
lea ecx, [ebp - 0x48]
push ecx
push 0
push 1
push 0x80
push 0x1001
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileEx]
test eax, eax
jns 0x422976
mov eax, dword [ebp - 0x48]
xor esi, esi
mov dword [ebp - 0x4c], esi
test eax, eax
je 0x422972
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x422985
mov esi, dword [ebp - 0x48]
mov eax, esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x4229fa
mov dword [edi + 0x10], eax
cmp dword [edi + 0x14], 8
jb 0x422998
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4229b2
movzx esi, si
or esi, 0x80070000
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4229f3
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4229e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422add
push edx
push ecx
call fcn.0049789c
add esp, 8
mov eax, esi
jmp 0x422a84
push 0xc
call fcn.0049786c
mov edi, eax
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [edi], vtable.SevenZip::intl::OutStreamWrapper.0
mov dword [edi + 4], 0
mov dword [edi + 8], esi
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebx], edi
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x422a6e
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422a64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422add
push edx
push ecx
call fcn.0049789c
add esp, 8
xor eax, eax
jmp 0x422a84
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.004bfc80
push 0x80004005
call fcn.004bfc80
push eax
call fcn.004bfc80
push 0x80004005
call fcn.004bfc80
push eax
call fcn.004bfc80
push 0x80004005
call fcn.004bfc80
push eax
call fcn.004bfc80
call fcn.0049e530
call fcn.0049e530
nop
inc ebp
sub byte [edx], al
dec ebp
sub byte [edx], al
push edi
sub byte [edx], al
popal
sub byte [edx], al
push 0x28
inc edx
add byte [eax + 0x422a], ch
add eax, 0x5050505
add eax, 84215045
add eax, 84215045
add eax, 84083201
add al, 204
int3