Function at 0x4a5f20
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x583d88
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 0x64b350
push 1
call fcn.004a74e0
mov eax, dword [0x64b478]
push 0x64b350
mov ecx, dword [eax + 4]
push ecx
call fcn.0048bd70
mov esi, dword [esp + 0x88]
xor ebp, ebp
add esp, 0x10
cmp esi, ebp
mov ebx, 2
je 0x4a6000
mov edx, dword [esi + 0x28]
cmp byte [edx + 0x2b], 0x44
jne 0x4a5fb6
mov eax, dword [esi + 0x128]
mov ecx, dword [eax + 4]
push ecx
call fcn.004bb990
add esp, 4
cmp eax, ebp
jne 0x4a5f9a
push 0x619640
jmp 0x4a5fa4
mov edx, dword [esi + 0x128]
mov eax, dword [edx + 4]
push eax
push str.DATE1
push 0x64b350
call fcn.0044dcc0
add esp, 0xc
cmp dword [esi + 0xcc], ebx
jb 0x4a6000
mov ecx, dword [esi + 0x28]
cmp byte [ecx + 0x4b], 0x44
jne 0x4a6000
mov edx, dword [esi + 0x128]
mov eax, dword [edx + 8]
push eax
call fcn.004bb990
add esp, 4
cmp eax, ebp
jne 0x4a5fe4
push 0x619640
jmp 0x4a5fee
mov ecx, dword [esi + 0x128]
mov edx, dword [ecx + 8]
push edx
push str.DATE2
push 0x64b350
call fcn.0044dcc0
add esp, 0xc
mov eax, dword [0x6658c0]
push eax
push str.NAME
push 0x64b350
call fcn.0044dcc0
mov ecx, dword [0x6658cc]
push ecx
push str.PROGRAM_ID
push 0x64b350
call fcn.0044dcc0
mov edx, dword [0x6658e8]
push edx
call fcn.0044e5b0
mov eax, dword [0x6658e8]
push eax
push str.RTITLE
push 0x64b350
call fcn.0044dcc0
add esp, 0x28
call fcn.004a4520
mov ecx, dword [0x6658e8]
mov esi, dword [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.0055e920
mov ecx, esi
call fcn.0055df30
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], ebp
call sub.MFC42.DLL_CString::CString_3
push str.WhilePrintingRecords__nStringVar__s__n_s_:__s
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 1
call sub.MFC42.DLL_CString::CString_2
movsx eax, di
cmp eax, ebp
mov byte [esp + 0x70], bl
mov dword [esp + 0x30], ebp
mov dword [esp + 0x58], eax
jle 0x4a6d21
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0055df40
test eax, eax
je 0x4a6d0c
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x60e7b8
push edx
call edi
add esp, 8
test eax, eax
jne 0x4a6132
mov eax, dword [esp + 0x78]
push 1
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x80], 3
mov ecx, esp
mov dword [esp + 0x70], esp
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x84], bl
call fcn.004a5370
add esp, 0x14
jmp 0x4a6d0c
mov ecx, dword [esp + 0x10]
push 0x60e7b4
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4a6172
mov edx, dword [esp + 0x78]
push ebx
push edx
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
mov byte [esp + 0x80], 4
push edx
jmp 0x4a6118
mov eax, dword [esp + 0x10]
push str.period1
push eax
call edi
add esp, 8
test eax, eax
jne 0x4a61b1
mov ecx, dword [esp + 0x78]
push 1
push ecx
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x80], 5
mov ecx, esp
mov dword [esp + 0x6c], esp
jmp 0x4a6113
mov ecx, dword [esp + 0x10]
push str.period2
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4a61f4
mov edx, dword [esp + 0x78]
push ebx
push edx
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
mov byte [esp + 0x80], 6
push edx
jmp 0x4a6118
mov eax, dword [esp + 0x10]
push str.Two1
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a6233
push 1
push 0x64be80
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x80], 7
mov ecx, esp
mov dword [esp + 0x6c], esp
jmp 0x4a6113
mov ecx, dword [esp + 0x10]
push str.Two2
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a6271
push ebx
push 0x64be80
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x80], 8
mov ecx, esp
mov dword [esp + 0x6c], esp
jmp 0x4a6113
mov ecx, dword [esp + 0x10]
push str.TwoDateTime1
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a62ca
push 1
push 0x64be80
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
mov byte [esp + 0x84], 9
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x84], bl
call fcn.004a55a0
add esp, 0x14
jmp 0x4a6d0c
mov ecx, dword [esp + 0x10]
push str.TwoDateTime2
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a6322
push ebx
push 0x64be80
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push eax
mov byte [esp + 0x84], 0xa
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x84], bl
call fcn.004a55a0
add esp, 0x14
jmp 0x4a6d0c
mov ecx, dword [esp + 0x10]
push str.FinanceDate
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a637a
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a6d0c
push 0
mov edi, eax
push str.FIN_DATE
push edi
call fcn.0044db80
add esp, 0xc
lea edx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x80], 0xb
mov ecx, esp
mov dword [esp + 0x6c], esp
jmp 0x4a6113
mov ecx, dword [esp + 0x10]
push str.Gst_Date
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4a63d8
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a6d0c
push 0
push str.GST_DATE
push 0x64b350
call fcn.0044db80
add esp, 0xc
lea edx, [esp + 0x14]
push eax
push 0x64b350
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x80], 0xc
mov ecx, esp
mov dword [esp + 0x6c], esp
jmp 0x4a6113
mov ecx, dword [esp + 0x10]
push str.LOGO_D1
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4a6431
push eax
push 0x60e748
push 0x64b350
call fcn.0044db80
add esp, 0xc
test eax, eax
je 0x4a6d0c
push eax
push 0x64b350
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x80], 0xd
mov ecx, esp
mov dword [esp + 0x6c], esp
jmp 0x4a6113
mov ecx, dword [esp + 0x10]
push str.LOGO_D2
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4a648a
push eax
push 0x60e73c
push 0x64b350
call fcn.0044db80
add esp, 0xc
test eax, eax
je 0x4a6d0c
push eax
push 0x64b350
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x80], 0xe
mov ecx, esp
mov dword [esp + 0x6c], esp
jmp 0x4a6113
mov ecx, dword [esp + 0x10]
push str.ProgramID
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a64d2
mov edx, dword [0x6658cc]
push edx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0055dfe0
jmp 0x4a6d0c
mov ecx, dword [esp + 0x10]
push str.UserID
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a652e
mov edx, dword [0x667108]
lea ecx, [esp + 0x38]
mov eax, dword [edx + 4]
push eax
push ecx
call fcn.00460670
add esp, 8
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x84], 0xf
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4a64bc
mov ecx, dword [esp + 0x10]
push str.UserName
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a658d
mov edx, dword [0x667108]
lea ecx, [esp + 0x3c]
mov eax, dword [edx + 8]
push eax
push ecx
call fcn.00460670
add esp, 8
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x84], 0x10
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4a64bc
mov ecx, dword [esp + 0x10]
push str.CompanyName
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a666d
mov edx, dword [0x6658c0]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x64b2e0]
mov byte [esp + 0x70], 0x11
mov ecx, dword [eax + 0x924]
test ecx, ecx
je 0x4a6607
mov eax, dword [eax + 0x778]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a6607
push 0x60e70c
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x64b2e0]
add ecx, 0x778
push ecx
lea ecx, [esp + 0x24]
call fcn.005523f6
push 0x603c20
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x40]
push edx
push eax
call fcn.00460670
add esp, 8
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push eax
push eax
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x84], 0x12
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 0x11
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0055dfe0
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4a6d0c
mov eax, dword [esp + 0x10]
push str.CompanyNameWithCoNo
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a679c
mov ecx, dword [0x6658c0]
push ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [0x64b478]
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0x13
mov eax, dword [edx + 4]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0x14
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 8], 1
jle 0x4a6728
push str.__Co._No.:
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [0x64c9d0]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4a670a
mov edx, dword [0x64b478]
lea ecx, [esp + 0x7c]
mov eax, dword [edx + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CString::TrimRight
jmp 0x4a6717
push edx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::operator_1
push 0x603c20
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.00460670
add esp, 8
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push eax
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x84], 0x15
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 0x14
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0055dfe0
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4a6d0c
mov edx, dword [esp + 0x10]
push str.CompanyNameWithCoNoOnly
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4a68be
mov eax, dword [0x6658c0]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x64b478]
mov byte [esp + 0x70], 0x16
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0x17
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x2c]
cmp dword [eax - 8], 1
jle 0x4a684a
push 0x60e70c
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [0x64c9d0]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4a6832
mov ecx, dword [0x64b478]
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimRight
jmp 0x4a683c
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
push 0x603c20
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00460670
add esp, 8
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x84], 0x18
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0x17
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0055dfe0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4a6d0c
mov ecx, dword [esp + 0x10]
push str.CompanyNameOnly
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a694c
mov edx, dword [0x6658c0]
lea ecx, [esp + 0x34]
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x78], 0x19
call fcn.00460670
add esp, 8
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x84], 0x1a
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0x19
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0055dfe0
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4a6d0c
mov ecx, dword [esp + 0x10]
push str.CompanyNo
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4a69b9
mov edx, dword [0x64c9d0]
lea eax, [esp + 0x50]
push edx
push eax
call fcn.00460670
add esp, 8
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push eax
push eax
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x84], 0x1b
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0055dfe0
jmp 0x4a6d0c
mov eax, dword [esp + 0x10]
push str.Caption1
push eax
call ebp
add esp, 8
test eax, eax
jl 0x4a6aac
mov ecx, dword [esp + 0x10]
push str.Caption6
push ecx
call ebp
add esp, 8
test eax, eax
jg 0x4a6aac
mov ecx, 0x64c428
call fcn.00457d30
test eax, eax
je 0x4a6d0c
mov edx, dword [esp + 0x10]
push 0
push edx
push 0x64c428
call fcn.0044db80
add esp, 0xc
test eax, eax
je 0x4a6d0c
mov ecx, dword [0x64c550]
mov edx, dword [ecx + eax*4]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 0x1c
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a6a9a
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00460670
add esp, 8
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push eax
push eax
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x84], 0x1d
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0x1c
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0055dfe0
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
jmp 0x4a6d0c
mov eax, dword [esp + 0x10]
push str.RptOrderBy
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4a6afe
mov eax, dword [0x668728]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a6d0c
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push eax
push eax
push ecx
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 0x14
push eax
push ecx
mov ecx, esi
call fcn.0055dfe0
jmp 0x4a6d0c
mov edx, dword [esp + 0x10]
push str.RptOrderByWithTableField_
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4a6b27
mov eax, dword [0x66872c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4a6d0c
push eax
jmp 0x4a64a4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push esi
call fcn.004a5a10
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x7c], 0x1e
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
mov byte [esp + 0x80], 0x1f
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x80], bl
call fcn.004a4ab0
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x7c], 0x20
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x7c], bl
call fcn.004a4be0
add esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x7c], 0x21
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x7c], bl
call fcn.004a4d30
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x7c], 0x22
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x78], 0x23
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x80], bl
call fcn.004a45a0
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x7c], 0x24
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x80], 0x25
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x80], bl
call fcn.004a48f0
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
mov byte [esp + 0x7c], 0x26
call sub.MFC42.DLL_CString::CString_4
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x80], 0x27
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x80], bl
call fcn.004a5270
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x7c], 0x28
call sub.MFC42.DLL_CString::CString_4
push esi
mov byte [esp + 0x7c], bl
call fcn.004a4f70
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x4a60b5
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret