Function at 0x473cd0
Capabilities:
Check if file exists
Create process on windows
Get graphical window text
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51116b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x569080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x298], esi
xor edi, edi
mov dword [ebp - 0x2b4], edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x473dbf
lea eax, [ebp - 0x290]
push eax
call fcn.00478ce0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
push eax
call fcn.00409df0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x290]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x473d68
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x298]
push 0x158
call fcn.004d4062
add esp, 4
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0xc]
push ecx
mov ecx, eax
call fcn.004501d0
mov edi, eax
mov byte [ebp - 4], 0
mov ecx, edi
mov dword [ebp - 0x2b4], edi
call fcn.004507b0
mov dword [ebp - 0x294], eax
test eax, eax
jne 0x474e27
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x40]
cmp dword [eax - 0xc], 0
je 0x473dbf
push ecx
mov ecx, esi
call fcn.00409df0
mov ecx, esi
call fcn.00479530
mov dword [ebp - 0x294], eax
test eax, eax
jne 0x474e27
mov edx, 0xfd
lea ecx, [ebp - 0x29c]
call fcn.004496b0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov edx, dword [eax]
mov ecx, edx
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x290], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473e13
sub ecx, dword [ebp - 0x290]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00403f80
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x473e71
mov eax, dword [ecx]
mov dword [ebp - 0x290], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x290]
call esi
mov esi, dword [ebp - 0x298]
cmp dword [ebp - 0x220], 0
je 0x473e81
mov byte [esi + 0x16c], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x473ec5
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x473ebb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474e72
push ecx
push edx
call fcn.004d4054
add esp, 8
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
test ecx, ecx
je 0x473f19
cmp ecx, 1
je 0x473f19
cmp ecx, 2
je 0x473f19
cmp ecx, 3
je 0x473f19
cmp ecx, 0xb
je 0x473f19
cmp ecx, 4
je 0x473f19
mov eax, dword [esi + 0xc]
lea edx, [esi + 0xc]
mov dword [ebp - 0x2a8], edx
cmp dword [eax - 0xc], 0
je 0x473f19
cmp ecx, 0xa
jne 0x473f82
lea eax, [ebp - 0x290]
push eax
call fcn.00478ce0
mov byte [ebp - 4], 8
lea ecx, [esi + 0xc]
push eax
mov dword [ebp - 0x2a8], ecx
call fcn.00409df0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x290]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x473f82
mov eax, dword [ecx]
mov dword [ebp - 0x29c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x29c]
call esi
mov eax, dword [ebp - 0x2a8]
mov esi, dword [ebp - 0x298]
mov dword [ebp - 0x2a8], eax
test edi, edi
jne 0x473ff2
push 0x158
call fcn.004d4062
add esp, 4
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 0xa
mov ecx, eax
push dword [ebp - 0x2a8]
call fcn.004501d0
mov edi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2b4], edi
lea ecx, [esi + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x473fdd
push ecx
lea ecx, [edi + 0x90]
call fcn.00409df0
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x473fdd
mov byte [edi + 0xd8], 1
mov ecx, edi
call fcn.004507b0
mov dword [ebp - 0x294], eax
test eax, eax
jg 0x474e27
mov eax, dword [esi + 4]
test eax, eax
je 0x474016
cmp eax, 1
je 0x474016
cmp eax, 2
je 0x474016
cmp eax, 3
je 0x474016
cmp eax, 4
je 0x474016
cmp eax, 0xb
jne 0x474175
call fcn.004047f0
mov dword [ebp - 0x290], eax
test eax, eax
je 0x474e77
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x290]
call esi
add eax, 0x10
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x290]
push dword [edi]
push str.SoftwareCaphyonAdvanced_Updater_s
push eax
call fcn.00408fe0
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x2a8]
add esp, 0xc
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4740c6
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x47416f
mov eax, dword [ecx]
mov dword [ebp - 0x290], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x290]
jmp 0x47416d
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x56b0cc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2a8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x474131
push 4
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0
push eax
push 4
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2a8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2a8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x47416f
mov eax, dword [ecx]
mov dword [ebp - 0x290], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x290]
call esi
mov esi, dword [ebp - 0x298]
lea eax, [esi + 0x8c]
push eax
lea ecx, [edi + 0x5c]
call fcn.00409df0
lea eax, [esi + 0x90]
push eax
lea ecx, [edi + 0x60]
call fcn.00409df0
lea eax, [esi + 0x94]
push eax
lea ecx, [edi + 0x64]
call fcn.00409df0
lea eax, [esi + 0x98]
push eax
lea ecx, [edi + 0x68]
call fcn.00409df0
mov eax, dword [esi + 0xa0]
lea ecx, [esi + 0xa0]
cmp dword [eax - 0xc], 0
je 0x4741d6
cmp dword [edi + 8], 0
jle 0x474e81
push ecx
mov ecx, dword [edi + 4]
call fcn.00409df0
push edi
mov ecx, esi
call fcn.0047ca00
mov al, byte [esi + 0x11c]
lea ecx, [edi + 0x94]
mov byte [edi + 0x84], al
mov al, byte [esi + 0x11d]
mov byte [edi + 0x85], al
lea eax, [esi + 0x160]
push eax
call fcn.00409df0
mov al, byte [esi + 0x168]
lea ecx, [edi + 0x98]
mov byte [edi + 0x9c], al
lea eax, [esi + 0x164]
push eax
call fcn.00409df0
mov al, byte [esi + 0x16a]
mov byte [edi + 0x86], al
mov al, byte [esi + 0x16b]
mov byte [edi + 0x87], al
mov al, byte [esi + 0x16c]
mov byte [edi + 0x88], al
mov al, byte [esi + 0x16e]
add esi, 0x170
mov byte [edi + 0x89], al
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x47426d
push esi
lea ecx, [edi + 0x48]
call fcn.00409df0
mov ecx, dword [edi + 0x18]
sub ecx, 0x10
call fcn.00402800
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x10
lea ecx, [esi - 0x10]
call fcn.00402800
lea edx, [eax + 0x10]
mov dword [ebp - 0x2a8], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x4742c8
lea eax, [ecx - 1]
test eax, eax
js 0x474e8b
cmp eax, ecx
jg 0x474e8b
cmp word [edx + eax*2], 0x5c
je 0x4742c8
push 0x5c
lea ecx, [ebp - 0x2a8]
call fcn.0040bd00
push 0xb
push str.updater.log
lea ecx, [ebp - 0x2a8]
call fcn.00402660
mov edi, dword [edi + 0xdc]
test edi, edi
je 0x474336
mov eax, dword [esi - 0xc]
cmp eax, 2
jb 0x474336
test eax, eax
js 0x474e8b
cmp word [esi], 0x5c
jne 0x47430c
cmp eax, 1
jl 0x474e8b
cmp word [esi + 2], 0x5c
je 0x47431c
jmp 0x474315
cmp eax, 1
jl 0x474e8b
cmp word [esi + 2], 0x3a
jne 0x474336
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x474336
push ecx
lea ecx, [ebp - 0x2a8]
call fcn.0040fa40
add esp, 4
call fcn.0042b830
lea ecx, [ebp - 0x2a8]
push ecx
mov ecx, eax
call fcn.0042b9c0
call fcn.0042b830
mov esi, eax
mov byte [ebp - 0x2a0], 0
mov dword [ebp - 0x2a4], esi
mov cl, byte [esi + 0x18]
test cl, cl
jne 0x474372
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
lea ecx, [esi + 0x18]
xchg byte [ecx], al
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x13
test edi, edi
setne al
mov byte [esi + 0x1c], al
mov byte [ebp - 4], 0x12
mov al, byte [ebp - 0x2a0]
test al, al
jne 0x4743ae
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x2a0]
xchg byte [ecx], al
call fcn.0042b830
mov esi, eax
mov byte [ebp - 0x2a0], 0
mov dword [ebp - 0x2a4], esi
mov cl, byte [esi + 0x18]
test cl, cl
jne 0x4743d7
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
lea ecx, [esi + 0x18]
xchg byte [ecx], al
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x14
mov dword [esi + 0x20], edi
mov byte [ebp - 4], 0x12
mov al, byte [ebp - 0x2a0]
test al, al
jne 0x47440e
push dword [ebp - 0x2a4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x2a0]
xchg byte [ecx], al
call fcn.0042b830
cmp byte [eax + 0x1c], 0
je 0x474545
call fcn.0042b830
test byte [eax + 0x20], 8
je 0x474545
call fcn.0042b830
mov dword [ebp - 0x2a0], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x474e77
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x290]
push 0x17
push str.Running_updater._Mode:
call fcn.00402660
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x290]
push dword [eax + 4]
call fcn.0042b240
mov dword [ebp - 0x2ac], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x474e77
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x29c]
push 0
push 0x530654
call fcn.00402660
push ecx
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x29c]
push ecx
mov ecx, dword [ebp - 0x2a0]
push eax
call fcn.0042bba0
mov byte [ebp - 4], 0x17
or eax, 0xffffffff
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474517
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x12
or eax, 0xffffffff
mov ecx, dword [ebp - 0x290]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474545
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x298]
mov edi, dword [ebp - 0x2b4]
mov dword [ebp - 0x2a0], edi
mov eax, dword [esi + 4]
cmp eax, 0x16
ja case.0x47456a.5
movzx eax, byte [eax + 0x474edc]
jmp dword [eax*4 + 0x474ea0]
cmp byte [esi + 0x168], 0
je 0x47458e
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x47458e
push edi
mov ecx, esi
call fcn.00474f00
push edi
mov ecx, esi
call fcn.004750d0
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x4745b7
push edi
mov ecx, esi
call fcn.00474f00
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
je 0x474818
cmp dword [edi + 8], 0
je 0x474818
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x474818
mov eax, dword [edi + 0x14]
cmp dword [eax - 0xc], 0
je 0x474818
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x220], edi
mov byte [ebp - 0x21c], 0
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x22c]
push dword [esi + 4]
lea ecx, [ebp - 0x25c]
push eax
push edi
lea eax, [esi + 0x18]
push eax
call fcn.0044be90
mov byte [ebp - 4], 0x21
lea ecx, [esi + 0xa8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x474652
push ecx
lea ecx, [ebp - 0x240]
call fcn.00409df0
mov al, byte [esi + 0x169]
test al, al
je 0x474662
mov byte [ebp - 0x244], al
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x474675
mov byte [ebp - 0x234], 1
push 0
push 0
lea ecx, [ebp - 0x25c]
call fcn.0044bf70
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x25c]
call fcn.0043eb70
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x47473e
cmp dword [ebp - 0x228], 0
mov dword [ebp - 0x29c], 0
jle 0x47472b
xor ecx, ecx
mov dword [ebp - 0x290], ecx
nop word [eax + eax]
mov edi, dword [ebp - 0x22c]
push 0
lea eax, [ecx + edi]
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x290]
lea ecx, [ecx + edi]
call esi
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x290]
inc eax
add ecx, 0x16c
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x290], ecx
cmp eax, dword [ebp - 0x228]
jl 0x4746d0
mov edi, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x298]
mov eax, dword [ebp - 0x22c]
push eax
call fcn.004ddca1
add esp, 4
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x294]
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x474799
cmp byte [esi + 0x168], 0
jne 0x474799
cmp byte [esi + 0x15c], 0
jne 0x47477e
test ecx, ecx
je 0x474db7
mov eax, dword [esi + 4]
cmp eax, 0xb
je 0x474799
cmp eax, 0xc
je 0x474799
push edi
mov ecx, esi
call fcn.00474f00
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x474db7
cmp ecx, 0xe0000011
je 0x474db7
cmp ecx, 0xe0000027
je 0x474db7
cmp ecx, 0xe0000008
je 0x474db7
cmp ecx, 0x4c7
je 0x474db7
cmp ecx, 0x642
je 0x474db7
cmp ecx, 0xe0000029
je 0x474db7
cmp dword [esi + 4], 0
jne 0x474db7
cmp byte [esi + 0xa4], 0
jne 0x474db7
call fcn.004047f0
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x474e95
jmp 0x474b92
mov ecx, 0xe0000007
mov dword [ebp - 0x294], ecx
jmp 0x474758
cmp byte [esi + 0x168], 0
je 0x474845
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x474845
push edi
mov ecx, esi
call fcn.00474f00
push edi
mov ecx, esi
call fcn.004753a0
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
sub esp, 8
lea ecx, [ebp - 0x28c]
push edi
call fcn.00489d60
mov byte [ebp - 4], 0x23
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x47489d
mov eax, dword [esi + 0x84]
jmp 0x4748a3
mov eax, dword [ebp - 0x2a0]
push ecx
push eax
lea ecx, [ebp - 0x28c]
call fcn.004598f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28c]
call fcn.00459770
xor ecx, ecx
mov dword [ebp - 0x294], ecx
jmp 0x474758
push edi
mov ecx, esi
call fcn.004757c0
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
push edi
mov ecx, esi
call fcn.00475b20
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
push edi
mov ecx, esi
call fcn.00477900
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
push edi
mov ecx, esi
call fcn.00477bf0
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
push dword [esi + 0x178]
lea ecx, [esi + 0x120]
mov dword [esi + 0x148], edi
call fcn.00461010
test al, al
je 0x474971
lea ecx, [esi + 0x120]
call fcn.00460740
test al, al
je 0x474971
lea ecx, [esi + 0x120]
call fcn.00460e60
test al, al
je 0x474971
lea ecx, [esi + 0x120]
call fcn.0045fcb0
xor ecx, ecx
mov dword [ebp - 0x294], ecx
jmp 0x474758
mov ecx, 0xe000000b
mov dword [ebp - 0x294], ecx
jmp 0x474758
mov eax, dword [esi + 0x14c]
mov dword [ebp - 0x224], 0x532b48
mov dword [ebp - fcn.0041c170], 0x532b3c
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x260], 0x533468
mov dword [ebp - 0x25c], 0
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x224]
mov dword [ebp - 0x238], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x220]
movq qword [ebp - 0x248], xmm0
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x260]
movups xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [0x56bfec], eax
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x290]
push eax
push 0x60000
push 0xf003f
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x290], 0
call fcn.00421f20
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x2a0], eax
cmp eax, ecx
je 0x474a67
mov ecx, dword [ebp - 0x260]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x525578]
lea ecx, [ebp - 0x260]
call esi
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x25c], ecx
mov esi, dword [ebp - 0x298]
test ecx, ecx
jne 0x474a7d
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x294], eax
test eax, eax
je 0x474a7d
jmp 0x474a8f
lea eax, [ebp - 0x260]
push eax
call fcn.00477cc0
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], 0x533468
test eax, eax
je case.0x47456a.5
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x25c], 0
jmp case.0x47456a.5
push edi
mov ecx, esi
call fcn.00477f90
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
push edi
mov ecx, esi
call fcn.00478580
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
mov ecx, dword [esi + 0x180]
xorps xmm0, xmm0
mov eax, dword [esi + 0x17c]
mov dword [ebp - 0x25c], eax
movlpd qword [ebp - 0x258], xmm0
mov eax, dword [ebp - 0x258]
movlpd qword [ebp - 0x268], xmm0
movlpd qword [ebp - 0x24c], xmm0
movlpd qword [ebp - 0x244], xmm0
movlpd qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x26c], 0x3c
cmp dword [ecx - 0xc], 0
mov dword [ebp - 0x250], 1
cmovne eax, ecx
mov dword [ebp - 0x260], str.open
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor ecx, ecx
mov dword [ebp - 0x294], ecx
jmp 0x474758
push ecx
mov ecx, esi
call fcn.00476230
mov ecx, eax
mov dword [ebp - 0x294], ecx
jmp 0x474758
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2a0]
call esi
add eax, 0x10
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0x29
lea edx, [ebp - 0x290]
mov esi, dword [ebp - 0x294]
mov ecx, esi
call fcn.0044b920
mov edx, 0x8e
lea ecx, [ebp - 0x298]
call fcn.0040aa60
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x298]
push 3
push 0x538c10
call fcn.00402660
mov eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x298]
push dword [eax - 0xc]
push eax
call fcn.00402660
lea eax, [esi - 0x2ee0]
cmp eax, 0xaf
ja 0x474cce
mov esi, dword [edi + 0x154]
cmp dword [esi - 0xc], 0
je 0x474cce
mov edx, 0x43a
lea ecx, [ebp - 0x29c]
call fcn.0040aa60
mov byte [ebp - 4], 0x2b
push esi
push dword [eax]
lea eax, [ebp - 0x2a0]
push eax
call fcn.00402910
add esp, 0xc
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x298]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402660
mov byte [ebp - 4], 0x2b
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2a0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474c96
mov eax, dword [ecx]
mov dword [ebp - 0x2ac], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2ac]
call esi
mov byte [ebp - 4], 0x2a
or eax, 0xffffffff
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474cce
mov eax, dword [ecx]
mov dword [ebp - 0x2ac], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2ac]
call esi
mov ecx, dword [edi + 0x34]
sub ecx, 0x10
call fcn.00402800
lea esi, [eax + 0x10]
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 0x31
call dword [sym.imp.USER32.dll_GetActiveWindow]
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], eax
push ecx
mov eax, esp
mov edx, 0x10
mov dword [ecx], esi
mov ecx, dword [ebp - 0x298]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2a0]
call fcn.00420870
add esp, 8
mov byte [ebp - 4], 0x2a
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474d47
mov eax, dword [ecx]
mov dword [ebp - 0x2a0], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2a0]
call esi
mov byte [ebp - 4], 0x29
or eax, 0xffffffff
mov ecx, dword [ebp - 0x298]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474d7f
mov eax, dword [ecx]
mov dword [ebp - 0x2a0], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2a0]
call esi
mov byte [ebp - 4], 0x12
or eax, 0xffffffff
mov ecx, dword [ebp - 0x290]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474db7
mov eax, dword [ecx]
mov dword [ebp - 0x2a0], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2a0]
call esi
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2a8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474def
mov eax, dword [ecx]
mov dword [ebp - 0x2a0], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2a0]
call esi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2b0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x474e27
mov eax, dword [ecx]
mov dword [ebp - 0x2b0], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x2b0]
call esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x474e47
mov ecx, edi
call fcn.0047d3c0
push 0x158
push edi
call fcn.004d4054
add esp, 8
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x2b4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret
call fcn.004d91af
push 0x80004005
call fcn.004027d0
push 0x8000000b
call fcn.004027d0
push 0x80070057
call fcn.004027d0
push 0x80004005
call fcn.004027d0
nop
jno 0x474ee7
inc edi
add byte [eax], ch
dec eax
inc edi
add byte [edx + 0x48], bl
inc edi
add ah, cl
dec eax
inc edi
add cl, ah
dec eax
inc edi
add dh, dh
dec eax
inc edi
add byte [ebx + 0xb004745], ah
dec ecx
inc edi
add byte [ecx + 0x20004749], al
dec ecx
inc edi
add cl, al
dec edx
inc edi
add dh, dl
dec edx
inc edi
add bl, ch
dec edx
inc edi
add byte [ebp + 0x4b], bh
inc edi
add byte [edx + 0x47], dl
inc edi
add byte [eax], al
add dword [ecx], eax
add dword [edx], eax
push cs
add eax, dword [esp + eax]
add al, 5
push es
push es
pop es
pop es
pop es
or byte [edi], al
or dword [edx], ecx
or ecx, dword [ecx - 858993460]
int3