Function at 0x1001d130
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6dc
mov eax, dword [0x100c6394]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x6d8], ebx
call dword [eax]
cmp byte [ebx + 0xb8], 0
je 0x1001d1ec
test esi, esi
je 0x1001d19e
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d170
sub ecx, edx
sar ecx, 1
je 0x1001d19e
push edi
push esi
lea ecx, [ebx + 8]
call fcn.10011310
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004d00a
mov esp, ebp
pop ebp
ret 8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x6d0], ebx
cmp ebx, 0xffffffff
je 0x1001d1ec
push 0x228
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.100569b0
add esp, 0xc
mov dword [ebp - 0x438], 0x22c
lea eax, [ebp - 0x438]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1001d201
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004d00a
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
lea eax, [ebp - 0x6cc]
push 0x294
push 0
push eax
mov dword [ebp - 0x6d4], esi
call fcn.100569b0
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
add esp, 0xc
xor ebx, ebx
nop dword [eax]
cmp esi, dword [ebp - 0x430]
je 0x1001d33f
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100569b0
lea eax, [ebp - 0x20c]
add esp, 0xc
lea esi, [ebp - 0x414]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
nop word [eax + eax]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1001d28e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001d28e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001d270
lea ecx, [eax - 2]
test edx, edx
push str.LDSGameHall.exe
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x1001d339
push str.LDSBox.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x1001d37a
xor eax, eax
lea edi, [ebp - 0x20c]
mov ecx, 0x82
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x430]
call fcn.10007080
lea ecx, [ebp - 0x20c]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d300
sub ecx, edx
sar ecx, 1
je 0x1001d32f
mov ecx, dword [ebp - 0x6d8]
lea eax, [ebp - 0x6cc]
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ecx + 8]
call fcn.10011310
mov ebx, eax
test ebx, ebx
jne 0x1001d37f
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov esi, dword [ebp - 0x6d4]
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x6d0]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001d230
push dword [ebp - 0x6d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004d00a
mov esp, ebp
pop ebp
ret 8
mov ebx, 1
push dword [ebp - 0x6d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004d00a
mov esp, ebp
pop ebp
ret 8