Function at 0x100145d4
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e74
call fcn.10022c40
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1e74]
mov ecx, 0x79d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x1e70], ecx
mov dword [ebp - 0x3f8], 0
mov eax, dword [ebp - 0x1e70]
cmp dword [eax + 0x10], 0
jne 0x1001461f
mov ecx, dword [ebp - 0x1e70]
call fcn.10014140
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx + 4]
cmp dword [edx + 4], 0
jne 0x10014649
mov esi, esp
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.10021b10
xor eax, eax
jmp 0x10014d5e
mov eax, dword [ebp + 0x10]
mov dword [0x10107d1c], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x10107d20], ecx
cmp dword [ebp + 0xc], 0
jne 0x10014725
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, esp
call fcn.10021b10
cmp dword [ebp + 8], eax
jne 0x100146b8
push 0x2cc
push 0
lea edx, [ebp - 0x3f0]
push edx
call fcn.10021ab0
add esp, 0xc
mov dword [ebp - 0x3f0], 0x10007
call 0x1001469d
pop eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x33c], ebp
mov dword [ebp - 0x32c], esp
xor eax, eax
test eax, eax
jne 0x10014678
jmp 0x10014723
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.10021b10
push 0x2cc
push 0
lea edx, [ebp - 0x3f0]
push edx
call fcn.10021ab0
add esp, 0xc
mov dword [ebp - 0x3f0], 0x10007
mov esi, esp
lea eax, [ebp - 0x3f0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
cmp esi, esp
call fcn.10021b10
test eax, eax
jne 0x10014723
mov esi, esp
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.10021b10
xor eax, eax
jmp 0x10014d5e
jmp 0x10014735
mov esi, dword [ebp + 0xc]
mov ecx, 0xb3
lea edi, [ebp - 0x3f0]
rep movsd dword es:[edi], dword [esi]
push 0x108
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10021ab0
add esp, 0xc
mov dword [ebp - 0x3f4], 0x14c
mov ecx, dword [ebp - 0x338]
xor edx, edx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x118], 3
mov eax, dword [ebp - 0x33c]
xor ecx, ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf8], 3
mov edx, dword [ebp - 0x32c]
xor eax, eax
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xe8], 3
push 0x420
call fcn.10022ed0
add esp, 4
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0
jne 0x100147d0
jmp 0x10014d5c
push 0x420
push 0
mov ecx, dword [ebp - 0x3f8]
push ecx
call fcn.10021ab0
add esp, 0xc
mov edx, dword [ebp - 0x3f8]
mov dword [edx], 0x20
mov eax, dword [ebp - 0x3f8]
mov dword [eax + 0x18], 0x400
push 0x18
push 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.10021ab0
add esp, 0xc
mov dword [ebp - 0x18], 0x18
push 0x248
push 0
lea edx, [ebp - 0x640]
push edx
call fcn.10021ab0
add esp, 0xc
mov dword [ebp - 0x640], 0x248
mov dword [ebp - 0x1c], 0
jmp 0x10014848
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x14]
push eax
push 0x10014d98
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x3f4]
push eax
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx + 4]
call dword [edx + 0x38]
cmp esi, esp
call fcn.10021b10
test eax, eax
jne 0x100148e7
mov esi, esp
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esp
call fcn.10021b10
push eax
push 0x100f5898
mov edx, dword [ebp - 0x1e70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1e70]
call dword [eax + 0x10]
cmp esi, esp
call fcn.10021b10
jmp 0x10014d24
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x1e68], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x1e64], edx
mov byte [ebp - 0x1e60], 0
mov byte [ebp - 0x1a60], 0
mov byte [ebp - 0x1660], 0
mov dword [ebp - 0x1260], 0
mov dword [ebp - 0x125c], 0
mov dword [ebp - 0x1258], 0
mov byte [ebp - 0x1250], 0
mov dword [ebp - 0x1254], 0
mov byte [ebp - 0xa40], 0
mov byte [ebp - 0xe48], 0
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x114]
jne 0x100149a1
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x110]
jne 0x100149a1
mov esi, esp
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x124]
push eax
push 0
push str.StackWalk64_Endless_Callstack_
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1e70]
call dword [edx + 0x10]
cmp esi, esp
call fcn.10021b10
jmp 0x10014d24
mov eax, dword [ebp - 0x124]
or eax, dword [ebp - 0x120]
test eax, eax
je 0x10014c97
mov esi, esp
mov ecx, dword [ebp - 0x3f8]
push ecx
lea edx, [ebp - 0x1260]
push edx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x1e70]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx + 4]
call dword [edx + 0x28]
cmp esi, esp
call fcn.10021b10
test eax, eax
je 0x10014a6c
mov eax, dword [ebp - 0x3f8]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x1e60]
push ecx
call fcn.10022250
add esp, 8
mov esi, esp
push 0x1000
push 0x400
lea edx, [ebp - 0x1a60]
push edx
mov eax, dword [ebp - 0x3f8]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx + 4]
call dword [edx + 0x3c]
cmp esi, esp
call fcn.10021b10
mov esi, esp
push 0
push 0x400
lea eax, [ebp - 0x1660]
push eax
mov ecx, dword [ebp - 0x3f8]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x1e70]
mov eax, dword [edx + 4]
call dword [eax + 0x3c]
cmp esi, esp
call fcn.10021b10
jmp 0x10014aa9
mov esi, esp
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esp
call fcn.10021b10
push eax
push 0x100f58c4
mov eax, dword [ebp - 0x1e70]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1e70]
call dword [edx + 0x10]
cmp esi, esp
call fcn.10021b10
mov eax, dword [ebp - 0x1e70]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x18], 0
je 0x10014b53
mov esi, esp
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1258]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x1e70]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x1e70]
mov eax, dword [edx + 4]
call dword [eax + 0x18]
cmp esi, esp
call fcn.10021b10
test eax, eax
je 0x10014b16
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1254], ecx
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x1250]
push eax
call fcn.10022250
add esp, 8
jmp 0x10014b53
mov esi, esp
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esp
call fcn.10021b10
push eax
push 0x100f58d8
mov eax, dword [ebp - 0x1e70]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1e70]
call dword [edx + 0x10]
cmp esi, esp
call fcn.10021b10
lea eax, [ebp - 0x640]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x1e70]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x1e70]
mov ecx, dword [edx + 4]
call fcn.100163b0
test eax, eax
je 0x10014c5a
mov eax, dword [ebp - 0x620]
mov dword [ebp - 0x1e74], eax
cmp dword [ebp - 0x1e74], 8
ja case.0x10014ba3.7
mov ecx, dword [ebp - 0x1e74]
jmp dword [ecx*4 + 0x10014d74]
mov dword [ebp - 0xe4c], 0x100f58f0
jmp 0x10014c14
mov dword [ebp - 0xe4c], 0x100f58fc
jmp 0x10014c14
mov dword [ebp - 0xe4c], 0x100f5904
jmp 0x10014c14
mov dword [ebp - 0xe4c], 0x100f5908
jmp 0x10014c14
mov dword [ebp - 0xe4c], 0x100f590c
jmp 0x10014c14
mov dword [ebp - 0xe4c], 0x100f5918
jmp 0x10014c14
mov dword [ebp - 0xe4c], 0x100f5924
jmp 0x10014c14
mov dword [ebp - 0xe4c], 0x100f5928
jmp 0x10014c14
mov dword [ebp - 0xe4c], 0
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0xe48]
push eax
call fcn.10022250
add esp, 8
mov ecx, dword [ebp - 0x638]
mov dword [ebp - 0xa48], ecx
mov edx, dword [ebp - 0x634]
mov dword [ebp - 0xa44], edx
lea eax, [ebp - 0x4fc]
push eax
lea ecx, [ebp - 0xa40]
push ecx
call fcn.10022250
add esp, 8
jmp 0x10014c97
mov esi, esp
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x124]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esp
call fcn.10021b10
push eax
push 0x100f5930
mov ecx, dword [ebp - 0x1e70]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1e70]
call dword [edx + 0x10]
cmp esi, esp
call fcn.10021b10
mov dword [ebp - 0x1e6c], 1
cmp dword [ebp - 0x1c], 0
jne 0x10014cb1
mov dword [ebp - 0x1e6c], 0
mov esi, esp
lea eax, [ebp - 0x1e68]
push eax
mov ecx, dword [ebp - 0x1e6c]
push ecx
mov edx, dword [ebp - 0x1e70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1e70]
call dword [eax + 0xc]
cmp esi, esp
call fcn.10021b10
mov ecx, dword [ebp - 0x114]
or ecx, dword [ebp - 0x110]
test ecx, ecx
jne 0x10014d1f
mov esi, esp
lea edx, [ebp - 0x1e68]
push edx
push 2
mov eax, dword [ebp - 0x1e70]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1e70]
call dword [edx + 0xc]
cmp esi, esp
call fcn.10021b10
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.10021b10
jmp 0x10014d24
jmp 0x1001483f
cmp dword [ebp - 0x3f8], 0
je 0x10014d3c
mov eax, dword [ebp - 0x3f8]
push eax
call fcn.10023940
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x10014d55
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.10021b10
mov eax, 1
jmp 0x10014d5e
jmp 0x10014d24
pop edi
pop esi
pop ebx
add esp, 0x1e74
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret 0x10