Function at 0x465890
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 0x4b11ce
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x4e4050]
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 - 0x27c], esi
xor edi, edi
mov dword [ebp - 0x294], edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x46596c
lea eax, [ebp - 0x284]
push eax
call fcn.00469560
mov byte [ebp - 4], 1
lea edi, [esi + 0xc]
push eax
mov ecx, edi
call fcn.00408f80
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465918
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x158
call fcn.0047e2ef
add esp, 4
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 3
mov ecx, eax
push edi
call fcn.00443800
mov edi, eax
mov byte [ebp - 4], 0
mov ecx, edi
mov dword [ebp - 0x294], edi
call fcn.00443ca0
mov dword [ebp - 0x278], eax
test eax, eax
jne 0x4665a4
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x40]
cmp dword [eax - 0xc], 0
je 0x46596c
push ecx
mov ecx, esi
call fcn.00408f80
mov ecx, esi
call fcn.00469c70
mov dword [ebp - 0x278], eax
test eax, eax
jne 0x4665a4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4659b8
cmp ecx, 1
je 0x4659b8
cmp ecx, 2
je 0x4659b8
cmp ecx, 3
je 0x4659b8
cmp ecx, 0xb
je 0x4659b8
cmp ecx, 4
je 0x4659b8
mov eax, dword [esi + 0xc]
lea edx, [esi + 0xc]
mov dword [ebp - 0x280], edx
cmp dword [eax - 0xc], 0
je 0x4659b8
cmp ecx, 0xa
jne 0x465a02
lea eax, [ebp - 0x284]
push eax
call fcn.00469560
mov byte [ebp - 4], 4
lea ecx, [esi + 0xc]
push eax
mov dword [ebp - 0x280], ecx
call fcn.00408f80
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465a02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0xc]
mov dword [ebp - 0x280], eax
test edi, edi
jne 0x465a72
push 0x158
call fcn.0047e2ef
add esp, 4
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 6
mov ecx, eax
push dword [ebp - 0x280]
call fcn.00443800
mov edi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x294], edi
lea ecx, [esi + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x465a5d
push ecx
lea ecx, [edi + 0x90]
call fcn.00408f80
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x465a5d
mov byte [edi + 0xd8], 1
mov ecx, edi
call fcn.00443ca0
mov dword [ebp - 0x278], eax
test eax, eax
jg 0x4665a4
mov eax, dword [esi + 4]
test eax, eax
je 0x465a96
cmp eax, 1
je 0x465a96
cmp eax, 2
je 0x465a96
cmp eax, 3
je 0x465a96
cmp eax, 4
je 0x465a96
cmp eax, 0xb
jne 0x465b96
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x4665ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x284]
push dword [edi]
push str.SoftwareCaphyonAdvanced_Updater_s
push eax
call fcn.00408190
mov esi, dword [ebp - 0x284]
lea eax, [ebp - 0x280]
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 0x465afd
jmp 0x465b74
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x4e53fc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x298]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x465b68
push 4
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], 0
push eax
push 4
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x465b90
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x27c]
lea eax, [esi + 0x8c]
push eax
lea ecx, [edi + 0x5c]
call fcn.00408f80
lea eax, [esi + 0x90]
push eax
lea ecx, [edi + 0x60]
call fcn.00408f80
lea eax, [esi + 0x94]
push eax
lea ecx, [edi + 0x64]
call fcn.00408f80
lea eax, [esi + 0x98]
push eax
lea ecx, [edi + 0x68]
call fcn.00408f80
mov eax, dword [esi + 0xa0]
lea ecx, [esi + 0xa0]
cmp dword [eax - 0xc], 0
je 0x465bf7
cmp dword [edi + 8], 0
jle 0x4665f9
push ecx
mov ecx, dword [edi + 4]
call fcn.00408f80
push edi
mov ecx, esi
call fcn.0046c860
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.00408f80
mov al, byte [esi + 0x168]
lea ecx, [edi + 0x98]
mov byte [edi + 0x9c], al
lea eax, [esi + 0x164]
push eax
call fcn.00408f80
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 0x465c82
push esi
lea ecx, [edi + 0x48]
call fcn.00408f80
mov ecx, dword [edi + 0x18]
sub ecx, 0x10
call fcn.004027f0
lea esi, [eax + 0x10]
mov dword [ebp - 0x298], esi
mov byte [ebp - 4], 0xc
lea ecx, [esi - 0x10]
call fcn.004027f0
add eax, 0x10
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x280]
call fcn.0040e870
push 0xb
push str.updater.log
lea ecx, [ebp - 0x280]
call fcn.00402670
mov eax, dword [edi + 0xdc]
mov dword [ebp - 0x284], eax
test eax, eax
je 0x465d2e
mov ecx, dword [esi - 0xc]
cmp ecx, 2
jb 0x465d2e
test ecx, ecx
js 0x466603
cmp word [esi], 0x5c
jne 0x465d04
cmp ecx, 1
jl 0x466603
cmp word [esi + 2], 0x5c
jne 0x465d0d
jmp 0x465d14
cmp ecx, 1
jl 0x466603
cmp word [esi + 2], 0x3a
jne 0x465d2e
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x465d2e
push ecx
lea ecx, [ebp - 0x280]
call fcn.0040f480
add esp, 4
call fcn.00429410
lea ecx, [ebp - 0x280]
push ecx
mov ecx, eax
call fcn.00429580
call fcn.00429410
mov esi, eax
mov byte [ebp - 0x28c], 0
mov cl, byte [esi + 0x18]
lea edi, [esi + 0x18]
mov dword [ebp - 0x290], esi
test cl, cl
jne 0x465d6a
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
xchg byte [edi], al
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x284], 0
setne al
mov byte [esi + 0x1c], al
mov byte [ebp - 4], 0xe
mov al, byte [ebp - 0x28c]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test al, al
jne 0x465dad
push dword [ebp - 0x290]
call edi
mov al, 1
lea ecx, [ebp - 0x28c]
xchg byte [ecx], al
call fcn.00429410
mov esi, eax
mov byte [ebp - 0x2a8], 0
mov dword [ebp - 0x2ac], esi
mov cl, byte [esi + 0x18]
test cl, cl
jne 0x465dd6
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
lea ecx, [esi + 0x18]
xchg byte [ecx], al
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x284]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 0xe
mov al, byte [ebp - 0x2a8]
test al, al
jne 0x465e0f
push dword [ebp - 0x2ac]
call edi
mov al, 1
lea ecx, [ebp - 0x2a8]
xchg byte [ecx], al
call fcn.00429410
cmp byte [eax + 0x1c], 0
je 0x465f15
call fcn.00429410
test byte [eax + 0x20], 8
je 0x465f15
call fcn.00429410
mov edi, eax
call fcn.00404500
test eax, eax
je 0x4665ef
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x288]
push 0x17
push str.Running_updater._Mode:
call fcn.00402670
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x288]
push dword [esi + 4]
call fcn.00428ed0
mov dword [ebp - 0x28c], eax
call fcn.00404500
test eax, eax
je 0x4665ef
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x29c]
push 0
push 0x4c4078
call fcn.00402670
push ecx
push dword [ebp - 0x28c]
lea eax, [ebp - 0x29c]
push ecx
push eax
mov ecx, edi
call fcn.00429750
mov byte [ebp - 4], 0x13
or edi, 0xffffffff
mov edx, dword [ebp - 0x29c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465ef2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465f1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x465f1b
mov esi, dword [ebp - 0x27c]
mov eax, dword [esi + 4]
mov edi, dword [ebp - 0x294]
cmp eax, 0x16
ja case.0x465f34.5
movzx eax, byte [eax + 0x466654]
jmp dword [eax*4 + 0x466618]
cmp byte [esi + 0x168], 0
je 0x465f58
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x465f58
push edi
mov ecx, esi
call fcn.00466670
push edi
mov ecx, esi
call fcn.004667f0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x465f81
push edi
mov ecx, esi
call fcn.00466670
push edi
mov ecx, esi
call fcn.00466b20
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
cmp byte [esi + 0x168], 0
je 0x465fb3
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x465fb3
push edi
mov ecx, esi
call fcn.00466670
push edi
mov ecx, esi
call fcn.00466cf0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
sub esp, 8
lea ecx, [ebp - 0x274]
push edi
call fcn.004787d0
mov byte [ebp - 4], 0x1b
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x46600b
mov eax, dword [esi + 0x84]
jmp 0x466011
mov eax, dword [ebp - 0x28c]
push ecx
push eax
lea ecx, [ebp - 0x274]
call fcn.0044cd30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x274]
call fcn.0044cac0
xor ecx, ecx
mov dword [ebp - 0x278], ecx
jmp 0x466210
push edi
mov ecx, esi
call fcn.004671d0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
push edi
mov ecx, esi
call fcn.004674b0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
push edi
mov ecx, esi
call fcn.00468460
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
push edi
mov ecx, esi
call fcn.00468750
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
mov dword [esi + 0x148], edi
lea ecx, [esi + 0x120]
push dword [esi + 0x178]
call fcn.00454690
test al, al
je 0x4660df
lea ecx, [esi + 0x120]
call fcn.00453c80
test al, al
je 0x4660df
lea ecx, [esi + 0x120]
call fcn.00454510
test al, al
je 0x4660df
lea ecx, [esi + 0x120]
call fcn.004533b0
xor ecx, ecx
mov dword [ebp - 0x278], ecx
jmp 0x466210
mov ecx, 0xe000000b
mov dword [ebp - 0x278], ecx
jmp 0x466210
mov eax, dword [esi + 0x14c]
mov dword [ebp - 0x2b8], 0x4c4a9c
mov dword [ebp - fcn.0041a7b0], 0x4c4a90
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x248], 0x4c53b0
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 0x1c
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 [0x4e62b4], eax
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x288]
push eax
push 0x60000
push 0xf003f
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x288], 0
call fcn.00420060
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x28c], eax
cmp eax, ecx
je 0x4661c5
mov edx, dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call dword [edx + 4]
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x244], ecx
test ecx, ecx
jne 0x4662cc
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x278], ecx
test ecx, ecx
je 0x4662cc
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], 0x4c53b0
test eax, eax
je 0x466210
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x244], 0
mov ecx, dword [ebp - 0x278]
mov eax, dword [esi + 0x160]
cmp dword [eax - 0xc], 0
je 0x466251
cmp byte [esi + 0x168], 0
jne 0x466251
cmp byte [esi + 0x15c], 0
jne 0x466236
test ecx, ecx
je 0x466560
mov eax, dword [esi + 4]
cmp eax, 0xb
je 0x466251
cmp eax, 0xc
je 0x466251
push edi
mov ecx, esi
call fcn.00466670
mov ecx, dword [ebp - 0x278]
test ecx, ecx
je 0x466560
cmp ecx, 0xe0000011
je 0x466560
cmp ecx, 0xe0000027
je 0x466560
cmp ecx, 0xe0000008
je 0x466560
cmp ecx, 0x4c7
je 0x466560
cmp ecx, 0x642
je 0x466560
cmp ecx, 0xe0000029
je 0x466560
cmp dword [esi + 4], 0
jne 0x466560
cmp byte [esi + 0xa4], 0
jne 0x466560
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x46660d
jmp 0x4663b6
lea eax, [ebp - 0x248]
push eax
call fcn.00468810
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x4661e1
push edi
mov ecx, esi
call fcn.00468bb0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
push edi
mov ecx, esi
call fcn.00469110
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
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 0x466210
push ecx
mov ecx, esi
call fcn.004679a0
mov ecx, eax
mov dword [ebp - 0x278], ecx
jmp 0x466210
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0x284]
mov esi, dword [ebp - 0x278]
mov ecx, esi
call fcn.0043f840
mov edx, 0x8e
lea ecx, [ebp - 0x27c]
call fcn.004099f0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x27c]
push 3
push 0x4c9fb8
call fcn.00402670
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x27c]
push dword [eax - 0xc]
push eax
call fcn.00402670
lea eax, [esi - 0x2ee0]
cmp eax, 0xaf
ja 0x4664b9
mov esi, dword [edi + 0x154]
cmp dword [esi - 0xc], 0
je 0x4664b9
mov edx, 0x43a
lea ecx, [ebp - 0x2a4]
call fcn.004099f0
mov byte [ebp - 4], 0x23
push esi
push dword [eax]
lea eax, [ebp - 0x2a0]
push eax
call fcn.004028a0
add esp, 0xc
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x27c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402670
mov byte [ebp - 4], 0x23
or esi, 0xffffffff
mov edx, dword [ebp - 0x2a0]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466498
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov eax, esi
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4664b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x34]
sub ecx, 0x10
call fcn.004027f0
lea esi, [eax + 0x10]
mov dword [ebp - 0x2bc], esi
mov byte [ebp - 4], 0x29
call dword [sym.imp.USER32.dll_GetActiveWindow]
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], eax
push ecx
mov eax, esp
mov edx, 0x10
mov dword [ecx], esi
mov ecx, dword [ebp - 0x27c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2a4]
call fcn.0041ed50
add esp, 8
mov byte [ebp - 4], 0x22
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46651e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
mov eax, esi
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46653f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466560
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466582
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x298]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4665a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4665c4
mov ecx, edi
call fcn.0046d030
push 0x158
push edi
call fcn.0047e2e1
add esp, 8
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x294], 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.0047de56
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004027c0
push 0x8000000b
call fcn.004027c0
push 0x80070057
call fcn.004027c0
push 0x80004005
call fcn.004027c0
nop
cmp ebx, dword [edi + 0x46]
add byte [esi - 939506081], dl
pop edi
inc esi
add byte [edx], bh
pushal
inc esi
add byte [edi + 0x60], cl
inc esi
add byte [eax + 0x46], ah
add byte [ebp + 0x5f], ch
inc esi
add byte [ecx + 0x60], bh
inc esi
add bh, ch
pushal
inc esi
add byte [esi - 0x1affb9a0], cl
bound eax, qword [esi]
cli
bound eax, qword [esi]
packsswb mm0, qword [esi]
mov eax, dword [167790179]
bound eax, qword [esi]
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 - 858993460]
int3