Function at 0x1001d270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6dc
mov eax, dword [0x100c7394]
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 0x1001d32c
test esi, esi
je 0x1001d2de
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d2b0
sub ecx, edx
sar ecx, 1
je 0x1001d2de
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.1004d14a
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 0x1001d32c
push 0x228
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.10056af0
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 0x1001d341
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.1004d14a
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.10056af0
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
add esp, 0xc
xor ebx, ebx
nop dword [eax]
cmp esi, dword [ebp - 0x430]
je 0x1001d47f
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10056af0
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 0x1001d3ce
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001d3ce
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001d3b0
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 0x1001d479
push str.LDSBox.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x1001d4ba
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 0x1001d440
sub ecx, edx
sar ecx, 1
je 0x1001d46f
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 0x1001d4bf
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 0x1001d370
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.1004d14a
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.1004d14a
mov esp, ebp
pop ebp
ret 8