Function at 0x471810
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 0x4dbbaa
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 0x4718ff
lea eax, [ebp - 0x27c]
push eax
call fcn.00475910
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 0x4718a8
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.004a2062
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 0x472839
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x40]
cmp dword [eax - 0xc], 0
je 0x4718ff
push ecx
mov ecx, esi
call fcn.00409b90
mov ecx, esi
call fcn.00476140
mov dword [ebp - 0x278], eax
test eax, eax
jne 0x472839
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x47194b
cmp ecx, 1
je 0x47194b
cmp ecx, 2
je 0x47194b
cmp ecx, 3
je 0x47194b
cmp ecx, 0xb
je 0x47194b
cmp ecx, 4
je 0x47194b
mov eax, dword [esi + 0xc]
lea edx, [esi + 0xc]
mov dword [ebp - 0x288], edx
cmp dword [eax - 0xc], 0
je 0x47194b
cmp ecx, 0xa
jne 0x4719b4
lea eax, [ebp - 0x27c]
push eax
call fcn.00475910
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 0x4719b4
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 0x471a24
push 0x158
call fcn.004a2062
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 0x471a0f
push ecx
lea ecx, [edi + 0x90]
call fcn.00409b90
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x471a0f
mov byte [edi + 0xd8], 1
mov ecx, edi
call fcn.0044c8d0
mov dword [ebp - 0x278], eax
test eax, eax
jg 0x472839
mov eax, dword [esi + 4]
test eax, eax
je 0x471a48
cmp eax, 1
je 0x471a48
cmp eax, 2
je 0x471a48
cmp eax, 3
je 0x471a48
cmp eax, 4
je 0x471a48
cmp eax, 0xb
jne 0x471ba7
call fcn.004046f0
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x472884
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 0x471af8
mov byte [ebp - 4], 0
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x471ba1
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 0x471b9f
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 0x471b63
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 0x471ba1
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 0x471c08
cmp dword [edi + 8], 0
jle 0x47288e
push ecx
mov ecx, dword [edi + 4]
call fcn.00409b90
push edi
mov ecx, esi
call fcn.004792d0
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 0x471c93
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 0x471d3f
mov ecx, dword [esi - 0xc]
cmp ecx, 2
jb 0x471d3f
test ecx, ecx
js 0x472898
cmp word [esi], 0x5c
jne 0x471d15
cmp ecx, 1
jl 0x472898
cmp word [esi + 2], 0x5c
jne 0x471d1e
jmp 0x471d25
cmp ecx, 1
jl 0x472898
cmp word [esi + 2], 0x3a
jne 0x471d3f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x471d3f
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 0x471d7b
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 0x471dbc
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 0x471de5
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 0x471e22
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 0x471f59
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x471f59
call fcn.0042b3e0
mov dword [ebp - 0x290], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x472884
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 0x472884
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 0x471f2b
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 0x471f59
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.0x471f7e.5
movzx eax, byte [eax + 0x4728e8]
jmp dword [eax*4 + 0x4728ac]
cmp byte [esi + 0x168], 0
je 0x471fa2
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x471fa2
push edi
mov ecx, esi
call 0x472900
push edi
mov ecx, esi
call fcn.00472ad0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x471fcb
push edi
mov ecx, esi
call 0x472900
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
je 0x472228
cmp dword [edi + 8], 0
je 0x472228
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x472228
mov eax, dword [edi + 0x14]
cmp dword [eax - 0xc], 0
je 0x472228
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 0x472066
push ecx
lea ecx, [ebp - 0x228]
call fcn.00409b90
mov al, byte [esi + 0x169]
test al, al
je 0x472076
mov byte [ebp - 0x22c], al
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x472089
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 0x47214e
cmp dword [ebp - 0x2bc], 0
mov dword [ebp - 0x298], 0
jle 0x47213b
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 0x4720e0
mov edi, dword [ebp - 0x290]
mov esi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x2c0]
push eax
call fcn.004abb61
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 0x4721a9
cmp byte [esi + 0x168], 0
jne 0x4721a9
cmp byte [esi + 0x15c], 0
jne 0x47218e
test ecx, ecx
je 0x4727c9
mov eax, dword [esi + 4]
cmp eax, 0xb
je 0x4721a9
cmp eax, 0xc
je 0x4721a9
push edi
mov ecx, esi
call 0x472900
mov ecx, dword [ebp - 0x278]
test ecx, ecx
je 0x4727c9
cmp ecx, 0xe0000011
je 0x4727c9
cmp ecx, 0xe0000027
je 0x4727c9
cmp ecx, 0xe0000008
je 0x4727c9
cmp ecx, 0x4c7
je 0x4727c9
cmp ecx, 0x642
je 0x4727c9
cmp ecx, 0xe0000029
je 0x4727c9
cmp dword [esi + 4], 0
jne 0x4727c9
cmp byte [esi + 0xa4], 0
jne 0x4727c9
call fcn.004046f0
mov dword [ebp - 0x290], eax
test eax, eax
je 0x4728a2
jmp 0x4725a4
mov ecx, 0xe0000007
mov dword [ebp - 0x278], ecx
jmp 0x472168
cmp byte [esi + 0x168], 0
je 0x472255
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x472255
push edi
mov ecx, esi
call 0x472900
push edi
mov ecx, esi
call fcn.00472de0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
sub esp, 8
lea ecx, [ebp - 0x274]
push edi
call fcn.004860a0
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 0x4722ad
mov eax, dword [esi + 0x84]
jmp 0x4722b3
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 0x472168
push edi
mov ecx, esi
call fcn.00473250
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
push edi
mov ecx, esi
call fcn.00473550
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
push edi
mov ecx, esi
call fcn.00474540
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
push edi
mov ecx, esi
call fcn.00474830
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
mov dword [esi + 0x148], edi
lea ecx, [esi + 0x120]
push dword [esi + 0x178]
call fcn.0045e960
test al, al
je 0x472381
lea ecx, [esi + 0x120]
call fcn.0045e090
test al, al
je 0x472381
lea ecx, [esi + 0x120]
call fcn.0045e7b0
test al, al
je 0x472381
lea ecx, [esi + 0x120]
call fcn.0045d630
xor ecx, ecx
mov dword [ebp - 0x278], ecx
jmp 0x472168
mov ecx, 0xe000000b
mov dword [ebp - 0x278], ecx
jmp 0x472168
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 0x472477
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 0x4724bd
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x278], ecx
test ecx, ecx
je 0x4724bd
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], 0x4f04a8
test eax, eax
je 0x472168
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x244], 0
jmp case.0x471f7e.5
lea eax, [ebp - 0x248]
push eax
call fcn.00474900
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x47248b
push edi
mov ecx, esi
call fcn.00474bd0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
push edi
mov ecx, esi
call fcn.004751c0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
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 0x472168
push ecx
mov ecx, esi
call fcn.00473ab0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x472168
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 0x4726e0
mov esi, dword [edi + 0x154]
cmp dword [esi - 0xc], 0
je 0x4726e0
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 0x4726a8
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 0x4726e0
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 0x472759
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 0x472791
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 0x4727c9
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 0x472801
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 0x472839
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 0x472859
mov ecx, edi
call fcn.00479bb0
push 0x158
push edi
call fcn.004a2054
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.004a1cf0
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
test dword [edi], ebx
inc edi
add byte [eax], bh
and al, byte [edi]
push 0x22
inc edi
add ah, bl
and al, byte [edi]
int1
and al, byte [edi]
push es
and eax, dword [edi]
mov bh, 0x1f
inc edi
add byte [ebx], bl
and eax, dword [edi]
xchg ecx, eax
and eax, dword [edi]
xor byte [ebx], ah
inc edi
add bl, dl
and al, 0x47
add al, ch
and al, 0x47
add ch, bh
and al, 0x47
add byte [edi + 0x62004725], cl
and dword [edi], eax
add byte [ecx], al
add dword [ecx], eax
add cl, byte [esi]
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 0x4dbc2d
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 0x472ab7
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 0x472ab7
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 0x472ab7
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 0x4729f7
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 0x472a42
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 0x472a4e
call fcn.00481d60
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 0x472a78
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 0x472aa3
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