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

Disassembly:
push 0xffffffffffffffff
push 0x5a8113
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 0x47aa22
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 0x47a84e
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 0x479a9b
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 0x61044c
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x47994b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47994b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61044c
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 [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 0x479999
push 0x61044c
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 [0x62fce8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x47abf1
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47abf1
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x479a8a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x479a8a
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x479a85
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x479a85
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 0x479a77
mov al, byte [edi + 0x80]
test al, al
jne 0x479a77
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 0x479a77
push 0x61044c
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.004024b0
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4799b9
jmp 0x47abf1
mov eax, dword [esi + 0x78]
test eax, eax
je 0x479f43
mov cl, byte [eax + 0x70]
test cl, cl
je 0x479f43
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
cmp ecx, 8
jge 0x479cd2
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 0x61042c
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x479b45
mov cl, byte [eax + 0x40]
test cl, cl
je 0x479b45
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61040c
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 [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 0x479b93
push 0x61040c
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 [0x62fce8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x479c90
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x479c90
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x479c84
mov cl, byte [edi + 0x88]
test cl, cl
je 0x479c84
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x479c7f
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x479c7f
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 0x479c71
mov al, byte [edi + 0x80]
test al, al
jne 0x479c71
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 0x479c71
push 0x61040c
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.004024b0
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x479bb3
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 0x47ac2e
xor bl, bl
xor edi, edi
test ecx, ecx
mov byte [esp + 0x50], 0
jle 0x479d26
mov al, byte [edi + eax]
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004ed140
add esp, 4
test al, al
je 0x479cfe
mov byte [esp + 0x50], 1
jmp 0x479d1c
mov edx, dword [esp + 0x14]
mov al, byte [edi + edx]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ed160
add esp, 4
test al, al
je 0x479d1c
mov bl, 1
mov eax, dword [esp + 0x14]
inc edi
cmp edi, dword [eax - 8]
jl 0x479cdf
mov dl, byte [esp + 0x50]
test dl, bl
jne 0x479f43
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 0x6103e8
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x479db6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x479db6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6103c4
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 [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 0x479e04
push 0x6103c4
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 [0x62fce8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x479f01
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x479f01
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x479ef5
mov cl, byte [edi + 0x88]
test cl, cl
je 0x479ef5
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x479ef0
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x479ef0
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 0x479ee2
mov al, byte [edi + 0x80]
test al, al
jne 0x479ee2
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 0x479ee2
push 0x6103c4
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.004024b0
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x479e24
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 0x47ac2e
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0x48], 0x17
je 0x479f6e
push str.XGSP
mov ecx, eax
call fcn.004dc2a0
mov edi, eax
mov dword [esp + 0x50], edi
jmp 0x479f7a
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.004dc330
test eax, eax
jne 0x47a1a4
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push 0x61035c
mov dword [esi + 0x7c], eax
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x47a042
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a042
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61033c
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 [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 0x47a090
push 0x61033c
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 [0x62fce8]
mov byte [esp + 0x54], 0x18
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x47a18f
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a18f
mov bl, 0x1a
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a17f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a17f
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a17a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a17a
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 0x47a16c
mov al, byte [edi + 0x80]
test al, al
jne 0x47a16c
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 0x47a16c
push 0x61033c
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.004024b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x18
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a0ac
mov edi, dword [esp + 0x50]
test edi, edi
je 0x47a83b
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x47a83b
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
cmp eax, 1
je 0x47a398
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 0x61031c
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x47a238
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a238
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6102fc
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 [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 0x47a286
push 0x6102fc
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 [0x62fce8]
mov byte [esp + 0x54], 0x18
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x47a381
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a381
mov bl, 0x1d
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a375
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a375
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a370
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a370
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 0x47a362
mov al, byte [edi + 0x80]
test al, al
jne 0x47a362
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 0x47a362
push 0x6102fc
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.004024b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x18
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a2a2
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a83b
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x47a83b
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 0x47a5ac
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 0x6102ec
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x47a452
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a452
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6102dc
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 [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 0x47a4a0
push 0x6102dc
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 [0x62fce8]
mov byte [esp + 0x54], 0x1f
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x47a59b
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a59b
mov bl, 0x21
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a58f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a58f
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a58a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a58a
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 0x47a57c
mov al, byte [edi + 0x80]
test al, al
jne 0x47a57c
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 0x47a57c
push 0x6102dc
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.004024b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a4bc
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a82d
jmp 0x47a827
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 0x47a64b
mov cl, byte [eax + 0x70]
test cl, cl
je 0x47a64b
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.004188f0
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.004dc500
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 0x6102b8
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x47a6d6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a6d6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x610294
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 [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 0x47a724
push 0x610294
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 [0x62fce8]
mov byte [esp + 0x54], 0x1f
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x47a81f
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a81f
mov bl, 0x24
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a813
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a813
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a80e
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a80e
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 0x47a800
mov al, byte [edi + 0x80]
test al, al
jne 0x47a800
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 0x47a800
push 0x610294
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.004024b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a740
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a82d
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 0x47abf1
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 0x610268
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x47a8d2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a8d2
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x610240
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 [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 0x47a920
push 0x610240
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 [0x62fce8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x47abf1
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47abf1
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47aa11
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47aa11
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47aa0c
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47aa0c
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 0x47a9fe
mov al, byte [edi + 0x80]
test al, al
jne 0x47a9fe
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 0x47a9fe
push 0x610240
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.004024b0
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x47a940
jmp 0x47abf1
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 0x610268
call dword [edx + 0x90]
mov eax, dword [0x635490]
test eax, eax
je 0x47aaa6
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47aaa6
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x610240
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 [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 0x47aaf4
push 0x610240
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 [0x62fce8]
mov byte [esp + 0x54], 3
call fcn.00401140
mov eax, dword [0x62fcf0]
test eax, eax
je 0x47abf1
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47abf1
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47abe5
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47abe5
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47abe0
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47abe0
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 0x47abd2
mov al, byte [edi + 0x80]
test al, al
jne 0x47abd2
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 0x47abd2
push 0x610240
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.004024b0
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fcf0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x47ab14
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