Function at 0x420d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b58a7
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
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 edi, dword [ebp + 8]
mov dword [ebp - 0x134], edi
call fcn.0046d4f0
test eax, eax
je 0x420e2b
push 0
push str.CUninstall_::_SetupRegistryEntriesToDelete_n
push 0x650190
call fcn.00599ee3
mov eax, dword [str.ENTRY:]
mov ecx, dword [0x5ccf7c]
mov dword [0x650090], eax
mov eax, 0x650190
mov dword [0x650094], ecx
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420de1
mov edi, 0x650090
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x420df2
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 0x650090
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
mov edi, dword [ebp - 0x134]
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420e45
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 - 0x13c], eax
mov dword [ebp - 4], 0
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420e78
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 - 0x138], eax
mov byte [ebp - 4], 1
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420ea8
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 - 0x130], eax
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420ed4
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 - 0x12c], eax
push 1
lea ecx, [ebp - 0x114]
push ecx
push 0x104
mov byte [ebp - 4], 2
call fcn.0049cd20
lea edx, [ebp - 0x124]
push edx
call fcn.0059b8fc
movzx eax, word [ebp - 0x11c]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x124]
push eax
push ecx
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x13c]
push str._sTemp_x_x
push ecx
call fcn.00408cb0
mov esi, dword [ebp - 0x13c]
add esp, 0x28
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push esi
lea edx, [ebp - 0x138]
push str._s_d.inf
push edx
call fcn.00408cb0
mov esi, dword [ebp - 0x138]
mov eax, dword [edi + 0xc]
add esp, 0x10
push 0
push esi
push eax
lea ecx, [ebp - 0x125]
mov ebx, 1
call fcn.00431ec0
call fcn.0046d4f0
test eax, eax
je 0x420faa
push esi
push str.csSaveINFFile___s_n
push 0x64ff90
call fcn.00599ee3
add esp, 0xc
push 0x64ff90
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x130]
call fcn.00402af0
add edi, 0x10
push edi
lea ecx, [ebp - 0x12c]
call fcn.00402af0
mov edi, dword [ebp - 0x130]
sub esp, 8
mov dword [ebp - 0x140], esp
mov esi, esp
add edi, 0xfffffff0
push edi
mov dword [ebp - 0x140], esi
call fcn.004022e0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
push eax
mov byte [ebp - 4], 3
call fcn.004022e0
mov ecx, dword [ebp + 0xc]
add eax, 0x10
add esp, 8
mov dword [esi + 4], eax
mov byte [ebp - 4], 2
call fcn.0040b050
mov esi, dword [ebp - 0x134]
add esi, 0x44
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x134], esi
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x421256
mov edx, dword [ebp - 0x13c]
push ebx
push edx
lea eax, [ebp - 0x138]
push str._s_d.inf
push eax
call fcn.00408cb0
mov eax, dword [esi - 4]
mov esi, dword [ebp - 0x138]
add esp, 0x10
push 0
push esi
inc ebx
push eax
lea ecx, [ebp - 0x125]
mov dword [ebp - 0x140], ebx
call fcn.00431ec0
call fcn.0046d4f0
test eax, eax
je 0x4210a5
push esi
push str.csSaveINFFile___s_n
push 0x64fe90
call fcn.00599ee3
add esp, 0xc
push 0x64fe90
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
lea eax, [esi - 0x10]
cmp eax, edi
je 0x4210f7
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4210e7
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x4210e7
push eax
call fcn.004022e0
add esp, 4
mov esi, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x4210dc
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add esi, 0x10
mov dword [ebp - 0x130], esi
jmp 0x4210f7
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x130]
call fcn.004026b0
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
mov esi, dword [ebp - 0x12c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x42115a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42114a
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x42114a
push ecx
call fcn.004022e0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42113f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x12c], ebx
jmp 0x42115a
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.004026b0
mov edi, dword [ebp - 0x130]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
sub esp, 8
mov ebx, esp
mov dword [ebp - 0x148], esp
mov dword [ebp - 0x148], ebx
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x421198
cmp eax, dword [edi]
jne 0x421198
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4211cc
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4213a9
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
lea ecx, [edi + 0x10]
push ecx
push eax
lea edx, [esi + 0x10]
push edx
call fcn.0059aa3b
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
mov esi, dword [ebp - 0x12c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov byte [ebp - 4], 4
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x421201
cmp eax, dword [esi - 0x10]
jne 0x421201
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x421232
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4213a9
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0059aa3b
add esp, 0x10
mov edx, dword [ebp - 0x148]
mov ecx, dword [ebp + 0xc]
add ebx, 0x10
mov dword [edx + 4], ebx
mov byte [ebp - 4], 2
call fcn.0040b050
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x134]
mov eax, dword [ebp - 0x144]
inc eax
add esi, 8
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x134], esi
cmp eax, 5
jb 0x421031
call fcn.0046d4f0
test eax, eax
je 0x4212f4
push 0
push str.CUninstall_::_SetupRegistryEntriesToDelete_n
push 0x64fd90
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x64fc90], eax
mov eax, 0x64fd90
mov dword [0x64fc94], ecx
add esp, 0xc
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4212b0
mov edi, 0x64fc90
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4212c1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x64fc90
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 - 0x12c]
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 0x42131a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42133c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x138]
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 0x421362
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42138b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 8
call fcn.00401f40
int3