Function at 0x40aa1f
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x416030]
push ebx
push esi
push edi
mov edi, 0x41e728
mov dword [ebp - 4], eax
push str.cdn.dll
mov esi, 0x41cf8c
push edi
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
mov ebx, 0x41e82c
mov dword [ebp - 0x20], eax
push str.cdnvers.dat
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 0x10], eax
push str.src.dat
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 0x2c], eax
push str.cdnaux.dll
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
add esp, 0x4c
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 0x18], eax
mov dword [esp], str.idnconv.dll
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 0x28], eax
push str.idnconvs.dll
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 8], eax
push str.cdnup.exe
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 0xc], eax
push str.cdnuc.exe
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
add esp, 0x4c
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 0x14], eax
mov dword [esp], str.client.dll
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 0x1c], eax
push str.CdnCli.exe
push edi
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
mov dword [ebp - 0x24], eax
push str.cdnload.exe
push edi
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
push 0x41d30c
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
add esp, 0x4c
push dword [ebp - 4]
call fcn.0040b01d
mov dword [esp], str.cdnrepl.dat
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
push str.cdnrereg.dat
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
push str.cdnnews.dat
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
push str.cdncol.dll
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
add esp, 0x4c
push dword [ebp - 4]
call fcn.0040b01d
mov dword [esp], str.cdnbl.dat
push ebx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
and byte [ebp - 0x130], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x130]
push eax
call fcn.0040c5f0
lea eax, [ebp - 0x130]
push str.Images_
push eax
call fcn.0040c600
lea eax, [ebp - 0x130]
push str.popup.bmp
push eax
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
lea eax, [ebp - 0x130]
push str.news.ico
push eax
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
add esp, 0x48
push dword [ebp - 4]
call fcn.0040b01d
lea eax, [ebp - 0x130]
mov dword [esp], str.soft.ico
push eax
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
lea eax, [ebp - 0x130]
push str.enter.ico
push eax
lea eax, [ebp - 4]
push esi
push eax
call fcn.00409b3e
push dword [ebp - 4]
call fcn.0040b01d
add esp, 0x28
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
and byte [ebp - 0x234], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x233]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x234]
push eax
call fcn.0040c5f0
lea eax, [ebp - 0x234]
push str.Update_
push eax
call fcn.0040c600
lea eax, [ebp - 0x234]
push eax
call fcn.0040b943
xor esi, esi
add esp, 0x14
cmp dword [0x41e938], esi
jne 0x40ad23
push ebx
call fcn.0040b6f5
pop ecx
cmp dword [ebp - 0x20], esi
je 0x40ad58
cmp dword [ebp - 0x10], esi
je 0x40ad58
cmp dword [ebp - 0x2c], esi
je 0x40ad58
cmp dword [ebp - 0x18], esi
je 0x40ad58
cmp dword [ebp - 0x28], esi
je 0x40ad58
cmp dword [ebp - 8], esi
je 0x40ad58
cmp dword [ebp - 0xc], esi
je 0x40ad58
cmp dword [ebp - 0x14], esi
je 0x40ad58
cmp dword [ebp - 0x1c], esi
je 0x40ad58
cmp dword [ebp - 0x24], esi
je 0x40ad58
push 1
pop esi
lea ecx, [ebp - 4]
call fcn.00401dbd
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret