Function at 0x100e03a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018a4dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
lea eax, [ebx + 0x10]
mov dword [esp + 0x68], eax
add eax, 4
push eax
mov dword [esp + 0x68], 0x101975f4
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
xor esi, esi
push 3
lea ecx, [esp + 0x134]
mov dword [esp + 0x1c8], esi
call fcn.10013620
cmp byte [ebx + 0x70], 0
mov byte [esp + 0x1c0], 1
je 0x100e085f
lea ecx, [esp + 0x24]
call fcn.100ab2a0
mov dword [esp + 0x28], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 8], eax
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
mov byte [esp + 0x1c4], 2
call fcn.100e0170
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
lea edi, [esp + 0x24]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
test edi, edi
mov ebp, dword [esp + 0x28]
je 0x100e0480
lea edx, [esp + 0x24]
cmp edi, edx
je 0x100e0485
call fcn.1015828d
cmp esi, ebp
je 0x100e0779
test edi, edi
jne 0x100e0496
call fcn.1015828d
cmp esi, dword [edi + 4]
jne 0x100e04a0
call fcn.1015828d
mov eax, dword [esi + 0xc]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x18], ebx
jne 0x100e0599
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 3
lea ecx, [esp + 0xac]
mov ebp, eax
call fcn.10013620
cmp esi, dword [edi + 4]
mov byte [esp + 0x1c0], 3
jne 0x100e04e9
call fcn.1015828d
mov edi, 0x10
cmp dword [esi + 0x28], edi
jb 0x100e04f8
mov esi, dword [esi + 0x14]
jmp 0x100e04fb
add esi, 0x14
push ebp
push str.____Err_
push esi
lea ecx, [esp + 0xb8]
push str.ERROR:
push ecx
call fcn.10012340
add esp, 8
push eax
call fcn.10012340
add esp, 8
push eax
call fcn.10012340
add esp, 8
mov ecx, eax
call fcn.100133a0
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0xa8]
call fcn.1000abd0
cmp dword [eax + 0x18], edi
jb 0x100e054b
mov eax, dword [eax + 4]
jmp 0x100e054e
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x60], edi
jb 0x100e0568
mov eax, dword [esp + 0x4c]
push eax
call fcn.10157f3b
add esp, 4
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1c0], 2
call fcn.10004960
lea ecx, [esp + 0xf8]
push ecx
mov dword [esp + 0xfc], 0x101975f8
call fcn.101575fb
jmp 0x100e0755
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x80]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push 0
push 0x989680
push eax
push ecx
call fcn.1015a9c0
mov edx, dword [esp + 0x40]
push 0
push 0x989680
mov ebp, eax
mov eax, dword [esp + 0x44]
push edx
push eax
call fcn.1015a9c0
mov edx, dword [esp + 0x18]
push 0x28
lea ecx, [esp + 0x80]
push ecx
push edx
mov ebx, eax
call sub.PSAPI.DLL_GetProcessMemoryInfo
cmp esi, dword [edi + 4]
jne 0x100e0605
call fcn.1015828d
cmp dword [esi + 0x28], 0x10
jb 0x100e0610
mov eax, dword [esi + 0x14]
jmp 0x100e0613
lea eax, [esi + 0x14]
mov ecx, dword [esp + 0x84]
push 0x101984fc
push ecx
push 0x101984f4
add ebp, ebx
push ebp
push 0x101984f4
push eax
lea edx, [esp + 0x14c]
push edx
call fcn.10012340
add esp, 8
push eax
call fcn.10012340
add esp, 8
mov ecx, eax
call fcn.100133a0
push eax
call fcn.10012340
add esp, 8
mov ecx, eax
call fcn.100133a0
push eax
call fcn.10012340
add esp, 8
push 1
push 3
lea ecx, [esp + 0xac]
call fcn.10013620
cmp esi, dword [edi + 4]
mov byte [esp + 0x1c0], 4
jne 0x100e0689
call fcn.1015828d
mov edi, 0x10
cmp dword [esi + 0x28], edi
jb 0x100e0698
mov esi, dword [esi + 0x14]
jmp 0x100e069b
add esi, 0x14
mov eax, dword [esp + 0x84]
push 0x101984fc
push eax
push 0x101984f4
push ebp
push 0x101984f4
lea ecx, [esp + 0xc0]
push esi
push ecx
call fcn.10012340
add esp, 8
push eax
call fcn.10012340
add esp, 8
mov ecx, eax
call fcn.100133a0
push eax
call fcn.10012340
add esp, 8
mov ecx, eax
call fcn.100133a0
push eax
call fcn.10012340
add esp, 8
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0xa8]
call fcn.1000abd0
cmp dword [eax + 0x18], edi
jb 0x100e0708
mov eax, dword [eax + 4]
jmp 0x100e070b
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x60], edi
jb 0x100e0725
mov eax, dword [esp + 0x4c]
push eax
call fcn.10157f3b
add esp, 4
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1c0], 2
call fcn.10004960
lea ecx, [esp + 0xf8]
push ecx
mov dword [esp + 0xfc], 0x101975f8
call fcn.101575fb
mov ebx, dword [esp + 0x1c]
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
call fcn.100369c0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
jmp 0x100e0470
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
push esi
lea eax, [esp + 0x28]
push eax
mov edx, eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, edx
mov byte [esp + 0x1d4], 1
call fcn.100dfce0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.10157f3b
add esp, 4
lea eax, [ebx + 0x2c]
lea esi, [eax + 4]
push esi
mov dword [esp + 0x20], 0x101975f4
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x130]
mov byte [esp + 0x1c4], 5
call fcn.1000abd0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x48]
mov byte [esp + 0x1cc], 6
call fcn.10001a10
cmp dword [esp + 0x60], 0x10
jb 0x100e0809
mov edx, dword [esp + 0x4c]
push edx
call fcn.10157f3b
add esp, 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
lea ecx, [esp + 0x180]
mov byte [esp + 0x1c0], 0
call fcn.10004960
lea eax, [esp + 0x180]
push eax
mov dword [esp + 0x184], 0x101975f8
call fcn.101575fb
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
call esi
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x68]
mov edi, dword [eax]
lea ebp, [ebx + 0x64]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebp
nop
test ebp, ebp
mov esi, dword [ebx + 0x68]
lea eax, [ebx + 0x64]
je 0x100e087e
cmp ebp, eax
je 0x100e0883
call fcn.1015828d
cmp edi, esi
je 0x100e07ae
test ebp, ebp
mov dword [esp + 0x18], 0
jne 0x100e089c
call fcn.1015828d
cmp edi, dword [ebp + 4]
jne 0x100e08a6
call fcn.1015828d
cmp dword [edi + 0x24], 0x10
jb 0x100e08b1
mov eax, dword [edi + 0x10]
jmp 0x100e08b4
lea eax, [edi + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, ebx
call fcn.100df7d0
mov eax, dword [esp + 0x18]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100e09b1
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x80]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0
push 0x989680
push edx
push eax
call fcn.1015a9c0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push 0
push 0x989680
push ecx
push edx
mov ebx, eax
call fcn.1015a9c0
mov dword [esp + 0x18], eax
push 0x28
lea eax, [esp + 0x80]
push eax
push esi
call sub.PSAPI.DLL_GetProcessMemoryInfo
cmp edi, dword [ebp + 4]
jne 0x100e0947
call fcn.1015828d
cmp dword [edi + 0x24], 0x10
jb 0x100e0952
mov edi, dword [edi + 0x10]
jmp 0x100e0955
add edi, 0x10
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x18]
push 0x101984fc
push ecx
push 0x101984f4
add edx, ebx
push edx
push 0x101984f4
lea eax, [esp + 0x148]
push edi
push eax
call fcn.10012340
add esp, 8
push eax
call fcn.10012340
add esp, 8
mov ecx, eax
call fcn.100133a0
push eax
call fcn.10012340
add esp, 8
mov ecx, eax
call fcn.100133a0
push eax
call fcn.10012340
mov ebx, dword [esp + 0x40]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
call fcn.10046970
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
jmp 0x100e0870