Function at 0x4b64e0
Capabilities:
Enumerate pe sections
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5af54b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov edx, dword [0x637770]
push ebx
push ebp
push esi
mov eax, dword [edx + 0xc]
push edi
test eax, eax
mov dword [esp + 0x24], ecx
je 0x4b7778
mov eax, dword [eax + 4]
test eax, eax
je 0x4b7778
mov cl, byte [eax + 0x23f]
test cl, cl
je 0x4b7778
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4b7778
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4b7778
mov cl, byte [eax + 0x127]
test cl, cl
je 0x4b7778
mov ebp, dword [esp + 0x48]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0x10
jge 0x4b672b
test edx, edx
je 0x4b65d1
mov al, byte [edx + 0x40]
test al, al
je 0x4b65d1
add edx, 0x250
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61a40c
push str._IF_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x58], 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 0x4b6625
push 0x61a40c
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
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 dword [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b7778
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7778
mov ebx, 1
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b671a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b671a
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6715
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6715
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4b6704
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6704
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 0x4b6704
push 0x61a40c
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402500
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6644
jmp 0x4b7778
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x615db4
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b6909
mov eax, dword [0x637770]
test eax, eax
je 0x4b67af
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b67af
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61a3f8
push str._IF_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x58], 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 0x4b6803
push 0x61a3f8
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
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 dword [esp + 0x4c], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b7778
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7778
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b68f8
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b68f8
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b68f3
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b68f3
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4b68e2
mov al, byte [edi + 0x80]
test al, al
jne 0x4b68e2
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 0x4b68e2
push 0x61a3f8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402500
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6822
jmp 0x4b7778
push str.WORKING_Q
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b6ae1
mov eax, dword [0x637770]
test eax, eax
je 0x4b6987
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6987
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61a3d4
push str._IF_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x58], 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 0x4b69db
push 0x61a3d4
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
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 dword [esp + 0x4c], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b7778
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7778
mov ebx, 7
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b6ad0
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b6ad0
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6acb
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6acb
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4b6aba
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6aba
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 0x4b6aba
push 0x61a3d4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x4c], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402500
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b69fa
jmp 0x4b7778
push 0x6186f4
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b6cb9
mov eax, dword [0x637770]
test eax, eax
je 0x4b6b5f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6b5f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61a3c0
push str._IF_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x58], 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 0x4b6bb3
push 0x61a3c0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
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 dword [esp + 0x4c], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b7778
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7778
mov ebx, 0xa
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b6ca8
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b6ca8
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6ca3
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6ca3
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4b6c92
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6c92
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 0x4b6c92
push 0x61a3c0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x4c], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402500
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6bd2
jmp 0x4b7778
push str.PhRJZH_
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b6e93
mov eax, dword [0x637770]
test eax, eax
je 0x4b6d37
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6d37
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61a3a0
push str._IF_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x58], 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 0x4b6d8b
push 0x61a3a0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
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 dword [esp + 0x4c], 0xc
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b7778
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x4b7778
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x4b6e82
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b6e82
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6e7d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6e7d
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], 0xd
mov eax, dword [edx - 8]
test eax, eax
je 0x4b6e6c
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6e6c
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 0x4b6e6c
push 0x61a3a0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x4c], 0xe
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], 0xd
call fcn.00402500
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4b6dab
jmp 0x4b7778
push str.NEED_EOT
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b706d
mov eax, dword [0x637770]
test eax, eax
je 0x4b6f11
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6f11
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x61a380
push str._IF_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x58], 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 0x4b6f65
push 0x61a380
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
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 dword [esp + 0x4c], 0xf
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b7778
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7778
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b705c
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b705c
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7057
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7057
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], 0x10
mov eax, dword [edx - 8]
test eax, eax
je 0x4b7046
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7046
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4b7046
push 0x61a380
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x4c], 0x11
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], 0x10
call fcn.00402500
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6f85
jmp 0x4b7778
cmp ebx, 0x32
jle 0x4b7077
mov ebx, 0x32
xor eax, eax
add ebx, 0xfffffff9
mov dword [esp + 0x2d], eax
xor edi, edi
test ebx, ebx
mov byte [esp + 0x2c], 0
mov word [esp + 0x31], ax
jle 0x4b7122
mov cl, byte [edi + ebp]
push ecx
call fcn.004ecaf0
add esp, 4
test al, al
je 0x4b710a
mov dl, byte [edi + ebp + 1]
push edx
call fcn.004ecaf0
add esp, 4
test al, al
je 0x4b710a
mov al, byte [edi + ebp + 2]
push eax
call fcn.004ecaf0
add esp, 4
test al, al
je 0x4b710a
mov cl, byte [edi + ebp + 3]
push ecx
call fcn.004ecad0
add esp, 4
test al, al
je 0x4b710a
mov dl, byte [edi + ebp + 4]
push edx
call fcn.004ecad0
add esp, 4
test al, al
je 0x4b710a
mov al, byte [edi + ebp + 5]
push eax
call fcn.004ecad0
add esp, 4
test al, al
je 0x4b710a
mov cl, byte [edi + ebp + 6]
push ecx
call fcn.004ecb70
add esp, 4
test al, al
jne 0x4b7111
inc edi
cmp edi, ebx
jl 0x4b7094
jmp 0x4b7122
add edi, ebp
mov edx, dword [edi]
mov dword [esp + 0x2c], edx
mov ax, word [edi + 4]
mov word [esp + 0x30], ax
mov al, byte [esp + 0x2c]
test al, al
jne 0x4b72f3
mov eax, dword [0x637770]
test eax, eax
je 0x4b7199
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7199
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x61a360
push str._IF_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b71ed
push 0x61a360
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
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 dword [esp + 0x4c], 0x12
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b7778
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7778
mov ebx, 0x13
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b72e2
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b72e2
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b72dd
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b72dd
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4b72cc
mov al, byte [edi + 0x80]
test al, al
jne 0x4b72cc
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 0x4b72cc
push 0x61a360
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x4c], 0x14
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402500
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b720c
jmp 0x4b7778
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
push str.REM
push ebp
mov dword [esp + 0x44], 0x15
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4b73c6
mov al, byte [ebp + 4]
cmp al, 0x30
jl 0x4b73c6
cmp al, 0x39
jg 0x4b73c6
mov al, byte [ebp + 5]
cmp al, 0x30
jl 0x4b73c6
cmp al, 0x39
jg 0x4b73c6
mov al, byte [ebp + 6]
cmp al, 0x30
jl 0x4b73c6
cmp al, 0x39
jg 0x4b73c6
mov al, byte [ebp + 7]
cmp al, 0x30
jl 0x4b73c6
cmp al, 0x39
jg 0x4b73c6
cmp byte [ebp + 8], 0x20
jne 0x4b73c6
mov al, byte [ebp + 9]
cmp al, 0x30
jl 0x4b73c6
cmp al, 0x39
jg 0x4b73c6
mov al, byte [ebp + 0xa]
cmp al, 0x30
jl 0x4b73c6
cmp al, 0x39
jg 0x4b73c6
mov al, byte [ebp + 0xb]
cmp al, 0x30
jl 0x4b73c6
cmp al, 0x39
jg 0x4b73c6
mov al, byte [ebp + 0xc]
cmp al, 0x30
jl 0x4b73c6
cmp al, 0x39
jg 0x4b73c6
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov ebx, 0xe
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jbe 0x4b73c6
mov al, byte [ebx + ebp]
cmp al, 0x20
je 0x4b73c6
cmp al, 0xd
je 0x4b73c6
push eax
lea ecx, [esp + 0x14]
call fcn.005945f0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
inc ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebx, ecx
jb 0x4b73a0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b747c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
mov bl, 0x16
push str.SELECT__group__FROM_client_config_WHERE_account_s
push edx
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x3c], 0x17
je 0x4b7427
push str.XGSP
mov ecx, eax
call fcn.004dbdb0
mov edi, eax
jmp 0x4b7429
xor edi, edi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3c], bl
push 3
mov ebx, 1
push 3
push ebx
push eax
mov ecx, edi
call fcn.004dbe40
cmp eax, ebx
jne 0x4b7463
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jle 0x4b7463
lea ecx, [esp + 0x1c]
push ecx
push str.group
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
test edi, edi
je 0x4b746e
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx]
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0x15
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x48]
push eax
call fcn.0055a7d0
add esp, 4
lea ecx, [esp + 0x44]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 0x18
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax]
push 0
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax + 4]
push 0
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 8]
push 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x48]
inc edi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
push ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [edx + 0x24]
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push ebp
push ebx
push ecx
add eax, 0x76c
push edx
push edi
push eax
push 2
lea eax, [esp + 0x50]
push str._d:INSERT_INTO_q_rec_rec_time__account__group_id__office_code__q_type__q_data__VALUES__d__02d__02d__02d:_02d:_02d___s___d___s___s___s_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x34
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
mov ecx, dword [eax + 0x1d4]
call fcn.004a4890
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
mov byte [esp + 0x3c], 0x19
mov edx, dword [ecx + 0x24]
push edx
push eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x61a27c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637770]
add esp, 0x18
test eax, eax
je 0x4b7602
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7602
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x78]
push ecx
push str._IF_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637770]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb4c0
mov edx, dword [0x637770]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c540
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b7650
mov edx, dword [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x4c], 0x1a
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fc8]
mov byte [esp + 0x48], 0x19
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x4b774b
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b774b
mov bl, 0x1b
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b773f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b773f
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b773a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b773a
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x24]
mov byte [esp + 0x3c], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4b772c
mov al, byte [edi + 0x80]
test al, al
jne 0x4b772c
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 0x4b772c
mov ecx, dword [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x4c], 0x1c
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x48], bl
call fcn.00402500
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b766c
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 8