Function at 0x14c2600
Capabilities:
Create process memory minidump
Suspend thread

Disassembly:
push ebp
lea ebp, [esp - 0xa2c]
sub esp, 0xa2c
push 0xfffffffffffffffe
push 0x157abc8
push 0x152b130
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x158aa80]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0xa28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xa34]
mov dword [ebp - 0x20], eax
add dword [edi + 0x400c0], 1
xor ebx, ebx
mov byte [ebp + 0x104], bl
push 0x103
push ebx
lea ecx, [ebp + 0x105]
push ecx
call fcn.0152a100
mov byte [ebp + 0x514], bl
push 0x103
push ebx
lea edx, [ebp + 0x515]
push edx
call fcn.0152a100
add esp, 0x18
push 0x104
lea eax, [ebp + 0x514]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov byte [ebp + 0x208], bl
push 0x103
push ebx
lea ecx, [ebp + 0x209]
push ecx
call fcn.0152a100
mov byte [ebp + 0x30c], bl
push 0x103
push ebx
lea edx, [ebp + 0x30d]
push edx
call fcn.0152a100
mov byte [ebp + 0x924], bl
push 0x103
push ebx
lea eax, [ebp + 0x925]
push eax
call fcn.0152a100
push ebx
push ebx
push 0x104
lea ecx, [ebp + 0x924]
push ecx
push 0x104
lea edx, [ebp + 0x30c]
push edx
push 0x104
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0x514]
push ecx
call fcn.0152bfe2
add esp, 0x48
test eax, eax
je 0x14c2746
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa28]
xor ecx, ebp
call fcn.01529f5a
add ebp, 0xa2c
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov byte [ebp + 0x410], bl
push 0x103
push ebx
lea eax, [ebp + 0x411]
push eax
call fcn.0152a100
mov ecx, dword [edi + 0x400c0]
push ecx
movzx edx, word [ebp - 0x24]
push edx
movzx eax, word [ebp - 0x26]
push eax
movzx ecx, word [ebp - 0x28]
push ecx
movzx edx, word [ebp - 0x2a]
push edx
movzx eax, word [ebp - 0x2e]
push eax
movzx ecx, word [ebp - 0x30]
push ecx
push str.___04d__02d__02d__02d__02d__02d___d
push 0x104
lea edx, [ebp + 0x410]
push edx
call fcn.01481be0
add esp, 0x34
test eax, eax
je 0x14c27b4
mov eax, 0xfffffffe
jmp 0x14c271f
mov byte [ebp + 0x618], bl
push 0x103
push ebx
lea eax, [ebp + 0x619]
push eax
call fcn.0152a100
add esp, 0xc
mov esi, 0x104
lea eax, [ebp + 0x618]
lea edx, [ebp + 0x924]
mov ecx, eax
sub edx, ecx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x14c27ff
mov cl, byte [edx + eax]
cmp cl, bl
je 0x14c27ff
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x14c27e4
cmp esi, ebx
jne 0x14c280d
sub eax, 1
mov ecx, 0x8007007a
jmp 0x14c280f
mov ecx, ebx
mov byte [eax], bl
cmp ecx, ebx
je 0x14c281f
mov eax, 0xfffffffd
jmp 0x14c271f
lea edx, [ebp + 0x410]
push edx
lea eax, [ebp + 0x618]
push eax
push 0x15b12b8
movzx ecx, word [0x15b12b0]
push ecx
push str.__d__s__s_EndlessLoop_s
push 0x104
lea edx, [ebp + 0x924]
push edx
call fcn.01481be0
add esp, 0x1c
test eax, eax
je 0x14c2861
mov eax, 0xfffffffc
jmp 0x14c271f
mov byte [ebp], bl
push 0x103
push ebx
lea eax, [ebp + 1]
push eax
call fcn.0152a100
lea ecx, [ebp + 0x30c]
push ecx
lea edx, [ebp + 0x208]
push edx
push str._s_s
push 0x104
lea eax, [ebp]
push eax
call fcn.01481be0
add esp, 0x20
test eax, eax
je 0x14c28a5
mov eax, 0xfffffffb
jmp 0x14c271f
mov byte [ebp + 0x820], bl
push 0x103
push ebx
lea ecx, [ebp + 0x821]
push ecx
call fcn.0152a100
lea edx, [ebp]
push edx
push str._sDump_
push 0x104
lea eax, [ebp + 0x820]
push eax
call fcn.01481be0
add esp, 0x1c
test eax, eax
je 0x14c28e8
mov eax, 0xfffffffa
jmp 0x14c271f
lea ecx, [ebp + 0x820]
push ecx
call fcn.014f13c0
add esp, 4
test eax, eax
jne 0x14c2905
mov eax, 0xfffffff9
jmp 0x14c271f
mov byte [ebp + 0x71c], bl
push 0x103
push ebx
lea edx, [ebp + 0x71d]
push edx
call fcn.0152a100
movzx eax, word [ebp - 0x2a]
push eax
movzx ecx, word [ebp - 0x2e]
push ecx
movzx edx, word [ebp - 0x30]
push edx
lea eax, [ebp + 0x820]
push eax
push 0x1569558
push 0x104
lea ecx, [ebp + 0x71c]
push ecx
call fcn.01481be0
add esp, 0x28
test eax, eax
je 0x14c295a
mov eax, 0xfffffff8
jmp 0x14c271f
lea edx, [ebp + 0x71c]
push edx
call fcn.014f13c0
add esp, 4
test eax, eax
jne 0x14c2977
mov eax, 0xfffffff7
jmp 0x14c271f
push str..dmp
lea eax, [ebp + 0x924]
push eax
lea ecx, [ebp + 0x71c]
push ecx
push ebx
push 0x104
lea edx, [ebp + 0x104]
push edx
call fcn.0152c33b
add esp, 0x18
cmp eax, ebx
je 0x14c29ad
mov eax, 0xfffffff6
jmp 0x14c271f
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
lea eax, [ebp + 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
jne 0x14c29f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._AN_ENDLESS_LOOP_SUSPECT_FOUND__BUT__FAILED_TO_CREATE_FILE__ERRORCODE__d__
push 0x2000001
call fcn.0148e690
add esp, 0xc
mov eax, 0xfffffff5
jmp 0x14c271f
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0x14c1d00
mov edx, dword [edi + 0x400c0]
push edx
push str._AN_ENDLESS_LOOP_SUSPECT_FOUND__NOW_WRITE_MINIDUMP__u___
push 0x2000001
call fcn.0148e690
add esp, 0xc
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ecx, [ebp - 0x38]
push ecx
push ebx
push ebx
push 0x1a25
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
cmp eax, ebx
jne 0x14c2a8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._AN_ENDLESS_LOOP_SUSPECT_FOUND__BUT__FAILED_TO_WRITE_MINIDUMP__ERRORCODE__d__
push 0x2000001
call fcn.0148e690
push 0xfffffffffffffffe
lea edx, [ebp - 0x10]
push edx
push 0x158aa80
call fcn.0152c444
add esp, 0x18
mov eax, 0xfffffff4
jmp 0x14c271f
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x158aa80
call fcn.0152c444
add esp, 0xc
xor eax, eax
jmp 0x14c271f