Function at 0x502b66
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
mov eax, 0x575e9b
call fcn.0051f140
sub esp, 0xd8c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 8], ebx
je 0x502b90
cmp dword [esi + 0xc], ebx
je 0x502b90
cmp dword [esi + 0x10], ebx
je 0x502b90
cmp dword [esi + 0x14], ebx
jne 0x502b9a
call sub.WINMM.dll_timeGetTime
cmp eax, dword [esi + 4]
jae 0x502ba1
xor eax, eax
jmp 0x502f26
push edi
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x10], eax
push ecx
push eax
mov dword [ebp - 0x14], ebx
call sub.KERNEL32.dll_Process32First
mov edi, 0xc5b6a
lea eax, [ebp - 0x15c]
push eax
call sub.MSVCRT.dll_strlen
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x15c]
mov dword [esp], str.MSDEV.EXE
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x502bf2
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
cmp dword [ebp - 0x18], 8
pop ecx
jne 0x502cd8
cmp byte [ebp - 0x158], 0x2e
jne 0x502d98
cmp byte [ebp - 0x15c], 0x7a
jne 0x502d98
cmp byte [ebp - 0x15a], 0x77
jne 0x502d98
cmp byte [ebp - 0x157], 0x65
jne 0x502d98
cmp byte [ebp - 0x155], 0x65
jne 0x502d98
cmp byte [ebp - 0x15b], 0x66
jne 0x502d98
cmp byte [ebp - 0x159], 0x73
jne 0x502d98
cmp byte [ebp - 0x156], 0x78
jne 0x502d98
cmp dword [ebp - 0x16c], 2
jb 0x502d98
cmp dword [esi + 8], ebx
jne 0x502d98
cmp dword [ebp - 0x14], ebx
mov dword [esi + 8], 1
jne 0x502d98
lea ecx, [ebp - 0x990]
call fcn.004e371c
push 0x64
push 0x5d
push 1
push ebx
push ebx
push edi
lea ecx, [ebp - 0x990]
mov dword [ebp - 4], ebx
call fcn.004e3782
test eax, eax
je 0x502cc9
lea ecx, [ebp - 0x990]
call fcn.004dd0dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x990]
call fcn.004e3777
cmp dword [ebp - 0x18], 0xa
jne 0x502d98
cmp byte [ebp - 0x158], 0x6f
jne 0x502d98
cmp byte [ebp - 0x15c], 0x7a
jne 0x502d98
cmp byte [ebp - 0x15a], 0x68
jne 0x502d98
cmp byte [ebp - 0x157], 0x6b
jne 0x502d98
cmp byte [ebp - 0x155], 0x65
jne 0x502d98
cmp byte [ebp - 0x15b], 0x66
jne 0x502d98
cmp byte [ebp - 0x159], 0x6f
jne 0x502d98
cmp byte [ebp - 0x156], 0x2e
jne 0x502d98
cmp byte [ebp - 0x154], 0x78
jne 0x502d98
cmp dword [esi + 0xc], ebx
jne 0x502d98
cmp dword [ebp - 0x14], ebx
mov dword [esi + 0xc], 1
jne 0x502d98
lea ecx, [ebp - 0x588]
call fcn.004e371c
push 0x64
push 0x5d
push 2
push ebx
push ebx
push edi
lea ecx, [ebp - 0x588]
mov dword [ebp - 4], 1
call fcn.004e3782
test eax, eax
je 0x502d89
lea ecx, [ebp - 0x588]
call fcn.004dd0dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call fcn.004e3777
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x502bc2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x1c], 8
jle 0x502e11
cmp dword [esi + 0x10], ebx
jne 0x502e11
lea ecx, [ebp - 0x588]
mov dword [esi + 0x10], 1
call fcn.004e371c
push 0x64
push 0x5d
push 3
push ebx
push ebx
push edi
lea ecx, [ebp - 0x588]
mov dword [ebp - 4], 2
call fcn.004e3782
test eax, eax
je 0x502dff
lea ecx, [ebp - 0x588]
call fcn.004dd0dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
mov dword [esi + 0x1c], ebx
call fcn.004e3777
cmp dword [esi + 0x20], 8
jle 0x502e63
cmp dword [esi + 0x14], ebx
jne 0x502e63
lea ecx, [ebp - 0x588]
call fcn.004e371c
push 0x64
push 0x5d
push 4
push ebx
push ebx
push edi
lea ecx, [ebp - 0x588]
mov dword [ebp - 4], 3
call fcn.004e3782
test eax, eax
je 0x502e51
lea ecx, [ebp - 0x588]
call fcn.004dd0dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
mov dword [esi + 0x20], ebx
call fcn.004e3777
cmp dword [esi + 0x18], ebx
jne 0x502f04
lea eax, [ebp - 0x58]
push 0x5c8eec
push eax
mov dword [esi + 0x18], 1
mov byte [ebp - 0x58], 0x57
mov byte [ebp - 0x57], 0x53
mov byte [ebp - 0x56], 0x32
mov byte [ebp - 0x55], 0x5f
mov byte [ebp - 0x54], 0x33
mov byte [ebp - 0x53], 0x32
mov byte [ebp - 0x52], 0x2e
mov byte [ebp - 0x51], 0x44
mov byte [ebp - 0x50], 0x4c
mov byte [ebp - 0x4f], 0x4c
mov byte [ebp - 0x4e], bl
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x502f04
lea ecx, [ebp - 0xd98]
call fcn.004e371c
push 0x64
push 0x5d
push 5
push ebx
push ebx
push edi
lea ecx, [ebp - 0xd98]
mov dword [ebp - 4], 4
call fcn.004e3782
test eax, eax
je 0x502eeb
lea ecx, [ebp - 0xd98]
call fcn.004dd0dd
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_fclose]
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0xd98]
call fcn.004e3777
push ebx
push 0x493e0
call fcn.005187bb
pop ecx
mov edi, eax
pop ecx
call sub.WINMM.dll_timeGetTime
lea eax, [edi + eax + 0x493e0]
push 1
mov dword [esi + 4], eax
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret