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

Disassembly:
push 0xffffffffffffffff
push 0x5a7a93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
mov edi, ecx
add eax, 4
lea ecx, [esp + 0x38]
push eax
call sub.MFC42.DLL_CString::CString_3
xor ebp, ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x38]
mov esi, dword [edi + 4]
mov eax, dword [ecx - 8]
cmp eax, 6
je 0x47552b
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push str._PNR
call dword [edx + 0x90]
mov eax, dword [0x635490]
cmp eax, ebp
je 0x4753e1
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4753e1
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push str._PNR
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x47542f
push str._PNR
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov byte [esp + 0x3c], 0
call fcn.00401140
mov eax, dword [0x62fcf0]
cmp eax, ebp
je 0x476000
cmp dword [eax + 0x50], ebp
jle 0x476000
mov bl, 2
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47551a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47551a
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x475515
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x475515
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov byte [esp + 0x30], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x475507
mov al, byte [edi + 0x80]
test al, al
jne 0x475507
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x475507
push str._PNR
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004024b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x475447
jmp 0x476000
cmp dword [esi + 0x78], ebp
je 0x476000
mov eax, dword [0x635490]
push str.PNRR
mov ecx, dword [eax + 8]
call sym.ETermProxy.exe_public:_class_CCSConnection____thiscall_CDBConnCollect::GetConnByName_char__
test eax, eax
jne 0x475716
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x60f9f8
call dword [edx + 0x90]
mov eax, dword [0x635490]
cmp eax, ebp
je 0x4755cc
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4755cc
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x60f9f8
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x47561a
push 0x60f9f8
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov byte [esp + 0x3c], 0
call fcn.00401140
mov eax, dword [0x62fcf0]
cmp eax, ebp
je 0x476000
cmp dword [eax + 0x50], ebp
jle 0x476000
mov bl, 5
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x475705
mov cl, byte [edi + 0x88]
test cl, cl
je 0x475705
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x475700
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x475700
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov byte [esp + 0x30], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4756f2
mov al, byte [edi + 0x80]
test al, al
jne 0x4756f2
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4756f2
push 0x60f9f8
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004024b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x475632
jmp 0x476000
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x30], 7
je 0x47573d
push str.PNRR
mov ecx, eax
call fcn.004dc2a0
mov ebx, eax
jmp 0x47573f
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
push str.select__from_booking_rec_where_pnr_s
push ecx
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, ebx
push 3
push 3
push 1
push edx
call fcn.004dc330
test eax, eax
jne 0x475963
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x60f884
mov dword [esi + 0x7c], eax
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x475805
mov cl, byte [eax + 0x40]
test cl, cl
je 0x475805
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x60f86c
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x475853
push 0x60f86c
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov byte [esp + 0x3c], 8
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x47594e
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47594e
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x475942
mov cl, byte [edi + 0x88]
test cl, cl
je 0x475942
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47593d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47593d
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov byte [esp + 0x30], 0xa
mov eax, dword [edx - 8]
test eax, eax
je 0x47592f
mov al, byte [edi + 0x80]
test al, al
jne 0x47592f
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47592f
push 0x60f86c
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x3c], 0xa
call fcn.004024b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47586d
test ebx, ebx
je 0x475ff2
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
jmp 0x475ff2
mov ecx, ebx
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jne 0x475998
test ebx, ebx
je 0x47597a
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov edx, dword [esi + 0x7c]
mov ecx, esi
inc edx
mov eax, edx
mov dword [esi + 0x7c], edx
mov edx, dword [esi]
push eax
push str._NO_PNR
call dword [edx + 0x90]
jmp 0x475ff2
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
push str.is_protect
mov dword [esp + 0x24], 0
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x475ba1
cmp byte [edi + 0x20], 1
jne 0x475d8d
test ebx, ebx
je 0x4759d4
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi]
inc ecx
push ecx
push 0x60fab0
mov ecx, esi
call dword [eax + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x475a53
mov cl, byte [eax + 0x40]
test cl, cl
je 0x475a53
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x60fab0
push str._RX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x475aa1
push 0x60fab0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0xc
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov byte [esp + 0x3c], 8
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x475ff2
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x475ff2
mov bl, 0xd
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x475b90
mov cl, byte [edi + 0x88]
test cl, cl
je 0x475b90
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x475b8b
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x475b8b
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov byte [esp + 0x30], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x475b7d
mov al, byte [edi + 0x80]
test al, al
jne 0x475b7d
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x475b7d
push 0x60fab0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004024b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x475abd
jmp 0x475ff2
test eax, eax
jne 0x475d8d
mov al, byte [edi + 0x20]
test al, al
jne 0x475d8d
test ebx, ebx
je 0x475bc0
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x60fa98
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x475c3f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x475c3f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x60fa98
push str._RX_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635490]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eba10
mov edx, dword [0x635490]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x475c8d
push 0x60fa98
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0xf
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov byte [esp + 0x3c], 8
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x475ff2
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x475ff2
mov bl, 0x10
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x475d7c
mov cl, byte [edi + 0x88]
test cl, cl
je 0x475d7c
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x475d77
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x475d77
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov byte [esp + 0x30], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x475d69
mov al, byte [edi + 0x80]
test al, al
jne 0x475d69
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x475d69
push 0x60fa98
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0x11
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004024b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x475ca9
jmp 0x475ff2
test ebx, ebx
je 0x475d99
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov al, byte [edi + 0x20]
mov ecx, dword [esp + 0x38]
xor edx, edx
push ecx
test al, al
setne dl
push edx
lea eax, [esp + 0x18]
push str.update_booking_rec_set_is_protect_d_where_pnr_s
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
mov eax, dword [0x635490]
add esp, 0x10
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [eax + 8]
push str.PNRR
push edx
call sym.ETermProxy.exe_public:_class__com_ptr_t_class__com_IIID_struct_ADODB::_Recordset__struct___s_GUID__GUID_00000556_0000_0010_8000_00aa006d2ea4_____thiscall_CDBConnCollect::Execute_char___char_const__
mov eax, dword [esp + 0x18]
test eax, eax
je 0x475de5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov al, byte [edi + 0x20]
mov byte [esp + 0x30], 0x12
test al, al
mov eax, 0x60fa58
jne 0x475e04
mov eax, 0x60fa4c
mov edx, dword [esp + 0x38]
push eax
push edx
lea eax, [esp + 0x1c]
push 0x60fa40
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
add esp, 0x10
inc eax
push eax
push ecx
mov ecx, esi
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x475e9b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x475e9b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x78]
push edx
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635490]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eba10
mov eax, dword [0x635490]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x475ee9
mov ecx, dword [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0x13
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fce8]
mov byte [esp + 0x3c], 0x12
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x475fe4
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x475fe4
mov bl, 0x14
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x475fd8
mov cl, byte [edi + 0x88]
test cl, cl
je 0x475fd8
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x475fd3
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x475fd3
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x18]
mov byte [esp + 0x30], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x475fc5
mov al, byte [edi + 0x80]
test al, al
jne 0x475fc5
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x475fc5
mov ecx, dword [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0x15
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004024b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0x12
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x475f05
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4