Function at 0x530b60
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x578da1
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28c]
mov eax, dword [esp + 0x288]
xor esi, esi
push 0x206
lea ecx, [esp + 0x72]
push esi
push ecx
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov word [esp + 0x78], si
call sub.MSVCR80.dll_memset
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x284], esi
mov dword [esp + 0x1c], esi
call fcn.00416c10
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
mov byte [esp + 0x288], 1
call fcn.00416ce0
lea edi, [esp + 0x14]
mov byte [esp + 0x280], 2
call fcn.004101e0
mov byte [esp + 0x280], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x530c47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
je 0x530c7f
mov ecx, eax
lea edi, [ecx + 2]
jmp 0x530c60
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x530c60
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy]
add esp, 0xc
lea eax, [esp + 0x6c]
push str.svchost.exe
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x530dc0
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push esi
push 0x400
or edi, 0xffffffff
call ebx
mov esi, eax
test esi, esi
je 0x530d4a
push str.NtQueryInformationProcess
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x18
lea ecx, [esp + 0x5c]
push ecx
push 0
push esi
call eax
test eax, eax
jne 0x530ce3
mov edi, dword [esp + 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x530d4a
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00416ce0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x530d2a
mov eax, edi
call fcn.004170b0
test eax, eax
je 0x530d2a
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x530d4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
xor edi, edi
push edi
push 1
call ebx
mov esi, eax
test esi, esi
je 0x530d69
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
mov ebx, edi
je 0x530d74
add dword [esp + 0x18], 1
cmp dword [esp + 0x18], 2
jb 0x530d86
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x530dc0
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x530d91
mov esi, dword [esp + 0x20]
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
add esi, 0x24
push esi
call fcn.00410240
push 1
push 0x58cbf8
push esi
call fcn.00410240
lea esi, [esp + 0x24]
call fcn.00416c90
mov dword [esp + 0x280], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x530df4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00569ed6
add esp, 0x270
ret 8