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

Disassembly:
push 0xffffffffffffffff
push 0x5a9c53
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 0x47c751
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 0x47c28c
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 [0x637770]
cmp eax, ebp
je 0x47c140
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47c140
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 [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47c18e
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 [0x631fc8]
mov byte [esp + 0x48], 2
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebp
je 0x47c917
cmp dword [eax + 0x50], ebp
jle 0x47c917
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47c27b
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47c27b
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47c276
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47c276
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 0x47c268
mov al, byte [edi + 0x80]
test al, al
jne 0x47c268
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 0x47c268
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.00402500
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47c1aa
jmp 0x47c917
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x3c], 0xb
je 0x47c2b7
push str.XGSP
mov ecx, eax
call fcn.004dbdb0
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x47c2bd
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.004dbe40
cmp eax, ebp
je 0x47c566
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x47c566
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.004dc010
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 [0x637770]
cmp eax, ebp
je 0x47c3f0
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47c3f0
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 [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x47c43e
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 [0x631fc8]
mov byte [esp + 0x48], 0x10
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebp
je 0x47c539
cmp dword [eax + 0x50], ebp
jle 0x47c539
mov bl, 0x12
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47c529
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47c529
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47c524
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47c524
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 0x47c516
mov al, byte [edi + 0x80]
test al, al
jne 0x47c516
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 0x47c516
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.00402500
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47c456
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x47c545
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 0x47c917
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 [0x637770]
cmp eax, ebp
je 0x47c5e9
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47c5e9
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 [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47c637
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 [0x631fc8]
mov byte [esp + 0x48], 0xc
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebp
je 0x47c732
cmp dword [eax + 0x50], ebp
jle 0x47c732
mov bl, 0xe
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47c722
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47c722
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47c71d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47c71d
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 0x47c70f
mov al, byte [edi + 0x80]
test al, al
jne 0x47c70f
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 0x47c70f
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.00402500
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47c64f
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x47c73e
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 0x47c917
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 [0x637770]
cmp eax, ebp
je 0x47c7d2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47c7d2
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 [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47c820
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 [0x631fc8]
mov byte [esp + 0x48], 2
call fcn.00401160
mov eax, dword [0x631fd0]
cmp eax, ebp
je 0x47c917
cmp dword [eax + 0x50], ebp
jle 0x47c917
mov bl, 9
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47c90b
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47c90b
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47c906
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47c906
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 0x47c8f8
mov al, byte [edi + 0x80]
test al, al
jne 0x47c8f8
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 0x47c8f8
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.00402500
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47c838
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