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

Disassembly:
push 0xffffffffffffffff
push 0x429279
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc60
push ebp
xor ebp, ebp
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebp
call fcn.0041b840
push 0xf003f
push str.SOFTWAREClarusAccaSecretZoneMount
push 0x80000001
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc7c], ebp
call fcn.0041b9a0
mov esi, eax
cmp esi, ebp
jne 0x40fbb0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.0040edf0
mov esi, eax
add esp, 8
cmp esi, ebp
mov dword [esp + 0x44], esi
jne 0x40fbee
cmp dword [esp + 0x30], ebp
je 0x40fbee
push ebx
push edi
lea ecx, [esp + 0x88]
call sub.MFC42u.DLL_CStringArray::CStringArray
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x90]
mov byte [esp + 0xc80], 1
call sub.MFC42u.DLL_CStringArray::SetSize
lea ecx, [esp + 0x68]
call fcn.0041b920
mov edi, eax
xor esi, esi
cmp edi, ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], esi
jle 0x40f4fb
mov bl, 6
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0xc78], 2
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0xc78], 3
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x1c]
push 4
push edx
push esi
lea ecx, [esp + 0x74]
mov byte [esp + 0xc84], 4
mov word [esp + 0x28], bp
mov word [esp + 0x2a], bp
mov dword [esp + 0x3c], 4
call fcn.0041b8d0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
and eax, 0xffff
push eax
push 0x434154
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x5c]
call fcn.0041b840
lea ecx, [esp + 0x14]
mov byte [esp + 0xc78], 5
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push str.SOFTWAREClarusAccaSecretZoneMount
push 0x43419c
push eax
mov byte [esp + 0xc88], bl
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0x20019
push ecx
push 0x80000001
lea ecx, [esp + 0x68]
call fcn.0041b9a0
test eax, eax
jne 0x40f499
mov ecx, 0x41
lea edi, [esp + 0x19c]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x19c]
push edx
push eax
push ebp
lea ecx, [esp + 0x68]
mov dword [esp + 0x3c], 0x104
call fcn.0041b8f0
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x19c]
lea edx, [esp + 0x10]
push ecx
push 0x434208
push edx
mov byte [esp + 0xc84], 7
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov esi, dword [eax - 8]
push 0x7c
call sub.MFC42u.DLL_CString::ReverseFind
sub esi, eax
lea ecx, [esp + 0x34]
dec esi
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xc7c], 8
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x34]
mov byte [esp + 0xc78], 7
call sub.MFC42u.DLL_CString::CString
push 0x7c
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::ReverseFind
lea edx, [esp + 0x58]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xc7c], 9
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x58]
mov byte [esp + 0xc78], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
call fcn.0041b9d0
lea ecx, [esp + 0x10]
mov byte [esp + 0xc78], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x38]
test eax, eax
jbe 0x40f418
xor esi, esi
mov eax, dword [esp + 0x44]
mov ecx, 0x10
lea edi, [esp + 0x9c]
push 0x40
lea edx, [esi + eax]
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xa0]
push ecx
push 0xffffffffffffffff
push edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x9c]
lea eax, [esp + 0x18]
push edx
push 0x434208
push eax
mov byte [esp + 0xc84], 0xa
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x14
mov byte [esp + 0xc78], bl
test eax, eax
lea ecx, [esp + 0x18]
je 0x40f492
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x38]
inc ebp
add esi, 0x74
cmp ebp, eax
jb 0x40f389
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x90]
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x14]
mov byte [esp + 0xc78], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc78], 4
call fcn.0041b870
lea ecx, [esp + 0x20]
mov byte [esp + 0xc78], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xc78], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xc78], 1
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
xor ebp, ebp
jmp 0x40f4ee
call sub.MFC42u.DLL_CString::CString
jmp 0x40f431
lea ecx, [esp + 0x14]
mov byte [esp + 0xc78], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc78], 4
call fcn.0041b870
lea ecx, [esp + 0x20]
mov byte [esp + 0xc78], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xc78], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xc78], 1
call sub.MFC42u.DLL_CString::CString
inc esi
cmp esi, edi
mov dword [esp + 0x2c], esi
jl 0x40f1b7
mov eax, dword [esp + 0x90]
cmp eax, ebp
jle 0x40f554
xor esi, esi
cmp eax, ebp
jbe 0x40f554
mov bl, 0xb
lea edx, [esp + 0x34]
push esi
push edx
lea ecx, [esp + 0x90]
call fcn.0040fc20
mov eax, dword [eax]
mov byte [esp + 0xc78], bl
push eax
push 0x80000001
call fcn.0041b890
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0xc78], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x90]
inc esi
cmp esi, eax
jb 0x40f50e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], ebp
cmp eax, ebp
jbe 0x40fb8d
mov dword [esp + 0x30], ebp
jmp 0x40f56c
xor ebp, ebp
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
lea edi, [esp + 0x11c]
push 0x40
lea edx, [ecx + eax]
mov ecx, 0x10
xor eax, eax
mov dword [esp + 0x5c], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x50], edx
push eax
push 0xffffffffffffffff
push edx
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x11c]
lea edx, [esp + 0x1c]
push ecx
push 0x434208
push edx
mov byte [esp + 0xc84], 0xc
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x68]
call fcn.0041b920
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x40f88c
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x50]
mov byte [esp + 0xc78], 0xd
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov byte [esp + 0xc78], 0xe
call sub.MFC42u.DLL_CString::CString_3
xor eax, eax
push 4
mov word [esp + 0x58], ax
mov word [esp + 0x5a], ax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x6c]
push eax
push ebp
mov byte [esp + 0xc84], 0xf
mov dword [esp + 0x54], 4
call fcn.0041b8d0
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x2c]
and ecx, 0xffff
push ecx
push 0x434154
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x5c]
call fcn.0041b840
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc78], 0x10
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
push eax
push str.SOFTWAREClarusAccaSecretZoneMount
push 0x43419c
push ecx
mov byte [esp + 0xc88], 0x11
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x4c]
add esp, 0x10
lea ecx, [esp + 0x5c]
push 0x20019
push edx
push 0x80000001
call fcn.0041b9a0
test eax, eax
jne 0x40f837
mov ecx, 0x41
lea edi, [esp + 0x19c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x19c]
push eax
push ecx
push 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x54], 0x104
call fcn.0041b8f0
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x19c]
lea eax, [esp + 0x14]
push edx
push 0x434208
push eax
mov byte [esp + 0xc84], 0x12
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, dword [ecx - 8]
push 0x7c
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::ReverseFind
sub esi, eax
lea edx, [esp + 0x7c]
dec esi
lea ecx, [esp + 0x14]
push esi
push edx
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xc7c], 0x13
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc78], 0x12
call sub.MFC42u.DLL_CString::CString
push 0x7c
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xc7c], 0x14
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x80]
mov byte [esp + 0xc78], 0x12
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
call fcn.0041b9d0
lea ecx, [esp + 0x14]
mov byte [esp + 0xc78], 0x11
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40f82f
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc78], 0x10
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc78], 0xf
call fcn.0041b870
lea ecx, [esp + 0x40]
mov byte [esp + 0xc78], 0xe
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0xc78], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc78], 0xc
call sub.MFC42u.DLL_CString::CString
inc ebp
cmp ebp, ebx
jl 0x40f5e8
jmp 0x40f88c
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc78], 0x10
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc78], 0xf
call fcn.0041b870
lea ecx, [esp + 0x40]
mov byte [esp + 0xc78], 0xe
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0xc78], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc78], 0xc
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x68]
push ecx
push eax
call fcn.0040ee80
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
mov eax, dword [esp + 0x20]
je 0x40f8cc
test eax, eax
je 0x40fb5a
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
jmp 0x40fb5a
lea ecx, [esp + 0x18]
mov ebp, eax
lea esi, [eax + 0x6c]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0xc78], 0x15
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0xc78], 0x16
call sub.MFC42u.DLL_CString::CString_3
add esi, 8
lea edx, [esp + 0x18]
push esi
push 0x434208
push edx
mov byte [esp + 0xc84], 0x17
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x24]
push 0x4360c4
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
add esp, 8
mov eax, dword [ecx - 8]
mov ebx, dword [edx - 8]
sub eax, ebx
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x88]
push eax
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc7c], 0x18
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x84]
mov byte [esp + 0xc78], 0x17
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_3
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov byte [esp + 0xc78], 0x19
mov ax, word [ecx]
and eax, 0xffff
push eax
push 0x43452c
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x34]
push 0
push 0
push 0
push eax
call fcn.0041a310
add esp, 0x1c
cmp eax, 1
jne 0x40f9c1
mov eax, dword [esp + 0x58]
test eax, eax
je 0x40f9f9
mov ecx, dword [esp + 0x10]
push ecx
push 0x4365ec
call fcn.00405520
mov edx, dword [esp + 0x18]
push 0
push 1
push ebp
push edx
call fcn.0040db50
mov eax, dword [esp + 0x28]
add esp, 0x18
push eax
push str._SecretZone_SafelyRemove_
call fcn.00405520
add esp, 8
jmp 0x40fb05
mov ecx, 0x232
xor eax, eax
lea edi, [esp + 0x3a4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x74]
stosb byte es:[edi], al
call fcn.00410ef0
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x9c]
lea edx, [esp + 0x9c]
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xc78], 0x1a
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x78]
call fcn.00411090
lea edx, [esp + 0x3a4]
lea eax, [esp + 0x9c]
push edx
push eax
lea ecx, [esp + 0x7c]
call fcn.004110f0
lea ecx, [esp + 0x835]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x40fab9
cmp dword [esp + 0xc5d], 1
jne 0x40fab9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40faa6
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x74]
mov byte [esp + 0xc78], 0x19
call fcn.00410f30
jmp 0x40fb16
movsx edx, byte [esp + 0x7b4]
push edx
push 0x436518
call fcn.00405520
mov eax, dword [esp + 0x18]
push 0
push 1
push ebp
push eax
call fcn.0040db50
movsx ecx, byte [esp + 0x7cc]
add esp, 0x18
push ecx
push 0x4364ac
call fcn.00405520
add esp, 8
lea ecx, [esp + 0x74]
mov byte [esp + 0xc78], 0x19
call fcn.00410f30
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40fb16
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xc78], 0x17
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xc78], 0x16
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xc78], 0x15
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xc78], 0xc
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc78], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
inc eax
add edx, 0x74
cmp eax, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
jb 0x40f56a
xor ebp, ebp
lea ecx, [esp + 0x68]
call fcn.0041b9d0
lea ecx, [esp + 0x88]
mov byte [esp + 0xc78], 0
call fcn.004279a8
mov esi, dword [esp + 0x4c]
pop edi
pop ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x40fbc1
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0xc70], 0xffffffff
call fcn.0041b870
mov ecx, dword [esp + 0xc68]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xc6c
ret
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x40fbff
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
push str.SOFTWAREClarusAccaSecretZoneMount
lea ecx, [esp + 0x64]
call fcn.0041b8b0
lea ecx, [esp + 0x60]
call fcn.0041b9d0
jmp 0x40fbc1