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

Disassembly:
push 0xffffffffffffffff
push 0x5a9913
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
add eax, 5
push edi
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], ebp
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString_1
push 0x20
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
cmp edi, 0xffffffff
jle 0x47c4b1
lea ecx, [esp + 0x24]
push edi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, edi
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx - 8]
cmp eax, 6
jge 0x47bfec
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x612658
mov dword [esi + 0x7c], eax
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebp
je 0x47bea0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47bea0
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x612548
push str._RX_
push ebp
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 [0x637760]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c4d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47beee
push 0x612548
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 + 0x28], esp
push edx
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x48], 2
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x47c677
cmp dword [eax + 0x50], ebp
jle 0x47c677
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47bfdb
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47bfdb
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47bfd6
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47bfd6
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x3c], 6
mov eax, dword [edx - 8]
test eax, eax
je 0x47bfc8
mov al, byte [edi + 0x80]
test al, al
jne 0x47bfc8
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x47bfc8
push 0x612548
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 + 0x34], esp
push edx
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], 6
call fcn.00402490
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47bf0a
jmp 0x47c677
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x3c], 0xb
je 0x47c017
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x47c01d
mov dword [esp + 0x1c], ebp
mov edi, ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x78]
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x24]
mov edx, dword [ecx + 0x10c]
mov byte [esp + 0x40], 0xc
push edx
push str.select__from__client_config__where__delflag_0_and__group__d_and__account____s
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0x10
push 3
push 3
push 1
push ecx
mov ecx, edi
call fcn.004dba80
cmp eax, ebp
je 0x47c2c6
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x47c2c6
lea edx, [esp + 0x2c]
mov ecx, edi
push edx
push 0x603170
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
lea eax, [esp + 0x44]
mov ecx, edi
push eax
push str.ct_phone
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::PutCollect_char_const___class_CString_const__
mov ecx, edi
call fcn.004dbc50
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x612620
push eax
mov byte [esp + 0x4c], 0x10
call sub.MFC42.DLL_CString::Format
mov edx, dword [esi + 0x7c]
add esp, 0x10
inc edx
mov ecx, esi
mov eax, edx
mov dword [esi + 0x7c], edx
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebp
je 0x47c150
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47c150
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x78]
push ecx
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x47c19e
mov edx, dword [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x4c], 0x11
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x48], 0x10
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x47c299
cmp dword [eax + 0x50], ebp
jle 0x47c299
mov bl, 0x12
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47c289
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47c289
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47c284
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47c284
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov byte [esp + 0x3c], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47c276
mov al, byte [edi + 0x80]
test al, al
jne 0x47c276
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 0x47c276
mov ecx, dword [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], 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 + 0x3c], esp
push edx
mov byte [esp + 0x4c], 0x13
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402490
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47c1b6
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x47c2a5
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
jmp 0x47c677
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 0x61248c
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebp
je 0x47c349
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47c349
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61247c
push str._RX_
push ebp
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637760]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c4d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47c397
push 0x61247c
push ecx
mov ecx, esp
mov dword [esp + 0x38], 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 + 0x34], esp
push edx
mov byte [esp + 0x4c], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x48], 0xc
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x47c492
cmp dword [eax + 0x50], ebp
jle 0x47c492
mov bl, 0xe
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47c482
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47c482
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47c47d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47c47d
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov byte [esp + 0x3c], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47c46f
mov al, byte [edi + 0x80]
test al, al
jne 0x47c46f
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 0x47c46f
push 0x61247c
push ecx
mov ecx, esp
mov dword [esp + 0x38], 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 + 0x34], esp
push edx
mov byte [esp + 0x4c], 0xf
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402490
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47c3af
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x47c49e
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
jmp 0x47c677
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x6125fc
mov dword [esi + 0x7c], eax
call dword [edx + 0x90]
mov eax, dword [0x637760]
cmp eax, ebp
je 0x47c532
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47c532
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6125d8
push str._RX_
push ebp
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x637760]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb100
mov eax, dword [0x637760]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c4d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47c580
push 0x6125d8
push ecx
mov ecx, esp
mov dword [esp + 0x38], 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 + 0x34], esp
push edx
mov byte [esp + 0x4c], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x48], 2
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x47c677
cmp dword [eax + 0x50], ebp
jle 0x47c677
mov bl, 9
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47c66b
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47c66b
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47c666
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47c666
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov byte [esp + 0x3c], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47c658
mov al, byte [edi + 0x80]
test al, al
jne 0x47c658
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 0x47c658
push 0x6125d8
push ecx
mov ecx, esp
mov dword [esp + 0x38], 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 + 0x34], esp
push edx
mov byte [esp + 0x4c], 0xa
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402490
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47c598
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 4