Function at 0x4297de
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d430
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x54735c]
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 eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
push edx
push 3
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x429a36
mov ax, word [ebp - 0x24]
test ax, ax
jne 0x4295cf
lea edi, [esi + 0x28]
cmp edi, 0x547d48
je 0x429667
cmp dword [0x547d5c], 8
mov eax, 0x547d48
push dword [0x547d58]
cmovae eax, dword [0x547d48]
mov ecx, edi
push eax
call fcn.00403ab0
jmp 0x429667
cmp ax, 8
jne case.0x4297a8.1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
call fcn.00426440
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4295f3
mov edx, dword [eax]
jmp 0x4295f5
xor edx, edx
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429600
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x28]
call fcn.00403ab0
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x429664
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x429664
test edi, edi
je 0x429664
mov eax, dword [edi]
test eax, eax
je 0x429642
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x429659
push eax
call fcn.004f33a0
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004f2ead
add esp, 8
lea edi, [esi + 0x28]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00429b50
xor eax, eax
cmp dword [ebp + 0x14], eax
jne 0x429a18
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
push edx
push 9
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x429a46
mov ax, word [ebp - 0x24]
test ax, ax
jne 0x4296b4
mov dword [esi + 0x5c], 0
mov byte [esi + 0x59], al
jmp 0x4296c8
cmp ax, 0x13
jne 0x429a4c
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x5c], eax
mov byte [esi + 0x59], 1
lea ecx, [ebp - 0x24]
call fcn.00429b50
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
push edx
push 6
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x429a56
mov ax, word [ebp - 0x24]
test ax, ax
jne 0x429701
mov byte [esi + 0x58], al
jmp 0x429716
cmp ax, 0xb
jne 0x429a5c
cmp word [ebp - 0x1c], 0
setne al
mov byte [esi + 0x58], al
lea ecx, [ebp - 0x24]
call fcn.00429b50
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 dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x429a66
mov ax, word [ebp - 0x24]
test ax, ax
jne 0x42974f
mov byte [esi + 0x60], al
jmp 0x429769
cmp ax, 0x40
jne 0x429a6c
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x68], eax
mov byte [esi + 0x60], 1
lea ecx, [ebp - 0x24]
call fcn.00429b50
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
push edx
push 7
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x429a76
movzx eax, word [ebp - 0x24]
cmp eax, 0x15
ja case.0x4297a8.1
movzx eax, byte [eax + 0x429aa4]
jmp dword [eax*4 + 0x429a8c]
mov byte [esi + 0x6c], 0
jmp 0x4297ee
movzx eax, byte [ebp - 0x1c]
cdq
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
jmp 0x4297ea
movzx eax, word [ebp - 0x1c]
cdq
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
jmp 0x4297ea
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], 0
jmp 0x4297ea
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x74], eax
mov byte [esi + 0x6c], 1
lea ecx, [ebp - 0x24]
call fcn.00429b50
push edi
lea edx, [esi + 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00428e60
lea edi, [esi + 0x40]
mov dword [ebp - 0x48], eax
add esp, 4
cmp edi, eax
je 0x429843
mov ecx, edi
call fcn.00403ca0
mov eax, dword [ebp - 0x48]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x42987d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429873
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a7c
push edx
push ecx
call fcn.004f2ead
add esp, 8
cmp byte [esi + 0x58], 0
je 0x4298a6
cmp dword [edi + 0x14], 8
jb 0x42988b
mov edi, dword [edi]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
xor eax, eax
jmp 0x429a18
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.00428d60
mov dword [ebp - 4], 8
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 0x4298de
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 0x429911
mov eax, dword [ebp - 0x48]
xor esi, esi
mov dword [ebp - 0x4c], esi
test eax, eax
je 0x42990d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x429920
mov esi, dword [ebp - 0x48]
mov eax, esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 9
test eax, eax
jne 0x42998e
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], eax
jb 0x429933
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 0x42994d
movzx esi, si
or esi, 0x80070000
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x429987
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42997d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a81
push edx
push ecx
call fcn.004f2ead
add esp, 8
mov eax, esi
jmp 0x429a18
push 0xc
call fcn.004f2e7d
mov edi, eax
add esp, 4
mov dword [ebp - 0x54], 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 eax, dword [ebp - 0x50]
mov byte [ebp - 4], 8
push esi
mov dword [eax], edi
mov eax, dword [esi]
call dword [eax + 8]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x429a02
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4299f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a86
push edx
push ecx
call fcn.004f2ead
add esp, 8
xor eax, eax
jmp 0x429a18
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.004f313b
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.004ac920
push 0x80004005
call fcn.004ac920
push eax
call fcn.004ac920
push 0x80004005
call fcn.004ac920
push eax
call fcn.004ac920
push 0x80004005
call fcn.004ac920
push eax
call fcn.004ac920
push 0x80004005
call fcn.004ac920
push eax
call fcn.004ac920
call fcn.004f855c
call fcn.004f855c
call fcn.004f855c
nop
scasd eax, dword es:[edi]
xchg edi, eax
inc edx
add byte [ebp - 0x3dffbd69], dh
xchg edi, eax
inc edx
add bh, cl
xchg edi, eax
inc edx
add dh, bl
xchg edi, eax
inc edx
add byte [edx + ebx*4], bh
inc edx
add byte [eax], al
add eax, 0x5050505
add eax, 84215045
add eax, 84215045
add eax, 84083201
add al, 204
int3