Function at 0x402670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x467b06
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c9dc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x30], ebp
cmp dword [ebp + 0x20], 0
je 0x4028a4
lea ecx, [esp + 0x20]
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::constructor_void_]
push 0xa
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], 0
call sub.MFC80.DLL_Ordinal_426
push str.TrueReuse
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 1
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x78], 2
call dword [sym.imp.orDb_Dll.dll_public:_struct_IStorage____thiscall_DboLib::GetUserStorage_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______class_DboState__]
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], esi
je 0x40287a
push 0
lea ecx, [esp + 0x38]
call sub.MFC80.DLL_Ordinal_489
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push 0
push 0x10
push str.ReuseModues.txt
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 4
call sub.MFC80.DLL_Ordinal_5109
test eax, eax
je 0x402849
lea ecx, [esp + 0x34]
call sub.MFC80.DLL_Ordinal_2908
push eax
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_2475]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC80.DLL_Ordinal_5327
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_5403]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov bl, 5
xor esi, esi
mov byte [esp + 0x70], bl
add ebp, 4
push esi
push 0x475f00
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4027c9
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_4108]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 6
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
add esi, eax
jmp 0x4027ff
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 7
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea esi, [edi + 1]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov ecx, ebp
call sub.MFC80.DLL_Ordinal_869
lea ecx, [esp + 0x14]
mov dword [eax], 0
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
cmp esi, eax
jl 0x402776
lea ecx, [esp + 0x34]
call sub.MFC80.DLL_Ordinal_1448
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 4
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebp + 0x20]
push esi
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.orDb_Dll.dll_public:_class_DboState___thiscall_DboLib::ReleaseUserStorage_struct_IStorage__]
lea ecx, [esp + 0x30]
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::destructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 2
call sub.MFC80.DLL_Ordinal_707
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0
call sub.MFC80.DLL_Ordinal_663
lea ecx, [esp + 0x20]
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.orDb_Dll.dll_public:_void___thiscall_DboState::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret