Function at 0x402cf0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429da6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x390]
mov ecx, 0xe1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [0x439634]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041eaf5
mov dword [ebp - 4], 0
mov edx, dword [0x439634]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041eaf5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00401eb0
test eax, eax
je 0x40374c
mov esi, esp
lea ecx, [ebp - 0x220]
push ecx
push 0x104
call dword [0x437124]
cmp esi, esp
call fcn.0040eeae
push str.uninstall.exe
lea ecx, [ebp - 0x224]
call fcn.0041eaf5
mov byte [ebp - 4], 2
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.0040eeae
push eax
call fcn.0040f354
add esp, 4
call fcn.0040f361
push eax
push str.uninstall_d.exe
lea edx, [ebp - 0x224]
push edx
call fcn.0041dfc3
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.0041eaf5
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.0041ecc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.0041ea81
lea ecx, [ebp - 0x228]
call fcn.00401df0
mov esi, esp
push eax
call dword [0x4370f4]
cmp esi, esp
call fcn.0040eeae
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
and edx, 1
test edx, edx
je 0x402e76
mov eax, dword [ebp - 0x22c]
xor eax, 1
mov dword [ebp - 0x22c], eax
mov esi, esp
mov ecx, dword [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00401df0
push eax
call dword [0x437150]
cmp esi, esp
call fcn.0040eeae
mov esi, esp
push 0
lea ecx, [ebp - 0x228]
call fcn.00401df0
push eax
lea ecx, [ebp - 0x14]
call fcn.00401df0
push eax
call dword [0x4370c4]
cmp esi, esp
call fcn.0040eeae
test eax, eax
jne 0x402f06
push 0
push 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.00401df0
push eax
call fcn.004258f8
mov dword [ebp - 0x240], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.0041ea81
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.0041ea81
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0041ea81
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041ea81
mov eax, dword [ebp - 0x240]
jmp 0x403777
push str.uninstall.ini
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x244]
call fcn.0041eaf5
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2b8]
push ecx
lea edx, [ebp - 0x248]
push edx
call fcn.0041ed26
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c0]
call fcn.00401df0
mov esi, esp
push eax
call dword [0x4370f4]
cmp esi, esp
call fcn.0040eeae
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x248]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x244]
call fcn.0041ea81
mov ecx, dword [ebp - 0x22c]
and ecx, 1
test ecx, ecx
je 0x403051
mov edx, dword [ebp - 0x22c]
xor edx, 1
mov dword [ebp - 0x22c], edx
mov esi, esp
mov eax, dword [ebp - 0x22c]
push eax
push str.uninstall.ini
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.0041eaf5
mov dword [ebp - 0x2c4], eax
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.0041ed26
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2d0]
call fcn.00401df0
push eax
call dword [0x437150]
cmp esi, esp
call fcn.0040eeae
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x250]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.0041ea81
mov esi, esp
push 0
push str.uninstall.ini
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x258]
call fcn.0041eaf5
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2d8]
push edx
lea eax, [ebp - 0x25c]
push eax
call fcn.0041ed26
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2e0]
call fcn.00401df0
push eax
push str.uninstall.ini
call dword [0x4370c4]
cmp esi, esp
call fcn.0040eeae
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x254], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x25c]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.0041ea81
mov edx, dword [ebp - 0x254]
and edx, 0xff
test edx, edx
je 0x403168
push 0
push 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.00401df0
push eax
call fcn.004258f8
mov dword [ebp - 0x260], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.0041ea81
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.0041ea81
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0041ea81
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041ea81
mov eax, dword [ebp - 0x260]
jmp 0x403777
push str.uninstall.dat
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x264]
call fcn.0041eaf5
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x268]
push eax
call fcn.0041ed26
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2f0]
call fcn.00401df0
mov esi, esp
push eax
call dword [0x4370f4]
cmp esi, esp
call fcn.0040eeae
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x268]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.0041ea81
mov edx, dword [ebp - 0x22c]
and edx, 1
test edx, edx
je 0x4032b3
mov eax, dword [ebp - 0x22c]
xor eax, 1
mov dword [ebp - 0x22c], eax
mov esi, esp
mov ecx, dword [ebp - 0x22c]
push ecx
push str.uninstall.dat
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x26c]
call fcn.0041eaf5
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2f8]
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.0041ed26
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x300]
call fcn.00401df0
push eax
call dword [0x437150]
cmp esi, esp
call fcn.0040eeae
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x270]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x26c]
call fcn.0041ea81
mov esi, esp
push 0
push str.uninstall.dat
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x278]
call fcn.0041eaf5
mov dword [ebp - 0x304], eax
mov edx, dword [ebp - 0x304]
mov dword [ebp - 0x308], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x308]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.0041ed26
mov dword [ebp - 0x30c], eax
mov edx, dword [ebp - 0x30c]
mov dword [ebp - 0x310], edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x310]
call fcn.00401df0
push eax
push str.uninstall.dat
call dword [0x4370c4]
cmp esi, esp
call fcn.0040eeae
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x274], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x27c]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
call fcn.0041ea81
mov eax, dword [ebp - 0x274]
and eax, 0xff
test eax, eax
je 0x4033c9
push 0
push 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xe0
call fcn.00401df0
push eax
call fcn.004258f8
mov dword [ebp - 0x280], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.0041ea81
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.0041ea81
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0041ea81
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041ea81
mov eax, dword [ebp - 0x280]
jmp 0x403777
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp esi, esp
call fcn.0040eeae
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
and ecx, 0xff
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x230]
and edx, 0xffff
sar edx, 8
and edx, 0xff
and edx, 0xff
mov dword [ebp - 0x238], edx
cmp dword [ebp - 0x230], 0x80000000
jae 0x40356b
mov esi, esp
push 4
push 0
lea ecx, [ebp - 0x228]
call fcn.00401df0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, esp
call fcn.0040eeae
mov esi, esp
push 4
push 0
push str.uninstall.ini
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x284]
call fcn.0041eaf5
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x318], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x318]
push edx
lea eax, [ebp - 0x288]
push eax
call fcn.0041ed26
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x320]
call fcn.00401df0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, esp
call fcn.0040eeae
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x288]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x284]
call fcn.0041ea81
mov esi, esp
push 4
push 0
push str.uninstall.dat
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x28c]
call fcn.0041eaf5
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x328]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.0041ed26
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x330], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x330]
call fcn.00401df0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, esp
call fcn.0040eeae
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x290]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.0041ea81
jmp 0x4036d1
mov esi, esp
push str.wininit.ini
lea ecx, [ebp - 0x228]
call fcn.00401df0
push eax
push str.NULL
push str.REMOVE
call dword [0x437158]
cmp esi, esp
call fcn.0040eeae
mov esi, esp
push str.wininit.ini
push str.uninstall.ini
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x294]
call fcn.0041eaf5
mov dword [ebp - 0x334], eax
mov edx, dword [ebp - 0x334]
mov dword [ebp - 0x338], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x338]
push eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.0041ed26
mov dword [ebp - 0x33c], eax
mov edx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], edx
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x340]
call fcn.00401df0
push eax
push str.NULL
push str.REMOVE
call dword [0x437158]
cmp esi, esp
call fcn.0040eeae
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x298]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.0041ea81
mov esi, esp
push str.wininit.ini
push str.uninstall.dat
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0041eaf5
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x348], ecx
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x348]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.0041ed26
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], ecx
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x350]
call fcn.00401df0
push eax
push str.NULL
push str.REMOVE
call dword [0x437158]
cmp esi, esp
call fcn.0040eeae
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2a0]
call fcn.0041ea81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x29c]
call fcn.0041ea81
mov esi, esp
push 5
lea edx, [ebp - 0x220]
push edx
push str.uninstall
lea ecx, [ebp - 0x228]
call fcn.00401df0
push eax
push str.open
push 0
call dword [0x437184]
cmp esi, esp
call fcn.0040eeae
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.0041ea81
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.0041ea81
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0041ea81
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041ea81
mov eax, dword [ebp - 0x2a4]
jmp 0x403777
mov dword [ebp - 0x2a8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0041ea81
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041ea81
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x390
cmp ebp, esp
call fcn.0040eeae
mov esp, ebp
pop ebp
ret