Function at 0x10005cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003a313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [0x1005d1c0]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 0x4c
lea ecx, [esp + 0x38]
mov dword [esp + 0x238], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], ebx
call sym.Host71.dll_public:_void___thiscall_String::constructor_unsigned_int__struct_HINSTANCE____
mov ebp, dword [esp + 0x244]
push eax
lea eax, [esp + 0x14]
push ebp
push eax
mov dword [esp + 0x248], ebx
call fcn.10005200
add esp, 0xc
mov edi, dword [esp + 0x248]
push 1
lea ecx, [edi + 5]
push ecx
push ebx
mov ecx, eax
mov byte [esp + 0x248], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
mov ecx, esi
call fcn.100259a0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x30]
mov byte [esp + 0x23c], 3
call sym.Host71.dll_public:_void___thiscall_String::destructor_void_
lea ebx, [esi + 0x12c]
mov ecx, ebx
mov dword [esi], sym.Host71.dll_const_CDB::vftable
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
movsx eax, di
push eax
mov byte [esp + 0x240], 5
mov dword [esi + 0x128], eax
call sub.MFC71.DLL_operator_new_1
mov ecx, dword [esi + 0x128]
mov edx, ecx
shr ecx, 2
mov edi, eax
mov dword [esi + 0x130], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
push ebp
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
xor ebx, ebx
push 5
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x2c], ebx
call sub.MFC71.DLL_operator_new_1
mov dword [esi + 0x120], eax
xor ecx, ecx
mov dword [eax], ecx
mov byte [eax + 4], cl
mov eax, dword [esi + 0xc]
add esp, 4
cmp eax, 0xffffffff
jne 0x10005de2
mov dword [esi + 0x124], 1
mov dword [esi + 0x28], ebx
jmp 0x10005fd2
push ebx
push 0x4d
lea ecx, [esp + 0x138]
mov dword [esi + 0x124], ebx
call sym.Host71.dll_public:_void___thiscall_String::constructor_unsigned_int__struct_HINSTANCE____
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 6
call sub.MFC71.DLL_CFile::CFile
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x14]
push ebp
push eax
mov byte [esp + 0x248], 7
call fcn.10005200
add esp, 0xc
push ebx
push 0x8000
mov ecx, eax
mov byte [esp + 0x244], 8
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x28]
call sub.MFC71.DLL_CFile::Open
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x23c], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp edi, ebx
je 0x10005ebc
push 2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC71.DLL_CFile::Read
lea ecx, [esp + 0x1c]
call sub.MFC71.DLL_CFile::Close
cmp word [esp + 0x10], bx
jne 0x10005ebc
lea edx, [esp + 0x130]
push edx
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.10005200
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x23c], 9
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.MFC71.DLL_CFile::Remove
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0xc8
call sub.MFC71.DLL_operator_new
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov byte [esp + 0x23c], 0xa
je 0x10005f18
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x18]
push ebp
push edx
call fcn.10005200
add esp, 0xc
mov ebp, 1
push ebp
push 5
push ebx
mov ecx, eax
mov byte [esp + 0x248], 0xb
mov dword [esp + 0x24], ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
mov ecx, edi
call fcn.10023c70
jmp 0x10005f1f
xor eax, eax
mov ebp, 1
mov dword [esi + 0x2c], eax
test byte [esp + 0x18], 1
mov dword [esp + 0x23c], 7
je 0x10005f3e
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov edi, dword [esi + 0x2c]
mov dword [esi + 0xa4], 0x1003e53c
cmp dword [edi + 0xc], 0xffffffff
jne 0x10005f70
cmp edi, ebx
je 0x10005f65
mov ecx, edi
call fcn.10023eb0
push edi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x124], ebp
jmp 0x10005fad
mov dword [esi + 0x28], ebp
cmp dword [edi + 0xbc], ebx
je 0x10005f8c
mov ecx, esi
call fcn.100259f0
test eax, eax
je 0x10005f8c
mov dword [esi + 0x124], ebp
push ebx
mov ecx, esi
call fcn.10025e70
push ebx
mov ecx, esi
call sym.Host71.dll_private:_void___thiscall_CDB::SetStabilityFlag_int_
cmp dword [esp + 0x24c], 2
jne 0x10005fad
mov ecx, esi
call sym.Host71.dll_public:_int___thiscall_CDB::Close_void_
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 6
call fcn.10037b92
lea ecx, [esp + 0x130]
mov byte [esp + 0x23c], 5
call sym.Host71.dll_public:_void___thiscall_String::destructor_void_
mov ecx, dword [esp + 0x234]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
pop ebx
call fcn.10038e11
add esp, 0x230
ret 0xc