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

Disassembly:
push 0xffffffffffffffff
push 0x5a9733
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x40]
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
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString_1
push 0x20
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
cmp edi, 0xffffffff
jle 0x47a912
lea ecx, [esp + 0x50]
push edi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x1c]
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 + 0x54]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
push 0x20
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
cmp edi, 0xffffffff
jle 0x47a73e
lea ecx, [esp + 0x50]
push edi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
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 + 0x54]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push edx
push eax
call ebp
add esp, 8
test eax, eax
je 0x47998b
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x612414
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x47983b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47983b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x612414
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x60], 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 0x479889
push 0x612414
push ecx
mov ecx, esp
mov dword [esp + 0x58], 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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x47aae1
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47aae1
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47997a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47997a
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x479975
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x479975
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x50]
mov byte [esp + 0x48], 0xf
mov eax, dword [edx - 8]
test eax, eax
je 0x479967
mov al, byte [edi + 0x80]
test al, al
jne 0x479967
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x479967
push 0x612414
push ecx
mov ecx, esp
mov dword [esp + 0x34], 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 + 0x58], 0x10
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], 0xf
call fcn.00402490
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4798a9
jmp 0x47aae1
mov eax, dword [esi + 0x78]
test eax, eax
je 0x479e33
mov cl, byte [eax + 0x70]
test cl, cl
je 0x479e33
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
cmp ecx, 8
jge 0x479bc2
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x6123f4
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x479a35
mov cl, byte [eax + 0x40]
test cl, cl
je 0x479a35
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6123d4
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x60], 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 0x479a83
push 0x6123d4
push ecx
mov ecx, esp
mov dword [esp + 0x58], 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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0x11
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x479b80
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x479b80
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x479b74
mov cl, byte [edi + 0x88]
test cl, cl
je 0x479b74
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x479b6f
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x479b6f
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x50]
mov byte [esp + 0x48], 0x12
mov eax, dword [edx - 8]
test eax, eax
je 0x479b61
mov al, byte [edi + 0x80]
test al, al
jne 0x479b61
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x479b61
push 0x6123d4
push ecx
mov ecx, esp
mov dword [esp + 0x34], 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 + 0x58], 0x13
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], 0x12
call fcn.00402490
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x479aa3
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x47ab1e
xor bl, bl
xor edi, edi
test ecx, ecx
mov byte [esp + 0x50], 0
jle 0x479c16
mov al, byte [edi + eax]
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004ec710
add esp, 4
test al, al
je 0x479bee
mov byte [esp + 0x50], 1
jmp 0x479c0c
mov edx, dword [esp + 0x14]
mov al, byte [edi + edx]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ec730
add esp, 4
test al, al
je 0x479c0c
mov bl, 1
mov eax, dword [esp + 0x14]
inc edi
cmp edi, dword [eax - 8]
jl 0x479bcf
mov dl, byte [esp + 0x50]
test dl, bl
jne 0x479e33
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x6123b0
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x479ca6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x479ca6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61238c
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x60], 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 0x479cf4
push 0x61238c
push ecx
mov ecx, esp
mov dword [esp + 0x58], 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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0x14
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x479df1
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x479df1
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x479de5
mov cl, byte [edi + 0x88]
test cl, cl
je 0x479de5
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x479de0
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x479de0
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x50]
mov byte [esp + 0x48], 0x15
mov eax, dword [edx - 8]
test eax, eax
je 0x479dd2
mov al, byte [edi + 0x80]
test al, al
jne 0x479dd2
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x479dd2
push 0x61238c
push ecx
mov ecx, esp
mov dword [esp + 0x34], 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 + 0x58], 0x16
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], 0x15
call fcn.00402490
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x479d14
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x47ab1e
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0x48], 0x17
je 0x479e5e
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov edi, eax
mov dword [esp + 0x50], edi
jmp 0x479e6a
mov dword [esp + 0x50], 0
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x20]
mov byte [esp + 0x48], 0x18
mov ecx, dword [eax + 0x3c]
push ecx
push str.select__from__client_config__where__delflag_0_and__account____s
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, edi
push 3
push 3
push 1
push eax
call fcn.004dba80
test eax, eax
jne 0x47a094
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x612324
mov dword [esi + 0x7c], eax
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x479f32
mov cl, byte [eax + 0x40]
test cl, cl
je 0x479f32
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x612304
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x3c], 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 0x479f80
push 0x612304
push ecx
mov ecx, esp
mov dword [esp + 0x34], 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 + 0x58], 0x19
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 0x18
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x47a07f
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a07f
mov bl, 0x1a
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a06f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a06f
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a06a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a06a
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x28]
mov byte [esp + 0x48], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47a05c
mov al, byte [edi + 0x80]
test al, al
jne 0x47a05c
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 0x47a05c
push 0x612304
push ecx
mov ecx, esp
mov dword [esp + 0x34], 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 + 0x58], 0x1b
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], bl
call fcn.00402490
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x18
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x479f9c
mov edi, dword [esp + 0x50]
test edi, edi
je 0x47a72b
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x47a72b
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
cmp eax, 1
je 0x47a288
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x6122e4
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x47a128
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a128
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6122c4
push str._RX_
push 0
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 0x47a176
push 0x6122c4
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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0x1c
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 0x18
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x47a271
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a271
mov bl, 0x1d
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a265
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a265
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a260
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a260
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x28]
mov byte [esp + 0x48], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47a252
mov al, byte [edi + 0x80]
test al, al
jne 0x47a252
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 0x47a252
push 0x6122c4
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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0x1e
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], bl
call fcn.00402490
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x18
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a192
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a72b
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x47a72b
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 0x1f
push ecx
push str.password
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call ebp
add esp, 8
test eax, eax
je 0x47a49c
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x6122b4
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x47a342
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a342
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6122a4
push str._RX_
push 0
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 0x47a390
push 0x6122a4
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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0x20
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 0x1f
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x47a48b
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a48b
mov bl, 0x21
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a47f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a47f
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a47a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a47a
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x28]
mov byte [esp + 0x48], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47a46c
mov al, byte [edi + 0x80]
test al, al
jne 0x47a46c
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 0x47a46c
push 0x6122a4
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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0x22
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], bl
call fcn.00402490
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a3ac
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a71d
jmp 0x47a717
lea ecx, [esp + 0x14]
push ecx
push str.password
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::PutCollect_char_const___class_CString_const__
mov eax, dword [esi + 0x78]
test eax, eax
je 0x47a53b
mov cl, byte [eax + 0x70]
test cl, cl
je 0x47a53b
push ecx
lea edx, [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x34], esp
push edx
mov dword [eax], 0x76a700
lea eax, [esp + 0x38]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call fcn.00418930
push 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x2c]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push 0x3b
push 0x3b
push 0x17
add eax, 0x76c
push ebp
push edi
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_COleDateTime::SetDateTime
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x54]
push str.pwd_expire_time
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::PutCollect_char_const___class_COleDateTime_const__
mov edi, dword [esp + 0x50]
mov ecx, edi
call fcn.004dbc50
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x612280
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x47a5c6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a5c6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61225c
push str._RX_
push 0
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 0x47a614
push 0x61225c
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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0x23
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 0x1f
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x47a70f
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a70f
mov bl, 0x24
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a703
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a703
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a6fe
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a6fe
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x28]
mov byte [esp + 0x48], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47a6f0
mov al, byte [edi + 0x80]
test al, al
jne 0x47a6f0
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 0x47a6f0
push 0x61225c
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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0x25
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], bl
call fcn.00402490
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a630
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a71d
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
jmp 0x47aae1
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x612230
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x47a7c2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a7c2
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x612208
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x60], 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 0x47a810
push 0x612208
push ecx
mov ecx, esp
mov dword [esp + 0x58], 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 + 0x58], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x47aae1
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47aae1
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47a901
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a901
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a8fc
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a8fc
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x50]
mov byte [esp + 0x48], 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x47a8ee
mov al, byte [edi + 0x80]
test al, al
jne 0x47a8ee
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x47a8ee
push 0x612208
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 + 0x38], esp
push edx
mov byte [esp + 0x58], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], 0xc
call fcn.00402490
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x47a830
jmp 0x47aae1
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x612230
call dword [edx + 0x90]
mov eax, dword [0x637760]
test eax, eax
je 0x47a996
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a996
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x612208
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x60], 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 0x47a9e4
push 0x612208
push ecx
mov ecx, esp
mov dword [esp + 0x58], 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 + 0x58], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x47aae1
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47aae1
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47aad5
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47aad5
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47aad0
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47aad0
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x50]
mov byte [esp + 0x48], 7
mov eax, dword [edx - 8]
test eax, eax
je 0x47aac2
mov al, byte [edi + 0x80]
test al, al
jne 0x47aac2
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x47aac2
push 0x612208
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 + 0x38], esp
push edx
mov byte [esp + 0x58], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x54], 7
call fcn.00402490
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x47aa04
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4