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

Disassembly:
push 0xffffffffffffffff
push 0x578ed7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x28]
mov byte [esp + 0xac], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 3
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xb4]
push 2
push eax
lea ecx, [esp + 0x40]
push 0x5c02c8
push ecx
mov ecx, dword [0x5c0424]
mov byte [esp + 0xbc], 4
call fcn.0041fb00
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x38]
mov byte [esp + 0xac], 4
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x5b6334
call fcn.0055734e
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0xb8], 6
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0xb4], 4
call fcn.004bf470
mov ecx, 1
add esp, 8
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ecx
jl 0x524edd
mov ebp, dword [sym.imp.MSVCRT.dll_atol]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0xa8], esp
push 0x5b6334
call fcn.0055734e
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0xbc], 7
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], 4
push ecx
call fcn.004bf510
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb0], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x60]
mov byte [esp + 0xac], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
test eax, eax
je 0x524eb6
lea ecx, [esp + 0x34]
push 8
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Right
mov esi, dword [eax]
lea edx, [esp + 0x5c]
push 8
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 9
call sub.MFC42.DLL_CString::Right
mov edi, dword [eax]
push esi
call ebp
push edi
mov esi, eax
call ebp
add esp, 8
cmp esi, eax
lea ecx, [esp + 0x5c]
setg bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], 4
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x524ec4
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
mov dword [esp + 0x38], ecx
jle 0x524deb
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x525775
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 0xc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 0xe
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0xf
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 0x10
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x11
call sub.MFC42.DLL_CString::Empty
push str.Select__from
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
push edx
call fcn.0055727c
lea ecx, [esp + 0x68]
call fcn.004198d0
mov bl, 0x12
push 0x5c02c8
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], bl
call fcn.0041bb90
mov eax, dword [esp + 0x1c]
push 1
push 1
push 3
push eax
lea ecx, [esp + 0x78]
call fcn.00419ae0
test eax, eax
jne 0x5250ed
push 0x2010
push 0x5b6164
push 0x5b762c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0x11
call fcn.00419a40
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0xac], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xac], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb4]
mov dword [esp + 0xac], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x5257d5
lea ecx, [esp + 0x68]
call fcn.0041a3a0
test eax, eax
jne 0x525455
lea eax, [esp + 0x64]
lea ecx, [esp + 0x68]
push eax
push str.EvidNo
call fcn.0041b140
lea ecx, [esp + 0x48]
push ecx
push str.Abstract
lea ecx, [esp + 0x70]
call fcn.0041b5b0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x68]
push edx
push str.Subject
call fcn.0041b5b0
lea eax, [esp + 0x54]
lea ecx, [esp + 0x68]
push eax
push str.Debit
call fcn.0041b5b0
lea ecx, [esp + 0x44]
push ecx
push str.Credit
lea ecx, [esp + 0x70]
call fcn.0041b5b0
lea edx, [esp + 0x40]
lea ecx, [esp + 0x68]
push edx
push str.Count
call fcn.0041b5b0
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x68]
push eax
push str.Foreign
call fcn.0041b5b0
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x10]
push ecx
push 0x5b622c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0055727c
push 0x5b7d08
lea ecx, [esp + 0x18]
call fcn.00557276
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x30]
push eax
call fcn.004c2530
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0x13
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0055727c
push 0x5b7d08
lea ecx, [esp + 0x18]
call fcn.00557276
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
push ecx
call fcn.004c2530
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0x14
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.0055727c
push 0x5b7d08
lea ecx, [esp + 0x18]
call fcn.00557276
lea eax, [esp + 0x54]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x38]
push eax
call fcn.004c2530
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0x15
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0055727c
push 0x5b7d08
lea ecx, [esp + 0x18]
call fcn.00557276
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x60]
push ecx
call fcn.004c2530
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0x16
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x5c]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.0055727c
push 0x5b7d08
lea ecx, [esp + 0x18]
call fcn.00557276
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x64]
push eax
call fcn.004c2530
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0x17
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x60]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0055727c
push 0x5b7d08
lea ecx, [esp + 0x18]
call fcn.00557276
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x3c]
push ecx
call fcn.004c2530
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0x18
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x38]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.0055727c
push 0x5b7d08
lea ecx, [esp + 0x18]
call fcn.00557276
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x68]
call fcn.0041a0d0
lea ecx, [esp + 0x68]
call fcn.0041a3a0
test eax, eax
je 0x5250fe
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 0x19
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x34]
push 9
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 0x1a
call sub.MFC42.DLL_CString::Right
mov esi, eax
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 0x1b
call sub.MFC42.DLL_CString::Left
push esi
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0xb8], 0x1c
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 0x1d
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], 0x1a
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x58]
lea ecx, [esp + 0x24]
push eax
push 0x5c03bc
push ecx
call sub.MFC42.DLL_operator_3
push str..SUP
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0xb8], 0x1e
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 0x1f
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], 0x1a
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
lea edx, [esp + 0x50]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004bf1c0
add esp, 8
test eax, eax
jne 0x5256bb
push 0x2010
push 0x5b6164
push 0x5b752c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x58]
mov byte [esp + 0xac], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0x11
call fcn.00419a40
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0xac], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xac], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb4]
mov dword [esp + 0xac], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x5257d5
lea ecx, [esp + 0x58]
mov byte [esp + 0xac], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0x11
call fcn.00419a40
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xac], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0xac], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xac], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb4]
mov dword [esp + 0xac], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret 4