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

Disassembly:
push 0xffffffffffffffff
push 0x5a9a73
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 0x47abb2
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 0x47a9de
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 0x479c2b
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 [0x637770]
test eax, eax
je 0x479adb
mov cl, byte [eax + 0x40]
test cl, cl
je 0x479adb
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 [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 0x479b29
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 [0x631fc8]
mov byte [esp + 0x54], 3
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47ad81
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47ad81
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x479c1a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x479c1a
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x479c15
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x479c15
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 0x479c07
mov al, byte [edi + 0x80]
test al, al
jne 0x479c07
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 0x479c07
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.00402500
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x479b49
jmp 0x47ad81
mov eax, dword [esi + 0x78]
test eax, eax
je 0x47a0d3
mov cl, byte [eax + 0x70]
test cl, cl
je 0x47a0d3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
cmp ecx, 8
jge 0x479e62
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 [0x637770]
test eax, eax
je 0x479cd5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x479cd5
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 [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 0x479d23
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 [0x631fc8]
mov byte [esp + 0x54], 3
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x479e20
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x479e20
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x479e14
mov cl, byte [edi + 0x88]
test cl, cl
je 0x479e14
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x479e0f
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x479e0f
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 0x479e01
mov al, byte [edi + 0x80]
test al, al
jne 0x479e01
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 0x479e01
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.00402500
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x479d43
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 0x47adbe
xor bl, bl
xor edi, edi
test ecx, ecx
mov byte [esp + 0x50], 0
jle 0x479eb6
mov al, byte [edi + eax]
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004ecad0
add esp, 4
test al, al
je 0x479e8e
mov byte [esp + 0x50], 1
jmp 0x479eac
mov edx, dword [esp + 0x14]
mov al, byte [edi + edx]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ecaf0
add esp, 4
test al, al
je 0x479eac
mov bl, 1
mov eax, dword [esp + 0x14]
inc edi
cmp edi, dword [eax - 8]
jl 0x479e6f
mov dl, byte [esp + 0x50]
test dl, bl
jne 0x47a0d3
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 [0x637770]
test eax, eax
je 0x479f46
mov cl, byte [eax + 0x40]
test cl, cl
je 0x479f46
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 [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 0x479f94
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 [0x631fc8]
mov byte [esp + 0x54], 3
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47a091
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47a091
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47a085
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a085
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a080
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a080
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 0x47a072
mov al, byte [edi + 0x80]
test al, al
jne 0x47a072
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 0x47a072
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.00402500
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x479fb4
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 0x47adbe
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
mov byte [esp + 0x48], 0x17
je 0x47a0fe
push str.XGSP
mov ecx, eax
call fcn.004dbdb0
mov edi, eax
mov dword [esp + 0x50], edi
jmp 0x47a10a
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.004dbe40
test eax, eax
jne 0x47a334
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 [0x637770]
test eax, eax
je 0x47a1d2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a1d2
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 [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 0x47a220
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 [0x631fc8]
mov byte [esp + 0x54], 0x18
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47a31f
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a31f
mov bl, 0x1a
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a30f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a30f
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a30a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a30a
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 0x47a2fc
mov al, byte [edi + 0x80]
test al, al
jne 0x47a2fc
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 0x47a2fc
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.00402500
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x18
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a23c
mov edi, dword [esp + 0x50]
test edi, edi
je 0x47a9cb
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x47a9cb
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
cmp eax, 1
je 0x47a528
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 [0x637770]
test eax, eax
je 0x47a3c8
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a3c8
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 [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 0x47a416
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 [0x631fc8]
mov byte [esp + 0x54], 0x18
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47a511
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a511
mov bl, 0x1d
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a505
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a505
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a500
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a500
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 0x47a4f2
mov al, byte [edi + 0x80]
test al, al
jne 0x47a4f2
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 0x47a4f2
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.00402500
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x18
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a432
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a9cb
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x47a9cb
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 0x47a73c
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 [0x637770]
test eax, eax
je 0x47a5e2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a5e2
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 [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 0x47a630
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 [0x631fc8]
mov byte [esp + 0x54], 0x1f
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47a72b
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a72b
mov bl, 0x21
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a71f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a71f
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a71a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a71a
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 0x47a70c
mov al, byte [edi + 0x80]
test al, al
jne 0x47a70c
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 0x47a70c
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.00402500
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a64c
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a9bd
jmp 0x47a9b7
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 0x47a7db
mov cl, byte [eax + 0x70]
test cl, cl
je 0x47a7db
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.004189a0
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.004dc010
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 [0x637770]
test eax, eax
je 0x47a866
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47a866
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 [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 0x47a8b4
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 [0x631fc8]
mov byte [esp + 0x54], 0x1f
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47a9af
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47a9af
mov bl, 0x24
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47a9a3
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47a9a3
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47a99e
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47a99e
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 0x47a990
mov al, byte [edi + 0x80]
test al, al
jne 0x47a990
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 0x47a990
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.00402500
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0x1f
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47a8d0
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x47a9bd
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 0x47ad81
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 [0x637770]
test eax, eax
je 0x47aa62
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47aa62
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 [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 0x47aab0
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 [0x631fc8]
mov byte [esp + 0x54], 3
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47ad81
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47ad81
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47aba1
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47aba1
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47ab9c
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47ab9c
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 0x47ab8e
mov al, byte [edi + 0x80]
test al, al
jne 0x47ab8e
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 0x47ab8e
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.00402500
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x47aad0
jmp 0x47ad81
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 [0x637770]
test eax, eax
je 0x47ac36
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47ac36
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 [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 0x47ac84
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 [0x631fc8]
mov byte [esp + 0x54], 3
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47ad81
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x47ad81
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x47ad75
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47ad75
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47ad70
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47ad70
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 0x47ad62
mov al, byte [edi + 0x80]
test al, al
jne 0x47ad62
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 0x47ad62
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.00402500
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x47aca4
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