Function at 0x4716d0
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 0x4dba4a
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x515080]
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 - 0x280], esi
xor edi, edi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x4717bf
lea eax, [ebp - 0x27c]
push eax
call fcn.004757d0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
push eax
call fcn.00409b90
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471768
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x280]
push 0x158
call fcn.004a1f32
add esp, 4
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0xc]
push ecx
mov ecx, eax
call fcn.0044c2f0
mov edi, eax
mov byte [ebp - 4], 0
mov ecx, edi
mov dword [ebp - 0x2a0], edi
call fcn.0044c8d0
mov dword [ebp - 0x278], eax
test eax, eax
jne 0x4726f9
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x40]
cmp dword [eax - 0xc], 0
je 0x4717bf
push ecx
mov ecx, esi
call fcn.00409b90
mov ecx, esi
call fcn.00476000
mov dword [ebp - 0x278], eax
test eax, eax
jne 0x4726f9
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x47180b
cmp ecx, 1
je 0x47180b
cmp ecx, 2
je 0x47180b
cmp ecx, 3
je 0x47180b
cmp ecx, 0xb
je 0x47180b
cmp ecx, 4
je 0x47180b
mov eax, dword [esi + 0xc]
lea edx, [esi + 0xc]
mov dword [ebp - 0x288], edx
cmp dword [eax - 0xc], 0
je 0x47180b
cmp ecx, 0xa
jne 0x471874
lea eax, [ebp - 0x27c]
push eax
call fcn.004757d0
mov byte [ebp - 4], 4
lea ecx, [esi + 0xc]
push eax
mov dword [ebp - 0x288], ecx
call fcn.00409b90
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471874
mov eax, dword [ecx]
mov dword [ebp - 0x284], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x284]
call esi
mov eax, dword [ebp - 0x288]
mov esi, dword [ebp - 0x280]
mov dword [ebp - 0x288], eax
test edi, edi
jne 0x4718e4
push 0x158
call fcn.004a1f32
add esp, 4
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 6
mov ecx, eax
push dword [ebp - 0x288]
call fcn.0044c2f0
mov edi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2a0], edi
lea ecx, [esi + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x4718cf
push ecx
lea ecx, [edi + 0x90]
call fcn.00409b90
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x4718cf
mov byte [edi + 0xd8], 1
mov ecx, edi
call fcn.0044c8d0
mov dword [ebp - 0x278], eax
test eax, eax
jg 0x4726f9
mov eax, dword [esi + 4]
test eax, eax
je 0x471908
cmp eax, 1
je 0x471908
cmp eax, 2
je 0x471908
cmp eax, 3
je 0x471908
cmp eax, 4
je 0x471908
cmp eax, 0xb
jne 0x471a67
call fcn.004046f0
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x472744
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x27c]
call esi
add eax, 0x10
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x27c]
push dword [edi]
push str.SoftwareCaphyonAdvanced_Updater_s
push eax
call fcn.00408d80
mov esi, dword [ebp - 0x27c]
lea eax, [ebp - 0x288]
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 0x4719b8
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471a61
mov eax, dword [ecx]
mov dword [ebp - 0x27c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x27c]
jmp 0x471a5f
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x516d44]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x29c]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x288]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x471a23
push 4
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0
push eax
push 4
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x288]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x288]
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 0x471a61
mov eax, dword [ecx]
mov dword [ebp - 0x27c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x27c]
call esi
mov esi, dword [ebp - 0x280]
lea eax, [esi + 0x8c]
push eax
lea ecx, [edi + 0x5c]
call fcn.00409b90
lea eax, [esi + 0x90]
push eax
lea ecx, [edi + 0x60]
call fcn.00409b90
lea eax, [esi + 0x94]
push eax
lea ecx, [edi + 0x64]
call fcn.00409b90
lea eax, [esi + 0x98]
push eax
lea ecx, [edi + 0x68]
call fcn.00409b90
mov eax, dword [esi + 0xa0]
lea ecx, [esi + 0xa0]
cmp dword [eax - 0xc], 0
je 0x471ac8
cmp dword [edi + 8], 0
jle 0x47274e
push ecx
mov ecx, dword [edi + 4]
call fcn.00409b90
push edi
mov ecx, esi
call fcn.00479190
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.00409b90
mov al, byte [esi + 0x168]
lea ecx, [edi + 0x98]
mov byte [edi + 0x9c], al
lea eax, [esi + 0x164]
push eax
call fcn.00409b90
mov al, byte [esi + 0x16a]
mov byte [edi + 0x86], al
mov al, byte [esi + 0x16b]
mov byte [edi + 0x87], al
mov al, byte [esi + 0x16d]
add esi, 0x170
mov byte [edi + 0x88], al
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x471b53
push esi
lea ecx, [edi + 0x48]
call fcn.00409b90
mov ecx, dword [edi + 0x18]
sub ecx, 0x10
call fcn.00402750
lea esi, [eax + 0x10]
mov dword [ebp - 0x29c], esi
mov byte [ebp - 4], 0xc
lea ecx, [esi - 0x10]
call fcn.00402750
add eax, 0x10
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x288]
call fcn.0040ecb0
push 0xb
push str.updater.log
lea ecx, [ebp - 0x288]
call fcn.004025b0
mov eax, dword [edi + 0xdc]
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x471bff
mov ecx, dword [esi - 0xc]
cmp ecx, 2
jb 0x471bff
test ecx, ecx
js 0x472758
cmp word [esi], 0x5c
jne 0x471bd5
cmp ecx, 1
jl 0x472758
cmp word [esi + 2], 0x5c
jne 0x471bde
jmp 0x471be5
cmp ecx, 1
jl 0x472758
cmp word [esi + 2], 0x3a
jne 0x471bff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x471bff
push ecx
lea ecx, [ebp - 0x288]
call fcn.0040f8c0
add esp, 4
call fcn.0042b3e0
lea ecx, [ebp - 0x288]
push ecx
mov ecx, eax
call fcn.0042b570
call fcn.0042b3e0
mov esi, eax
mov byte [ebp - 0x290], 0
mov cl, byte [esi + 0x18]
lea edi, [esi + 0x18]
mov dword [ebp - 0x294], esi
test cl, cl
jne 0x471c3b
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
xchg byte [edi], al
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x27c], 0
setne al
mov byte [esi + 0x1c], al
mov byte [ebp - 4], 0xe
mov al, byte [ebp - 0x290]
test al, al
jne 0x471c7c
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x290]
xchg byte [ecx], al
call fcn.0042b3e0
mov esi, eax
mov byte [ebp - 0x2a4], 0
mov cl, byte [esi + 0x18]
lea edi, [esi + 0x18]
mov dword [ebp - 0x2a8], esi
test cl, cl
jne 0x471ca5
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
xchg byte [edi], al
push dword [ebp - 0x2a8]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x27c]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 0xe
mov al, byte [ebp - 0x2a4]
test al, al
jne 0x471ce2
push dword [ebp - 0x2a8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
lea ecx, [ebp - 0x2a4]
xchg byte [ecx], al
call fcn.0042b3e0
cmp byte [eax + 0x1c], 0
je 0x471e19
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x471e19
call fcn.0042b3e0
mov dword [ebp - 0x290], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x472744
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x284]
push 0x17
push str.Running_updater._Mode:
call fcn.004025b0
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x284]
push dword [eax + 4]
call fcn.0042adf0
mov dword [ebp - 0x2a4], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x472744
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x298]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
push dword [ebp - 0x2a4]
lea eax, [ebp - 0x298]
push ecx
mov ecx, dword [ebp - 0x290]
push eax
call fcn.0042b770
mov byte [ebp - 4], 0x13
or eax, 0xffffffff
mov ecx, dword [ebp - 0x298]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471deb
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xe
or eax, 0xffffffff
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471e19
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x280]
mov edi, dword [ebp - 0x2a0]
mov dword [ebp - 0x290], edi
mov eax, dword [esi + 4]
cmp eax, 0x16
ja case.0x471e3e.5
movzx eax, byte [eax + 0x4727a8]
jmp dword [eax*4 + 0x47276c]
cmp byte [esi + 0x168], 0
je 0x471e62
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x471e62
push edi
mov ecx, esi
call 0x4727c0
push edi
mov ecx, esi
call fcn.00472990
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x471e8b
push edi
mov ecx, esi
call 0x4727c0
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
je 0x4720e8
cmp dword [edi + 8], 0
je 0x4720e8
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4720e8
mov eax, dword [edi + 0x14]
cmp dword [eax - 0xc], 0
je 0x4720e8
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x2b4], edi
mov byte [ebp - 0x2b0], 0
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x2c0]
push dword [esi + 4]
lea ecx, [ebp - 0x244]
push eax
push edi
lea eax, [esi + 0x18]
push eax
call fcn.00447ed0
mov byte [ebp - 4], 0x1d
lea ecx, [esi + 0xa8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x471f26
push ecx
lea ecx, [ebp - 0x228]
call fcn.00409b90
mov al, byte [esi + 0x169]
test al, al
je 0x471f36
mov byte [ebp - 0x22c], al
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x471f49
mov byte [ebp - 0x21c], 1
push 0
push 0
lea ecx, [ebp - 0x244]
call fcn.00447fb0
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x244]
call fcn.0043c370
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2c0]
test eax, eax
je 0x47200e
cmp dword [ebp - 0x2bc], 0
mov dword [ebp - 0x298], 0
jle 0x471ffb
xor ecx, ecx
mov dword [ebp - 0x284], ecx
nop word [eax + eax]
mov edi, dword [ebp - 0x2c0]
push 0
lea eax, [ecx + edi]
mov eax, dword [eax]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx + edi]
call esi
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x284]
inc eax
add ecx, 0x16c
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x284], ecx
cmp eax, dword [ebp - 0x2bc]
jl 0x471fa0
mov edi, dword [ebp - 0x290]
mov esi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x2c0]
push eax
call fcn.004aba31
add esp, 4
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
mov ecx, dword [ebp - 0x278]
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x472069
cmp byte [esi + 0x168], 0
jne 0x472069
cmp byte [esi + 0x15c], 0
jne 0x47204e
test ecx, ecx
je 0x472689
mov eax, dword [esi + 4]
cmp eax, 0xb
je 0x472069
cmp eax, 0xc
je 0x472069
push edi
mov ecx, esi
call 0x4727c0
mov ecx, dword [ebp - 0x278]
test ecx, ecx
je 0x472689
cmp ecx, 0xe0000011
je 0x472689
cmp ecx, 0xe0000027
je 0x472689
cmp ecx, 0xe0000008
je 0x472689
cmp ecx, 0x4c7
je 0x472689
cmp ecx, 0x642
je 0x472689
cmp ecx, 0xe0000029
je 0x472689
cmp dword [esi + 4], 0
jne 0x472689
cmp byte [esi + 0xa4], 0
jne 0x472689
call fcn.004046f0
mov dword [ebp - 0x290], eax
test eax, eax
je 0x472762
jmp 0x472464
mov ecx, 0xe0000007
mov dword [ebp - 0x278], ecx
jmp 0x472028
cmp byte [esi + 0x168], 0
je 0x472115
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x472115
push edi
mov ecx, esi
call 0x4727c0
push edi
mov ecx, esi
call fcn.00472ca0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
sub esp, 8
lea ecx, [ebp - 0x274]
push edi
call fcn.00485f50
mov byte [ebp - 4], 0x1f
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x47216d
mov eax, dword [esi + 0x84]
jmp 0x472173
mov eax, dword [ebp - 0x290]
push ecx
push eax
lea ecx, [ebp - 0x274]
call fcn.00456270
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x274]
call fcn.00455fe0
xor ecx, ecx
mov dword [ebp - 0x278], ecx
jmp 0x472028
push edi
mov ecx, esi
call fcn.00473110
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
push edi
mov ecx, esi
call fcn.00473410
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
push edi
mov ecx, esi
call fcn.00474400
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
push edi
mov ecx, esi
call fcn.004746f0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
mov dword [esi + 0x148], edi
lea ecx, [esi + 0x120]
push dword [esi + 0x178]
call fcn.0045e960
test al, al
je 0x472241
lea ecx, [esi + 0x120]
call fcn.0045e090
test al, al
je 0x472241
lea ecx, [esi + 0x120]
call fcn.0045e7b0
test al, al
je 0x472241
lea ecx, [esi + 0x120]
call fcn.0045d630
xor ecx, ecx
mov dword [ebp - 0x278], ecx
jmp 0x472028
mov ecx, 0xe000000b
mov dword [ebp - 0x278], ecx
jmp 0x472028
mov eax, dword [esi + 0x14c]
mov dword [ebp - 0x2b8], 0x4efb88
mov dword [ebp - fcn.0041ba20], 0x4efb7c
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x248], 0x4f04a8
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x220], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2b4]
movq qword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x248]
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [0x517c64], eax
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x284]
push eax
push 0x60000
push 0xf003f
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x284], 0
call fcn.00421890
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x290], eax
cmp eax, ecx
je 0x472337
mov ecx, dword [ebp - 0x248]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x4e2514]
lea ecx, [ebp - 0x248]
call esi
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x244], ecx
mov esi, dword [ebp - 0x280]
test ecx, ecx
jne 0x47237d
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x278], ecx
test ecx, ecx
je 0x47237d
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], 0x4f04a8
test eax, eax
je 0x472028
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x244], 0
jmp case.0x471e3e.5
lea eax, [ebp - 0x248]
push eax
call fcn.004747c0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x47234b
push edi
mov ecx, esi
call fcn.00474a90
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
push edi
mov ecx, esi
call fcn.00475080
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
mov ecx, dword [esi + 0x180]
xorps xmm0, xmm0
mov eax, dword [esi + 0x17c]
mov dword [ebp - 0x244], eax
movlpd qword [ebp - 0x240], xmm0
mov eax, dword [ebp - 0x240]
movlpd qword [ebp - 0x250], xmm0
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x22c], xmm0
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x254], 0x3c
cmp dword [ecx - 0xc], 0
mov dword [ebp - 0x238], 1
cmovne eax, ecx
mov dword [ebp - 0x248], str.open
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor ecx, ecx
mov dword [ebp - 0x278], ecx
jmp 0x472028
push ecx
mov ecx, esi
call fcn.00473970
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472028
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x290]
call esi
add eax, 0x10
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0x25
lea edx, [ebp - 0x27c]
mov esi, dword [ebp - 0x278]
mov ecx, esi
call fcn.004479f0
mov edx, 0x8e
lea ecx, [ebp - 0x280]
call fcn.0040a810
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x280]
push 3
push 0x4f50f8
call fcn.004025b0
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x280]
push dword [eax - 0xc]
push eax
call fcn.004025b0
lea eax, [esi - 0x2ee0]
cmp eax, 0xaf
ja 0x4725a0
mov esi, dword [edi + 0x154]
cmp dword [esi - 0xc], 0
je 0x4725a0
mov edx, 0x43a
lea ecx, [ebp - 0x28c]
call fcn.0040a810
mov byte [ebp - 4], 0x27
push esi
push dword [eax]
lea eax, [ebp - 0x2ac]
push eax
call fcn.00402860
add esp, 0xc
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x280]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025b0
mov byte [ebp - 4], 0x27
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2ac]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x472568
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 [0x4e2514]
mov ecx, dword [ebp - 0x290]
call esi
mov byte [ebp - 4], 0x26
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4725a0
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 [0x4e2514]
mov ecx, dword [ebp - 0x290]
call esi
mov ecx, dword [edi + 0x34]
sub ecx, 0x10
call fcn.00402750
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c4], esi
mov byte [ebp - 4], 0x2d
call dword [sym.imp.USER32.dll_GetActiveWindow]
push ecx
mov ecx, esp
mov dword [ebp - 0x28c], eax
push ecx
mov eax, esp
mov edx, 0x10
mov dword [ecx], esi
mov ecx, dword [ebp - 0x280]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x28c]
call fcn.004201e0
add esp, 8
mov byte [ebp - 4], 0x26
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x472619
mov eax, dword [ecx]
mov dword [ebp - 0x28c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28c]
call esi
mov byte [ebp - 4], 0x25
or eax, 0xffffffff
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x472651
mov eax, dword [ecx]
mov dword [ebp - 0x28c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28c]
call esi
mov byte [ebp - 4], 0xe
or eax, 0xffffffff
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x472689
mov eax, dword [ecx]
mov dword [ebp - 0x28c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28c]
call esi
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4726c1
mov eax, dword [ecx]
mov dword [ebp - 0x28c], eax
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28c]
call esi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4726f9
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 [0x4e2514]
mov ecx, dword [ebp - 0x29c]
call esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x472719
mov ecx, edi
call fcn.00479a70
push 0x158
push edi
call fcn.004a1f24
add esp, 8
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x2a0], 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.004a1bc0
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402720
push 0x8000000b
call fcn.00402720
push 0x80070057
call fcn.00402720
push 0x80004005
call fcn.00402720
inc ebp
push ds
inc edi
add al, bh
and byte [edi], al
sub ah, byte [ecx]
inc edi
add byte [ecx + 0x21b10047], bl
inc edi
add dh, al
and dword [edi], eax
ja 0x4727a4
inc edi
add bl, bl
and dword [edi], eax
push ecx
and al, byte [edi]
lock and dword [edi], eax
xchg ebx, eax
and eax, dword [edi]
test al, 0x23
inc edi
add byte [ebp + 0x4f004723], bh
and al, 0x47
add byte [edx], ah
and byte [edi], al
add byte [ecx], al
add dword [ecx], eax
add cl, byte [esi]
and ah, byte [eax]
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 - 326412852]
push -1
push 0x4dbacd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x472977
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx + 0x160]
push eax
lea ecx, [ebp - 0x10]
call fcn.00461430
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x472977
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebx + 0x164]
push eax
lea ecx, [ebp - 0x10]
call fcn.00461430
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x472977
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
push 0x4ed694
call fcn.00403700
test al, al
jne 0x4728b7
push 0
push 0x4ed694
lea ecx, [ebp - 0x10]
call fcn.00403890
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push ecx
push eax
sub esp, 0xc
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040d0a0
add esp, 0x18
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x472902
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x47290e
call fcn.00481c20
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x472938
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x472963
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402720
int3