Function at 0x1000b223
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e84
call fcn.1001c460
mov eax, dword [0x1003ccc8]
xor eax, ebp
mov dword [ebp - 0x12c], eax
push esi
push edi
mov dword [ebp - 0x1e80], ecx
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x1e80]
cmp dword [eax + 0x10], 0
jne 0x1000acf3
mov ecx, dword [ebp - 0x1e80]
call fcn.1000a7a0
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx + 4]
cmp dword [edx + 4], 0
jne 0x1000ad14
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1000b3b0
mov eax, dword [ebp + 0x10]
mov dword [0x10040cc8], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x10040ccc], ecx
cmp dword [ebp + 0xc], 0
jne 0x1000adca
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000ad78
push 0x2cc
push 0
lea edx, [ebp - 0x1e78]
push edx
call fcn.1001b720
add esp, 0xc
mov dword [ebp - 0x1e78], 0x10007
call 0x1000ad5f
pop eax
mov dword [ebp - 0x1dc0], eax
mov dword [ebp - 0x1dc4], ebp
mov dword [ebp - 0x1db4], esp
xor eax, eax
jne 0x1000ad3a
jmp 0x1000adc8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea edx, [ebp - 0x1e78]
push edx
call fcn.1001b720
add esp, 0xc
mov dword [ebp - 0x1e78], 0x10007
lea eax, [ebp - 0x1e78]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1000adc8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x1000b3b0
jmp 0x1000adda
mov esi, dword [ebp + 0xc]
mov ecx, 0xb3
lea edi, [ebp - 0x1e78]
rep movsd dword es:[edi], dword [esi]
push 0x108
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.1001b720
add esp, 0xc
mov dword [ebp - 0x37c], 0x14c
mov ecx, dword [ebp - 0x1dc0]
xor edx, edx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], edx
mov dword [ebp - 0xfc], 3
mov eax, dword [ebp - 0x1dc4]
xor ecx, ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xdc], 3
mov edx, dword [ebp - 0x1db4]
xor eax, eax
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xcc], 3
push 0x420
call fcn.10019d31
add esp, 4
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x1000ae7a
jmp 0x1000b383
push 0x420
push 0
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.1001b720
add esp, 0xc
mov edx, dword [ebp - 0x10c]
mov dword [edx], 0x20
mov eax, dword [ebp - 0x10c]
mov dword [eax + 0x18], 0x400
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x128], 0x18
push 0x248
push 0
lea edx, [ebp - 0x378]
push edx
call fcn.1001b720
add esp, 0xc
mov dword [ebp - 0x378], 0x248
mov dword [ebp - 0x380], 0
jmp 0x1000af14
mov eax, dword [ebp - 0x380]
add eax, 1
mov dword [ebp - 0x380], eax
push 0
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x14]
push eax
push 0x1000b3f0
lea ecx, [ebp - 0x1e78]
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x37c]
push eax
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x38]
call eax
test eax, eax
jne 0x1000af9c
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1003409c
mov eax, dword [ebp - 0x1e80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1e80]
mov eax, dword [edx + 0x10]
call eax
jmp 0x1000b383
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x1ba8], ecx
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x1ba4], edx
mov byte [ebp - 0x1ba0], 0
mov byte [ebp - 0x17a0], 0
mov byte [ebp - 0x13a0], 0
mov dword [ebp - 0xfa0], 0
mov dword [ebp - 0xf9c], 0
mov dword [ebp - 0xf98], 0
mov byte [ebp - 0xf90], 0
mov dword [ebp - 0xf94], 0
mov byte [ebp - 0x780], 0
mov byte [ebp - 0xb88], 0
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0xf8]
jne 0x1000b04f
mov ecx, dword [ebp - 0x104]
cmp ecx, dword [ebp - 0xf4]
jne 0x1000b04f
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x108]
push eax
push 0
push str.StackWalk64_Endless_Callstack_
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1e80]
mov eax, dword [edx + 0x10]
call eax
jmp 0x1000b383
mov ecx, dword [ebp - 0x108]
or ecx, dword [ebp - 0x104]
je 0x1000b30c
mov edx, dword [ebp - 0x10c]
push edx
lea eax, [ebp - 0xfa0]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x1e80]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x1e80]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x28]
call ecx
test eax, eax
je 0x1000b103
mov edx, dword [ebp - 0x10c]
add edx, 0x1c
push edx
lea eax, [ebp - 0x1ba0]
push eax
call fcn.1000b9a0
add esp, 8
push 0x1000
push 0x400
lea ecx, [ebp - 0x17a0]
push ecx
mov edx, dword [ebp - 0x10c]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x1e80]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x3c]
call edx
push 0
push 0x400
lea eax, [ebp - 0x13a0]
push eax
mov ecx, dword [ebp - 0x10c]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x1e80]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x3c]
call ecx
jmp 0x1000b130
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100340c8
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1e80]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x18], 0
je 0x1000b1cc
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xf98]
push ecx
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x1e80]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
call edx
test eax, eax
je 0x1000b19f
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xf94], eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0xf90]
push edx
call fcn.1000b9a0
add esp, 8
jmp 0x1000b1cc
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100340dc
mov edx, dword [ebp - 0x1e80]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [eax + 0x10]
call edx
lea eax, [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x1e80]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x1e80]
mov ecx, dword [edx + 4]
call fcn.1000a530
test eax, eax
je 0x1000b2df
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x1e84], eax
cmp dword [ebp - 0x1e84], 8
ja case.default.0x1000b21c
mov ecx, dword [ebp - 0x1e84]
jmp dword [ecx*4 + 0x1000b3c8]
mov dword [ebp - 0xb8c], 0x100340f4
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0x10034100
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0x10034108
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0x1003410c
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0x10034110
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0x1003411c
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0x10034128
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0x1003412c
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0x10034130
jmp 0x1000b299
mov dword [ebp - 0xb8c], 0
lea edx, [ebp - 0x354]
push edx
lea eax, [ebp - 0xb88]
push eax
call fcn.1000b9a0
add esp, 8
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x788], ecx
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x784], edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x780]
push ecx
call fcn.1000b9a0
add esp, 8
jmp 0x1000b30c
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10034138
mov ecx, dword [ebp - 0x1e80]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1e80]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x1e7c], 1
cmp dword [ebp - 0x380], 0
jne 0x1000b329
mov dword [ebp - 0x1e7c], 0
lea ecx, [ebp - 0x1ba8]
push ecx
mov edx, dword [ebp - 0x1e7c]
push edx
mov eax, dword [ebp - 0x1e80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1e80]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0xf8]
or ecx, dword [ebp - 0xf4]
jne 0x1000b37e
lea edx, [ebp - 0x1ba8]
push edx
push 2
mov eax, dword [ebp - 0x1e80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1e80]
mov eax, dword [edx + 0xc]
call eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1000b383
jmp 0x1000af05
cmp dword [ebp - 0x10c], 0
je 0x1000b39b
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.10019c54
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x1000b3ab
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 0x12c]
xor ecx, ebp
call fcn.10018f71
mov esp, ebp
pop ebp
ret 0x10