Function at 0x402f65
Capabilities:
Create process on windows
Delete file

Disassembly:
mov eax, 0x45a734
call fcn.0043baec
sub esp, 0x94
mov eax, dword [0x47f440]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00403369
test eax, eax
je 0x403230
mov eax, dword [0x47f440]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00416d7d
mov eax, dword [0x47f440]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00416ddd
test eax, eax
je 0x40303e
lea eax, [ebp - 0x15]
lea ecx, [ebp - 0x48]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x1d]
push eax
call fcn.00416f9d
test eax, eax
je 0x403037
movzx ecx, byte [ebp - 0x1d]
movzx edx, byte [ebp - 0x16]
movzx edi, byte [ebp - 0xd]
mov eax, ecx
shl eax, 8
or eax, edx
shl eax, 8
or eax, edi
movzx edi, byte [ebp - 0x15]
shl eax, 8
or eax, edi
mov edi, 0x1000406
cmp edi, eax
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
jne 0x4030ae
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0xd]
push eax
push edx
push ecx
lea eax, [ebp - 0x1c]
push str.Outdated_Updater_applet:__d._d._d._d
push eax
call fcn.0044ad19
add esp, 0x18
jmp 0x40304b
push str.Failed_to_get_version_bytes
jmp 0x403043
push str.Failed_to_load_version_info
lea ecx, [ebp - 0x1c]
call fcn.004505ef
mov eax, dword [0x47f440]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push str._not_run__discarded_:__s
push eax
call fcn.0044ad19
push dword [ebp - 0x2c]
push str.AU::RunUpdater:__s
push ebx
call fcn.00431e0d
push dword [ebp - 0x2c]
push str.AppletEndState
push dword [0x4763f4]
push reloc.WSOCK32.dll_bind
call fcn.0042a1d0
add esp, 0x28
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00403369
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
jmp 0x403206
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
call fcn.004501db
mov eax, dword [0x47f440]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00402c7d
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402b08
push 0x476654
lea ecx, [ebp - 0x24]
call fcn.00450842
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
call fcn.0045087e
push dword [ebp - 0x24]
mov edi, reloc.WSOCK32.dll_bind
push str.LastRun
push dword [0x4763f4]
push edi
call fcn.0042a1d0
add esp, 0x10
lea ecx, [ebp - 0x14]
push str.__RUN
call fcn.00450842
push 0x44
lea eax, [ebp - 0xa0]
push ebx
push eax
mov dword [esi + 8], ebx
call fcn.0043bed0
add esp, 0xc
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xa0], 0x44
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x4031db
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov dword [esi + 8], eax
push str.AU::RunUpdater:_CreateProcess__s__successful
push ebx
call fcn.00431e0d
add esp, 0xc
mov ecx, esi
push ebx
call fcn.004033f7
lea eax, [ebp - 0x4c]
push 0x708
push eax
mov ecx, esi
call fcn.00402c7d
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [0x47f440]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 7
call fcn.00402b08
push dword [ebp - 0x38]
push str.AppletRunTime
push dword [0x4763f4]
push edi
call fcn.0042a1d0
add esp, 0x10
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00450466
jmp 0x4031f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x14]
push str.AU::RunUpdater:_CreateProcess__s__failed___d_
push ebx
call fcn.00431e0d
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00450466
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00450466
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00450466
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00416d9a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00450466
jmp 0x40323d
push str.AU::RunUpdater:_GetUpdaterApplet___failed.
push ebx
call fcn.00431e0d
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00450466
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret