Function at 0x4b7730
Capabilities:
Enumerate pe sections
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5b1e9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov edx, dword [0x63ac10]
push ebx
push ebp
push esi
mov eax, dword [edx + 0xc]
push edi
test eax, eax
mov dword [esp + 0x24], ecx
je 0x4b89c8
mov eax, dword [eax + 4]
test eax, eax
je 0x4b89c8
mov cl, byte [eax + 0x23f]
test cl, cl
je 0x4b89c8
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4b89c8
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4b89c8
mov cl, byte [eax + 0x127]
test cl, cl
je 0x4b89c8
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 0x4b797b
test edx, edx
je 0x4b7821
mov al, byte [edx + 0x40]
test al, al
je 0x4b7821
add edx, 0x250
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x61d620
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 [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7875
push 0x61d620
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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 [0x635468]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4b89c8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b89c8
mov ebx, 1
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b796a
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b796a
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7965
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7965
mov ecx, dword [esi + 0x7c]
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 0x4b7954
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7954
mov eax, dword [esi + 0x7c]
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 0x4b7954
push 0x61d620
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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.004024d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b7894
jmp 0x4b89c8
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x618fc8
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b7b59
mov eax, dword [0x63ac10]
test eax, eax
je 0x4b79ff
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b79ff
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x61d60c
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 [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7a53
push 0x61d60c
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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 [0x635468]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4b89c8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b89c8
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b7b48
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b7b48
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7b43
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7b43
mov ecx, dword [esi + 0x7c]
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 0x4b7b32
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7b32
mov eax, dword [esi + 0x7c]
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 0x4b7b32
push 0x61d60c
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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.004024d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b7a72
jmp 0x4b89c8
push str.WORKING_Q
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b7d31
mov eax, dword [0x63ac10]
test eax, eax
je 0x4b7bd7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7bd7
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x61d5e8
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 [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7c2b
push 0x61d5e8
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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 [0x635468]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4b89c8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b89c8
mov ebx, 7
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b7d20
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b7d20
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7d1b
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7d1b
mov ecx, dword [esi + 0x7c]
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 0x4b7d0a
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7d0a
mov eax, dword [esi + 0x7c]
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 0x4b7d0a
push 0x61d5e8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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.004024d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b7c4a
jmp 0x4b89c8
push 0x61b908
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b7f09
mov eax, dword [0x63ac10]
test eax, eax
je 0x4b7daf
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7daf
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x61d5d4
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 [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7e03
push 0x61d5d4
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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 [0x635468]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4b89c8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b89c8
mov ebx, 0xa
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b7ef8
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b7ef8
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7ef3
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7ef3
mov ecx, dword [esi + 0x7c]
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 0x4b7ee2
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7ee2
mov eax, dword [esi + 0x7c]
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 0x4b7ee2
push 0x61d5d4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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.004024d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b7e22
jmp 0x4b89c8
push str.PhRJZH_
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b80e3
mov eax, dword [0x63ac10]
test eax, eax
je 0x4b7f87
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7f87
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x61d5b4
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 [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7fdb
push 0x61d5b4
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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 [0x635468]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4b89c8
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x4b89c8
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x4b80d2
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b80d2
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b80cd
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b80cd
mov ecx, dword [esi + 0x7c]
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 0x4b80bc
mov al, byte [edi + 0x80]
test al, al
jne 0x4b80bc
mov eax, dword [esi + 0x7c]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x4b80bc
push 0x61d5b4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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.004024d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4b7ffb
jmp 0x4b89c8
push str.NEED_EOT
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b82bd
mov eax, dword [0x63ac10]
test eax, eax
je 0x4b8161
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b8161
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x61d594
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 [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b81b5
push 0x61d594
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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 [0x635468]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4b89c8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b89c8
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b82ac
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b82ac
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b82a7
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b82a7
mov ecx, dword [esi + 0x7c]
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 0x4b8296
mov al, byte [edi + 0x80]
test al, al
jne 0x4b8296
mov eax, dword [esi + 0x7c]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4b8296
push 0x61d594
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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.004024d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b81d5
jmp 0x4b89c8
cmp ebx, 0x32
jle 0x4b82c7
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 0x4b8372
mov cl, byte [edi + ebp]
push ecx
call fcn.004edd60
add esp, 4
test al, al
je 0x4b835a
mov dl, byte [edi + ebp + 1]
push edx
call fcn.004edd60
add esp, 4
test al, al
je 0x4b835a
mov al, byte [edi + ebp + 2]
push eax
call fcn.004edd60
add esp, 4
test al, al
je 0x4b835a
mov cl, byte [edi + ebp + 3]
push ecx
call fcn.004edd40
add esp, 4
test al, al
je 0x4b835a
mov dl, byte [edi + ebp + 4]
push edx
call fcn.004edd40
add esp, 4
test al, al
je 0x4b835a
mov al, byte [edi + ebp + 5]
push eax
call fcn.004edd40
add esp, 4
test al, al
je 0x4b835a
mov cl, byte [edi + ebp + 6]
push ecx
call fcn.004edde0
add esp, 4
test al, al
jne 0x4b8361
inc edi
cmp edi, ebx
jl 0x4b82e4
jmp 0x4b8372
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 0x4b8543
mov eax, dword [0x63ac10]
test eax, eax
je 0x4b83e9
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b83e9
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x7c]
push 0x61d574
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 [0x63ac10]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c8d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b843d
push 0x61d574
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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 [0x635468]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4b89c8
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b89c8
mov ebx, 0x13
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b8532
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b8532
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b852d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b852d
mov ecx, dword [esi + 0x7c]
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 0x4b851c
mov al, byte [edi + 0x80]
test al, al
jne 0x4b851c
mov eax, dword [esi + 0x7c]
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 0x4b851c
push 0x61d574
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
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.004024d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b845c
jmp 0x4b89c8
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 0x4b8616
mov al, byte [ebp + 4]
cmp al, 0x30
jl 0x4b8616
cmp al, 0x39
jg 0x4b8616
mov al, byte [ebp + 5]
cmp al, 0x30
jl 0x4b8616
cmp al, 0x39
jg 0x4b8616
mov al, byte [ebp + 6]
cmp al, 0x30
jl 0x4b8616
cmp al, 0x39
jg 0x4b8616
mov al, byte [ebp + 7]
cmp al, 0x30
jl 0x4b8616
cmp al, 0x39
jg 0x4b8616
cmp byte [ebp + 8], 0x20
jne 0x4b8616
mov al, byte [ebp + 9]
cmp al, 0x30
jl 0x4b8616
cmp al, 0x39
jg 0x4b8616
mov al, byte [ebp + 0xa]
cmp al, 0x30
jl 0x4b8616
cmp al, 0x39
jg 0x4b8616
mov al, byte [ebp + 0xb]
cmp al, 0x30
jl 0x4b8616
cmp al, 0x39
jg 0x4b8616
mov al, byte [ebp + 0xc]
cmp al, 0x30
jl 0x4b8616
cmp al, 0x39
jg 0x4b8616
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 0x4b8616
mov al, byte [ebx + ebp]
cmp al, 0x20
je 0x4b8616
cmp al, 0xd
je 0x4b8616
push eax
lea ecx, [esp + 0x14]
call fcn.00596ca0
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 0x4b85f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b86cc
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 0x4b8677
push str.XGSP
mov ecx, eax
call fcn.004dd020
mov edi, eax
jmp 0x4b8679
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.004dd0b0
cmp eax, ebx
jne 0x4b86b3
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jle 0x4b86b3
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 0x4b86be
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.0055c670
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 [0x63ac10]
mov ecx, dword [eax + 0x1d4]
call fcn.004a5ae0
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 0x61d490
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x18
test eax, eax
je 0x4b8852
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b8852
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x7c]
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 [0x63ac10]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c8d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b88a0
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 + 0x7c]
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 [0x635468]
mov byte [esp + 0x48], 0x19
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x4b899b
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b899b
mov bl, 0x1b
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b898f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b898f
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b898a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b898a
mov ecx, dword [esi + 0x7c]
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 0x4b897c
mov al, byte [edi + 0x80]
test al, al
jne 0x4b897c
mov eax, dword [esi + 0x7c]
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 0x4b897c
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 + 0x7c]
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.004024d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b88bc
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