Function at 0x427590
Capabilities:
Accept command line arguments
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554293
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x5ba6c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x124], ebx
push 0
call fcn.004469fe
push 0
call fcn.005331b3
push eax
call fcn.005316ac
add esp, 0xc
call fcn.00405660
push 0x100
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [ebx + 0x108]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427610
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, edi
call fcn.004017f0
mov eax, dword [edi]
push 0x5c
push eax
call fcn.00530c47
add esp, 8
test eax, eax
jne 0x42763e
or esi, 0xffffffff
jmp 0x427642
sub eax, dword [edi]
mov esi, eax
push esi
lea edx, [ebp - 0x118]
push edx
mov ecx, edi
call fcn.00403bd0
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x10c]
push eax
call fcn.00404550
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42768d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, edi
call fcn.00404180
mov dword [ebp - 4], 2
lea esi, [ebx + 0x110]
push eax
mov ecx, esi
call fcn.00404550
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4276db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0042e490
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4276f5
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 5
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jle 0x427773
push 0x2e
push eax
call fcn.0053270f
add esp, 8
test eax, eax
je 0x427773
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x427773
push eax
lea ecx, [ebp - 0x118]
push ecx
mov ecx, esi
call fcn.00403bd0
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x120]
call fcn.00404550
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42777f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42777f
push esi
lea ecx, [ebp - 0x120]
call fcn.00404550
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, 0x2f
mov word [ebp - 0x11c], cx
lea edx, [ebp - 0x11c]
push edx
push eax
call fcn.004022e0
add esp, 8
push eax
lea ecx, [ebp - 0x118]
call fcn.00401f50
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x118]
cmp dword [eax - 0xc], 0
je 0x4278c3
push str.uninstall
lea ecx, [ebp - 0x118]
call fcn.00402c70
test eax, eax
jne 0x4278a5
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
push str.uninstall
call fcn.00401f50
mov byte [ebp - 4], 0xa
push 0
mov byte [ebp - 4], 9
call fcn.00405c90
add esp, 8
mov ecx, dword [0x5bc074]
push ecx
push 0
push 0x1f0003
mov edi, dword [sym.imp.KERNEL32.dll_OpenEventA]
call edi
mov esi, eax
test esi, esi
je 0x427837
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x5bc078]
push edx
push 0
push 0x1f0003
call edi
mov esi, eax
test esi, esi
je 0x427866
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x118]
call fcn.00401690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00401690
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052f5f0
mov esp, ebp
pop ebp
ret
push str.update
lea ecx, [ebp - 0x118]
call fcn.00402c70
test eax, eax
jne 0x4278c3
mov dword [ebx + 0x114], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x118]
call fcn.00401690
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.00415e10
mov byte [ebp - 4], 0xc
mov eax, dword [0x5bc06c]
add eax, 0xfffffff0
push eax
call fcn.00401350
add esp, 4
add eax, 0x10
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x180]
call fcn.00414830
test eax, eax
jle 0x427c9d
lea ecx, [ebp - 0x180]
call fcn.00416170
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.main
call fcn.00401f50
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x180]
call fcn.00413b30
test eax, eax
je 0x427964
lea ecx, [ebx + 0x120]
add eax, 8
push eax
call fcn.00404550
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.updater
call fcn.00401f50
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x180]
call fcn.00413b30
test eax, eax
je 0x42799d
lea ecx, [ebx + 0x124]
add eax, 8
push eax
call fcn.00404550
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.c_exe
call fcn.00401f50
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x11c], esp
push str.main
call fcn.00401f50
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x180]
call fcn.00413c10
mov esi, eax
test esi, esi
je 0x427db7
call fcn.0042e490
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4279fe
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0x14
call fcn.0042e490
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x427a2e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov bl, 0x16
mov byte [ebp - 4], bl
mov ecx, dword [esi + 8]
push ecx
mov edx, dword [esi + 4]
push edx
push str._s_s
lea eax, [ebp - 0x11c]
push eax
call fcn.004019c0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00404b50
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
setne al
test eax, eax
jne 0x427a88
push 0x80004005
call fcn.00401000
mov eax, dword [edi]
push ecx
push eax
call fcn.00530a45
add esp, 8
test eax, eax
jne 0x427b45
lea edx, [ebp - 0x118]
push edx
push ecx
mov dword [ebp - 0x134], esp
mov esi, esp
mov dword [ebp - 0x130], esi
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00401350
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], bl
call fcn.00405240
add esp, 8
mov eax, dword [ebp - 0x118]
cmp dword [eax - 0xc], 0
jne 0x427b2e
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
push str.byboot
call fcn.0041b150
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
push edi
call fcn.00401630
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
lea edx, [ebp - 0x120]
push edx
call fcn.00401630
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], bl
call fcn.004057f0
add esp, 0xc
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x124]
call fcn.00427010
jmp 0x427c72
push ecx
mov dword [ebp - 0x128], esp
mov esi, esp
mov dword [ebp - 0x130], esi
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
push eax
call fcn.00401350
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], bl
call fcn.00403960
add esp, 4
test eax, eax
je 0x427c72
lea ecx, [ebp - 0x118]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
lea edx, [ebp - 0x11c]
push edx
call fcn.00401630
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], bl
call fcn.00405240
add esp, 8
mov eax, dword [ebp - 0x118]
cmp dword [eax - 0xc], 0
je 0x427c1e
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.00402440
add esp, 8
test eax, eax
je 0x427c0f
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x11c]
call fcn.00401690
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x118]
call fcn.00401690
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x12c]
call fcn.00401690
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.00415e70
jmp 0x427875
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x427c72
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push str.byboot
call fcn.0041b150
mov byte [ebp - 4], 0x1f
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea eax, [ebp - 0x11c]
push eax
call fcn.00401630
mov byte [ebp - 4], 0x20
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp - 0x120]
push edx
call fcn.00401630
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], bl
call fcn.004057f0
add esp, 0xc
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427c98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x427d8b
call fcn.0042e490
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x427cb7
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
mov bl, 0x25
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x118]
push ecx
push ecx
mov dword [ebp - 0x128], esp
mov esi, esp
mov dword [ebp - 0x130], esi
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00401350
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], bl
call fcn.00405240
add esp, 8
mov edx, dword [ebp - 0x118]
cmp dword [edx - 0xc], 0
jne 0x427d80
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push str.byboot
call fcn.0041b150
mov byte [ebp - 4], 0x28
push ecx
mov dword [ebp - 0x130], esp
mov esi, esp
mov dword [ebp - 0x134], esi
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00401350
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2a
mov dword [ebp - 0x134], esp
mov esi, esp
mov dword [ebp - 0x11c], esi
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
push eax
call fcn.00401350
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x2c
mov byte [ebp - 4], bl
call fcn.004057f0
add esp, 0xc
mov ecx, dword [ebp - 0x124]
call fcn.00426c30
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427db1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x124]
mov ecx, ebx
call fcn.00425d00
test eax, eax
jne 0x427e29
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427de8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.00415e70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427887
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x427887
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, ebx
call fcn.004267a0
test eax, eax
jne 0x427e73
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427e62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.00415e70
jmp 0x427df7
push 0x1ac
call fcn.0042d694
add esp, 4
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0x32
test eax, eax
je 0x427e99
push 0
mov ecx, eax
call fcn.00428960
jmp 0x427e9b
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0x20], eax
mov edx, dword [eax]
push 0
push 0x66
mov ecx, eax
mov eax, dword [edx + 0x160]
call eax
push 0
mov ecx, dword [ebx + 0xb8]
call fcn.0043a973
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427eeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
call fcn.00415e70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427f23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x427889