Function at 0x409581
Capabilities:
Delete file

Disassembly:
mov eax, 0x4a65db
call fcn.00483228
sub esp, 0x40
and dword [ebp - 0x44], 0
push ebx
push esi
mov esi, ecx
push edi
push 0x4e7e70
lea ecx, [ebp - 0x10]
call fcn.0049d946
mov eax, dword [0x4e43a4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x4dd574
call fcn.0049d946
push ecx
mov ebx, str.Product
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
mov byte [ebp - 4], 5
call fcn.0049d946
mov ecx, dword [esi + 0x240]
lea eax, [ebp - 0x24]
mov edi, 0x188
push eax
add ecx, edi
mov byte [ebp - 4], 4
call fcn.004522ec
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.Version
call fcn.0049d946
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0049d946
mov ecx, dword [esi + 0x240]
lea eax, [ebp - 0x20]
push eax
add ecx, edi
mov byte [ebp - 4], 4
call fcn.004522ec
lea ecx, [esi + 0x214]
push 0x7fc
mov dword [ebp - 0x1c], ecx
call fcn.0049de81
push 0x4dd424
lea ecx, [ebp - 0x28]
call fcn.0049d946
push 1
push ecx
lea ecx, [ebp - 0x28]
mov eax, esp
mov dword [ebp - 0x40], esp
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
push ecx
push eax
call fcn.0044ca2c
add esp, 8
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x24]
push eax
call fcn.0049d64d
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
push eax
call fcn.00447f34
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0049d8d8
push 0
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.0049d64d
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str._PN_
call fcn.0049d946
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x1c]
call fcn.0049d64d
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push eax
call fcn.0044d1de
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xd
call fcn.0049d9c5
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0049d8d8
push 0x4dd1e4
lea ecx, [ebp - 0x2c]
call fcn.0049d946
lea eax, [ebp - 0x2c]
push 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.0049d64d
lea eax, [ebp - 0x34]
push eax
call fcn.0044d448
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.0049d64d
lea eax, [esi + 0x21c]
push eax
mov dword [ebp - 0x40], eax
call fcn.0045cc55
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x4dd550
call fcn.0049d946
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0049d946
mov ecx, dword [esi + 0x240]
lea ebx, [esi + 0x1f4]
push ebx
add ecx, edi
mov byte [ebp - 4], 0x10
call fcn.004522ec
push dword [ebx]
call fcn.00483b98
mov esi, eax
pop ecx
cmp esi, 2
jne 0x4097b4
push 0x804
lea ecx, [ebp - 0x14]
call fcn.0049de81
xor edi, edi
jmp 0x4097db
xor edi, edi
cmp dword [0x4e80e8], edi
jne 0x4097ce
cmp esi, 1
je 0x4097ce
cmp esi, edi
jne 0x4097db
push 0x7fb
jmp 0x4097d3
push 0x803
lea ecx, [ebp - 0x14]
call fcn.0049de81
cmp dword [ebp - 0x30], edi
je 0x409a67
mov eax, dword [0x4e43a4]
mov dword [ebp - 0x18], eax
push 0x7fd
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.0049de81
push 0x4dd1e4
lea ecx, [ebp - 0x30]
call fcn.0049d946
push 1
lea eax, [ebp - 0x18]
pop ebx
mov byte [ebp - 4], 0x13
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0049d64d
push ecx
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [ebp - 0x4c], esp
push ecx
mov byte [ebp - 4], 0x14
push dword [ebp - 0x1c]
push eax
call fcn.0044cc8b
add esp, 0xc
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call fcn.0049d9c5
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0049d64d
mov eax, dword [ebp - 0x40]
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.0045cd84
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0049d9c5
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.0049d8d8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x409925
cmp dword [0x4e80e8], edi
jne 0x409925
cmp esi, ebx
je 0x409925
push ebx
push ecx
mov esi, esp
mov dword [ebp - 0x4c], esp
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0049d64d
push esi
call fcn.00447c52
add esp, 4
lea eax, [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x48], esp
push ecx
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0049d64d
push esi
call fcn.00447289
pop ecx
lea eax, [ebp - 0x40]
pop ecx
mov byte [ebp - 4], 0x12
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x18
call fcn.0049d9c5
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
jmp 0x409a54
push ebx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0049d64d
push ecx
mov ecx, 0x4e83a0
mov eax, esp
mov dword [ebp - 0x48], esp
push edi
push eax
mov byte [ebp - 4], 0x19
call fcn.00407bd2
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x12
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1a
call fcn.0049d9c5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.0049d8d8
push 0x4dd424
lea ecx, [ebp - 0x30]
call fcn.0049d946
push ebx
push ecx
lea ecx, [ebp - 0x30]
mov eax, esp
mov dword [ebp - 0x4c], esp
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1b
push ecx
push eax
call fcn.0044ca2c
add esp, 8
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
mov byte [ebp - 4], 0x1c
call fcn.0049d64d
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00447f34
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
call fcn.0049d8d8
push edi
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0049d64d
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x48], esp
push str._PN_
call fcn.0049d946
push ecx
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0049d64d
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0044d1de
add esp, 0x14
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x21
call fcn.0049d9c5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1e
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0049d64d
call fcn.00446e8e
cmp eax, edi
pop ecx
je 0x409a4d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1c]
call fcn.0049d8d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.0049d8d8
jmp 0x409a6a
push 1
pop ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0049d64d
mov dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.0049d8d8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0049d8d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0049d8d8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0049d8d8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0049d8d8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4