Function at 0x40e700
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b41b7
mov eax, dword fs:[0]
push eax
mov eax, 0xdef4
call fcn.0059a600
mov eax, dword [0x6319d0]
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 ebx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0xdefc], esi
call fcn.0046d4f0
test eax, eax
je 0x40e7bf
push 0
push str.CInstall_::_SelfExtractExtractMode_n
push 0x63fa88
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x63f988], eax
mov eax, 0x63fa88
add esp, 0xc
mov dword [0x63f98c], ecx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e777
mov edi, 0x63f988
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40e786
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x63f988
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov esi, dword [ebp - 0xdefc]
xor edi, edi
lea ecx, [ebp - 0xdee8]
mov dword [ebp - 0xdef0], edi
call fcn.004837c0
mov dword [ebp - 4], edi
call fcn.004a8620
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40e7ef
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xdeec], eax
mov byte [ebp - 4], 1
call fcn.004a8620
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40e81f
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xdf00], eax
mov dword [esi + 0x4fac], ebx
mov ecx, dword [ebx + 0xce4]
and ecx, 1
xor eax, eax
or eax, ecx
mov byte [ebp - 4], 2
je 0x40e85e
lea eax, [ebx + 0x54]
push eax
lea ecx, [ebp - 0xdeec]
call fcn.00402af0
jmp 0x40e8f4
push 1
push reloc.OLEAUT32.dll_SysReAllocString
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x118], edi
call fcn.0047c120
lea ecx, [ebp - 0xdef4]
push ecx
lea edx, [ebp - 0x114]
push edx
push str.ProgramFilesDir
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x310]
mov dword [ebp - 0xdef4], 0x104
call fcn.0047b3d0
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40e8b1
mov ecx, 8
mov esi, str.ConexantUIU_SELF_EXTRACT_PATH
lea eax, [ebp - 0x114]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e8d0
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0xdeec]
call fcn.004026b0
mov esi, dword [ebp - 0xdefc]
xor edi, edi
mov edx, dword [ebp - 0xdeec]
push 1
push edx
lea ecx, [esi + 0x4f9c]
call fcn.00430380
mov eax, dword [ebp - 0xdeec]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0xdeec]
push edi
push edi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0xdef4], esp
mov edi, esp
push eax
call fcn.004022e0
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esi + 0x4fac]
add esp, 4
push ecx
lea ecx, [ebp - 0xdee8]
call fcn.00483e40
cmp eax, 0x3ea
jne 0x40ea02
mov edx, dword [ebx + 0xce0]
mov eax, dword [ebx + 0xce4]
mov dword [ebp - 0xdef8], edx
mov edx, eax
and edx, 1
xor ecx, ecx
xor esi, esi
or ecx, edx
je 0x40e989
mov dword [ebx + 0xd10], esi
mov dword [ebp - 0xdef0], 1
jmp 0x40ea3d
and eax, 8
xor ecx, ecx
or ecx, eax
je 0x40e9e7
push ebx
lea ecx, [ebp - 0xdef0]
call fcn.00494ac0
lea eax, [ebx + 0x54]
push eax
lea eax, [ebp - 0xdeec]
push eax
lea ecx, [ebp - 0xdef0]
mov byte [ebp - 4], 3
call fcn.00497480
push 1
push ebx
lea ecx, [ebp - 0xdef0]
call fcn.00496280
lea ecx, [ebp - 0xdef0]
mov dword [ebx + 0xd10], esi
mov byte [ebp - 4], 2
call fcn.00494fa0
mov dword [ebp - 0xdef0], 1
jmp 0x40ea3d
lea ecx, [ebp - 0xdeec]
push ecx
lea ecx, [ebx + 0x54]
call fcn.00402af0
mov dword [ebp - 0xdef0], 1
jmp 0x40ea3d
mov ecx, dword [ebx + 0xce4]
and ecx, 8
xor eax, eax
or eax, ecx
je 0x40ea3d
lea ecx, [ebp - 0xdef4]
call fcn.00494ab0
push 0
push ebx
lea ecx, [ebp - 0xdef4]
mov byte [ebp - 4], 4
call fcn.00496280
lea ecx, [ebp - 0xdef4]
mov byte [ebp - 4], 2
call fcn.00494fa0
call fcn.0046d4f0
test eax, eax
je 0x40eac4
mov edx, dword [ebp - 0xdef0]
push edx
push str.CInstall_::_SelfExtractExtractMode_:_bRetVal___d_n
push 0x63f888
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x63f788], eax
mov eax, 0x63f888
mov dword [0x63f78c], ecx
add esp, 0xc
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40ea80
mov edi, 0x63f788
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40ea91
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x63f788
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
mov eax, dword [ebp - 0xdf00]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40eaea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xdeec]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eb10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xdee8]
mov dword [ebp - 4], 0xffffffff
call fcn.00482460
mov eax, dword [ebp - 0xdef0]
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.00599ed4
mov esp, ebp
pop ebp
ret 4