Function at 0x411c70
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e74
call fcn.00425120
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x411c9a
mov ecx, dword [ebp - 4]
call fcn.004118f0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
cmp dword [edx + 4], 0
jne 0x411cb8
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4122b6
mov eax, dword [ebp + 0x10]
mov dword [0x452764], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x452760], ecx
cmp dword [ebp + 0xc], 0
jne 0x411d6e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x411d1c
push 0x2cc
push 0
lea edx, [ebp - 0x404]
push edx
call fcn.00422b60
add esp, 0xc
mov dword [ebp - 0x404], 0x10007
call 0x411d03
pop eax
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x350], ebp
mov dword [ebp - 0x340], esp
xor eax, eax
jne 0x411cde
jmp 0x411d6c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea edx, [ebp - 0x404]
push edx
call fcn.00422b60
add esp, 0xc
mov dword [ebp - 0x404], 0x10007
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x411d6c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x4122b6
jmp 0x411d7e
mov ecx, 0xb3
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
push 0x108
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.00422b60
add esp, 0xc
mov dword [ebp - 0x18], 0x14c
mov ecx, dword [ebp - 0x34c]
xor edx, edx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x12c], 3
mov eax, dword [ebp - 0x350]
xor ecx, ecx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x10c], 3
mov edx, dword [ebp - 0x340]
xor eax, eax
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xfc], 3
push 0x420
call fcn.00420b0c
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x411e15
jmp 0x41228f
push 0x420
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00422b60
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [edx], 0x20
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0x400
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], 0x18
push 0x248
push 0
lea edx, [ebp - 0x64c]
push edx
call fcn.00422b60
add esp, 0xc
mov dword [ebp - 0x64c], 0x248
mov dword [ebp - 0xc], 0
jmp 0x411e88
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x14]
push eax
push 0x4122f0
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x38]
call eax
test eax, eax
jne 0x411efb
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StackWalk64
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
jmp 0x41228f
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x1e74], ecx
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x1e70], edx
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x1e6c], 0
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x1a6c], 0
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x166c], 0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x126c], xmm0
mov dword [ebp - 0x1264], 0
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x125c], 0
mov dword [ebp - 0x1260], 0
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0xa4c], 0
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0xe54], 0
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x128]
jne 0x411fd6
mov ecx, dword [ebp - 0x134]
cmp ecx, dword [ebp - 0x124]
jne 0x411fd6
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x138]
push eax
push 0
push str.StackWalk64_Endless_Callstack_
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
jmp 0x41228f
mov ecx, dword [ebp - 0x138]
or ecx, dword [ebp - 0x134]
je 0x412230
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x126c]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x28]
call ecx
test eax, eax
je 0x41206d
mov edx, dword [ebp - 8]
add edx, 0x1c
lea ecx, [ebp - 0x1e6c]
call fcn.00412660
push 0x1000
push 0x400
lea edx, [ebp - 0x1a6c]
push edx
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x3c]
call eax
push 0
push 0x400
lea ecx, [ebp - 0x166c]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x1c
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x3c]
call edx
jmp 0x412094
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetSymFromAddr64
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x18], 0
je 0x41210f
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1264]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x18]
call ecx
test eax, eax
je 0x4120e8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1260], edx
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x125c]
call fcn.00412660
jmp 0x41210f
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetLineFromAddr64
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x10]
call edx
lea eax, [ebp - 0x64c]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 4]
call fcn.004116f0
test eax, eax
je 0x412209
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 8
ja case.default.0x412150
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x4122c0]
mov dword [ebp - 0xe58], str._nosymbols_
jmp 0x4121cd
mov dword [ebp - 0xe58], str.COFF
jmp 0x4121cd
mov dword [ebp - 0xe58], 0x44a31c
jmp 0x4121cd
mov dword [ebp - 0xe58], 0x44a320
jmp 0x4121cd
mov dword [ebp - 0xe58], str._exported_
jmp 0x4121cd
mov dword [ebp - 0xe58], str._deferred_
jmp 0x4121cd
mov dword [ebp - 0xe58], 0x44a33c
jmp 0x4121cd
mov dword [ebp - 0xe58], 0x44a348
jmp 0x4121cd
mov dword [ebp - 0xe58], str.Virtual
jmp 0x4121cd
mov dword [ebp - 0xe58], 0
lea edx, [ebp - 0x628]
lea ecx, [ebp - 0xe54]
call fcn.00412660
mov edx, dword [ebp - 0x644]
mov dword [ebp - 0xa54], edx
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0xa50], eax
lea edx, [ebp - 0x508]
lea ecx, [ebp - 0xa4c]
call fcn.00412660
jmp 0x412230
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetModuleInfo64
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0xc], 0
jne 0x412244
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1e74]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x128]
or ecx, dword [ebp - 0x124]
jne 0x41228a
lea edx, [ebp - 0x1e74]
push edx
push 2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41228f
jmp 0x411e7f
cmp dword [ebp - 8], 0
je 0x4122a1
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041fb10
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x4122b1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10