Function at 0x10066cd0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push 0xffffffffffffffff
push 0x10090b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x664
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
push 1
push esi
mov dword [esp + 0x3c], 0x10094628
call edi
push eax
call dword [sym.imp.imagehlp.dll_SymInitialize]
mov dword [esp + 0x67c], esi
call edi
mov ebp, dword [esp + 0x684]
mov dword [esp + 0x20], eax
mov ecx, 0xb2
xor eax, eax
lea edi, [esp + 0x3ac]
xor bl, bl
rep stosd dword es:[edi], eax
push ebp
mov dword [esp + 0x3ac], 0x10007
mov dword [esp + 0x30], ebp
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], 0x10094624
call fcn.10067490
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, edi
je 0x10066d6e
push ebp
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov bl, 1
mov byte [esp + 0x30], bl
lea eax, [esp + 0x3a8]
mov byte [esp + 0x67c], 1
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x10066e31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebp
call fcn.10067490
add esp, 4
lea ecx, [esp + 0x3c]
push eax
push 0x100aa1bc
push ecx
call fcn.1005f8c0
add esp, 0x10
mov eax, dword [eax + 4]
mov byte [esp + 0x67c], 2
test eax, eax
jne 0x10066dc6
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push esi
push eax
push 0xc4
push str.F:SCVLibScvLIBLangStackTrace.cpp
lea ecx, [esp + 0x13c]
call fcn.10084010
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x680], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x12c]
lea ecx, [esp + 0xec]
push edx
call fcn.1003c930
mov eax, dword [esp + 0x168]
lea ecx, [esp + 0xec]
push 0x1009c620
push ecx
mov dword [esp + 0x130], eax
mov dword [esp + 0xf4], 0x1009461c
call sub.MSVCRT.dll__CxxThrowException
test bl, bl
mov byte [esp + 0x67c], 0
je 0x10066e44
push ebp
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebp
call fcn.10067490
mov edx, dword [esp + 0x464]
mov dword [esp + 0x28], eax
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x50]
push 0x14
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x474]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x464]
mov eax, 3
mov dword [esp + 0x58], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x70], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
cmp eax, esi
je 0x10066ea8
mov ecx, eax
call fcn.10066bf0
mov dword [esp + 0x14], eax
jmp 0x10066eae
mov dword [esp + 0x14], esi
mov eax, esi
cmp eax, esi
mov dword [esp + 0x2c], eax
setne cl
mov byte [esp + 0x28], cl
push 0x2710
mov byte [esp + 0x680], 5
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov ecx, 0x9c4
xor eax, eax
mov edi, esi
mov dword [esp + 0x1c], esi
rep stosd dword es:[edi], eax
mov dword [esi], 0x2710
mov dword [esi + 0x10], 0x26f8
jmp 0x10066ef7
mov ebp, dword [esp + 0x684]
mov edx, dword [sym.imp.imagehlp.dll_SymGetModuleBase]
mov eax, dword [sym.imp.imagehlp.dll_SymFunctionTableAccess]
mov ebx, dword [esp + 0x20]
push 0
push edx
push eax
lea ecx, [esp + 0x3b4]
push 0
lea edx, [esp + 0x58]
push ecx
push edx
push ebp
push ebx
push 0x14c
call dword [sym.imp.imagehlp.dll_StackWalk]
test eax, eax
je 0x10067090
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10067090
mov ecx, 0x8e
xor eax, eax
lea edi, [esp + 0x170]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x16c]
push eax
push ecx
push ebx
mov dword [esp + 0x178], 0x23c
call dword [sym.imp.imagehlp.dll_SymGetModuleInfo]
push 0x34
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10066f80
mov ecx, eax
call fcn.10066a90
jmp 0x10066f82
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea ecx, [edx + 4]
push eax
push 1
mov edx, dword [ecx + 8]
push edx
call fcn.100675d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
lea edi, [esp + 0x188]
push 1
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x14]
xor eax, eax
lea ebp, [ecx + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10067004
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x188]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x1c]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x170]
lea eax, [esp + 0x18]
push esi
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.imagehlp.dll_SymGetSymFromAddr]
test eax, eax
je 0x10066ef0
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, esi
or ecx, 0xffffffff
lea ebx, [eax + 0x24]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x1006707c
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [ecx + 0x10], edx
jmp 0x10066ef0
push esi
call fcn.10088e50
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.imagehlp.dll_SymCleanup]
mov ecx, dword [esp + 0x674]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x670
ret