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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40cb53
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x4062d2
call fcn.00408a00
push str.Process_STI_start
mov esi, eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
mov esi, dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
add esp, 0x18
push str.AbbyySti.exe
lea ecx, [esp + 0x20]
call esi
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x58], edi
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::GetEXEDir_void_]
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x64], 1
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::CombinePath_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const__]
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 3
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea eax, [esp + 0x10]
push 0xff00ff00
push eax
call dword [sym.imp.FineObj.dll_bool___cdecl_FObj::FileSystem::AccessFile_class_FObj::CUnicodeString_const___unsigned_int_]
add esp, 8
test al, al
jne 0x406273
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push str.Cant_find
push edx
call fcn.004038e0
mov edi, eax
mov byte [esp + 0x60], 5
call fcn.00408a00
mov esi, eax
mov eax, dword [edi]
add eax, 0xc
push eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x24
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__0__progname___1___clsid___2_
lea ecx, [esp + 0x1c]
call esi
mov byte [esp + 0x54], 6
cmp dword [ebx], edi
jg 0x4062e8
call fcn.00408a00
push str.Process_STI_finish
mov esi, eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, edx
mov ecx, dword [ebx + 4]
lea esi, [ecx + edi*8]
push esi
lea ecx, [esp + 0x44]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_class_FObj::CUnicodeString_const__]
add esi, 4
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x58], 7
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_class_FObj::CUnicodeString_const__]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x2c]
push str.Process_STI_STEP:
push eax
mov byte [esp + 0x60], 8
call fcn.004038e0
mov ebx, eax
mov byte [esp + 0x60], 9
call fcn.00408a00
mov ecx, dword [ebx]
add ecx, 0xc
push ecx
mov esi, eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x24
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 8
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov edx, dword [esp + 0x40]
cmp dword [edx + 4], 0
je 0x40637a
mov eax, dword [esp + 0x44]
cmp dword [eax + 4], 0
jne 0x406398
push 0
push 0x3b
push str..SrcSetupSti.cpp
push 0x40f0a8
push 0x40f0a8
push 0
call dword [sym.imp.FineObj.dll_bool___cdecl_FObj::GenerateInternalError_enum_FObj::TInternalErrorType__wchar_t_const___wchar_t_const___wchar_t_const___long_int__unsigned_long_int_]
add esp, 0x18
cmp byte [ebp + 0xc], 0
mov eax, str.Register
jne 0x4063a8
mov eax, str.unregister
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0xa
call dword [sym.imp.FineObj.dll_public:_class_FObj::CUnicodeString___thiscall_FObj::CUnicodeString::SubstParam_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 0xc
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0040c160
add esp, 8
test al, al
je 0x4064da
push 0x40f420
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00402d20
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x6c], 0x11
call fcn.00402d60
push str._suceeded
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x78], 0x12
call fcn.00402d20
mov ebx, eax
mov byte [esp + 0x78], 0x13
call fcn.00408a00
mov ecx, dword [ebx]
add ecx, 0xc
push ecx
mov esi, eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x3c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 0x12
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 0x11
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 0xc
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 8
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x54], 0x14
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x54], 6
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov edx, dword [ebp + 8]
inc edi
cmp edi, dword [edx]
jl 0x4062e6
jmp 0x406287
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x40]
push 0x40f424
push ecx
call fcn.004038e0
push 0x40f420
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x6c], 0xd
call fcn.00402d20
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x48]
mov bl, 0xe
push edx
mov byte [esp + 0x78], bl
call fcn.00402d60
mov edi, eax
mov byte [esp + 0x78], 0xf
call fcn.00408a00
mov esi, eax
mov eax, dword [edi]
add eax, 0xc
push eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x3c
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], bl
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 0xd
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0xc
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 8
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x54], 0x10
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x54], 6
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x18]
jmp 0x406242