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

Disassembly:
push 0xffffffffffffffff
push 0x5b6a6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov edx, dword [0x641030]
push ebx
push ebp
push esi
mov eax, dword [edx + 0xc]
push edi
test eax, eax
mov dword [esp + 0x24], ecx
je 0x4b8928
mov eax, dword [eax + 4]
test eax, eax
je 0x4b8928
mov cl, byte [eax + 0x23f]
test cl, cl
je 0x4b8928
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4b8928
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4b8928
mov cl, byte [eax + 0x127]
test cl, cl
je 0x4b8928
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 0x4b78db
test edx, edx
je 0x4b7781
mov al, byte [edx + 0x40]
test al, al
je 0x4b7781
add edx, 0x250
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x6235c0
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b77d5
push 0x6235c0
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 [0x63b908]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b8928
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b8928
mov ebx, 1
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b78ca
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b78ca
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b78c5
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b78c5
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 0x4b78b4
mov al, byte [edi + 0x80]
test al, al
jne 0x4b78b4
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 0x4b78b4
push 0x6235c0
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.00402460
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b77f4
jmp 0x4b8928
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x61ef64
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b7ab9
mov eax, dword [0x641030]
test eax, eax
je 0x4b795f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b795f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x6235ac
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b79b3
push 0x6235ac
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 [0x63b908]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b8928
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b8928
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b7aa8
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b7aa8
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7aa3
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7aa3
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 0x4b7a92
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7a92
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 0x4b7a92
push 0x6235ac
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.00402460
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b79d2
jmp 0x4b8928
push str.WORKING_Q
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b7c91
mov eax, dword [0x641030]
test eax, eax
je 0x4b7b37
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7b37
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x623588
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7b8b
push 0x623588
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 [0x63b908]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b8928
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b8928
mov ebx, 7
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b7c80
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b7c80
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7c7b
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7c7b
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 0x4b7c6a
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7c6a
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 0x4b7c6a
push 0x623588
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.00402460
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b7baa
jmp 0x4b8928
push 0x6218a4
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b7e69
mov eax, dword [0x641030]
test eax, eax
je 0x4b7d0f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7d0f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x623574
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7d63
push 0x623574
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 [0x63b908]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b8928
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b8928
mov ebx, 0xa
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b7e58
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b7e58
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7e53
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7e53
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 0x4b7e42
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7e42
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 0x4b7e42
push 0x623574
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.00402460
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b7d82
jmp 0x4b8928
push str.PhRJZH_
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b8043
mov eax, dword [0x641030]
test eax, eax
je 0x4b7ee7
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7ee7
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x623554
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7f3b
push 0x623554
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 [0x63b908]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b8928
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x4b8928
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x4b8032
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b8032
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b802d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b802d
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 0x4b801c
mov al, byte [edi + 0x80]
test al, al
jne 0x4b801c
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 0x4b801c
push 0x623554
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.00402460
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4b7f5b
jmp 0x4b8928
push str.NEED_EOT
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b821d
mov eax, dword [0x641030]
test eax, eax
je 0x4b80c1
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b80c1
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push 0x623534
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 [0x641030]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c9d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b8115
push 0x623534
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 [0x63b908]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b8928
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b8928
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b820c
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b820c
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b8207
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b8207
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 0x4b81f6
mov al, byte [edi + 0x80]
test al, al
jne 0x4b81f6
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 0x4b81f6
push 0x623534
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.00402460
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b8135
jmp 0x4b8928
cmp ebx, 0x32
jle 0x4b8227
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 0x4b82d2
mov cl, byte [edi + ebp]
push ecx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x4b82ba
mov dl, byte [edi + ebp + 1]
push edx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x4b82ba
mov al, byte [edi + ebp + 2]
push eax
call fcn.004ee9f0
add esp, 4
test al, al
je 0x4b82ba
mov cl, byte [edi + ebp + 3]
push ecx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x4b82ba
mov dl, byte [edi + ebp + 4]
push edx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x4b82ba
mov al, byte [edi + ebp + 5]
push eax
call fcn.004ee9d0
add esp, 4
test al, al
je 0x4b82ba
mov cl, byte [edi + ebp + 6]
push ecx
call fcn.004eea70
add esp, 4
test al, al
jne 0x4b82c1
inc edi
cmp edi, ebx
jl 0x4b8244
jmp 0x4b82d2
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 0x4b84a3
mov eax, dword [0x641030]
test eax, eax
je 0x4b8349
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b8349
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x7c]
push 0x623514
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 [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b839d
push 0x623514
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 [0x63b908]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b8928
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b8928
mov ebx, 0x13
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b8492
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b8492
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b848d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b848d
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 0x4b847c
mov al, byte [edi + 0x80]
test al, al
jne 0x4b847c
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 0x4b847c
push 0x623514
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.00402460
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b83bc
jmp 0x4b8928
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 0x4b8576
mov al, byte [ebp + 4]
cmp al, 0x30
jl 0x4b8576
cmp al, 0x39
jg 0x4b8576
mov al, byte [ebp + 5]
cmp al, 0x30
jl 0x4b8576
cmp al, 0x39
jg 0x4b8576
mov al, byte [ebp + 6]
cmp al, 0x30
jl 0x4b8576
cmp al, 0x39
jg 0x4b8576
mov al, byte [ebp + 7]
cmp al, 0x30
jl 0x4b8576
cmp al, 0x39
jg 0x4b8576
cmp byte [ebp + 8], 0x20
jne 0x4b8576
mov al, byte [ebp + 9]
cmp al, 0x30
jl 0x4b8576
cmp al, 0x39
jg 0x4b8576
mov al, byte [ebp + 0xa]
cmp al, 0x30
jl 0x4b8576
cmp al, 0x39
jg 0x4b8576
mov al, byte [ebp + 0xb]
cmp al, 0x30
jl 0x4b8576
cmp al, 0x39
jg 0x4b8576
mov al, byte [ebp + 0xc]
cmp al, 0x30
jl 0x4b8576
cmp al, 0x39
jg 0x4b8576
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 0x4b8576
mov al, byte [ebx + ebp]
cmp al, 0x20
je 0x4b8576
cmp al, 0xd
je 0x4b8576
push eax
lea ecx, [esp + 0x14]
call fcn.0059b7b2
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 0x4b8550
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b862c
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 0x4b85d7
push str.XGSP
mov ecx, eax
call fcn.004ddd00
mov edi, eax
jmp 0x4b85d9
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.004ddd90
cmp eax, ebx
jne 0x4b8613
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jle 0x4b8613
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 0x4b861e
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.00560f10
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 [0x641030]
mov ecx, dword [eax + 0x1d4]
call fcn.004a5c70
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 0x623430
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x18
test eax, eax
je 0x4b87b2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b87b2
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 [0x641030]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c9d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b8800
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 [0x63b908]
mov byte [esp + 0x48], 0x19
call fcn.00401140
mov eax, dword [0x63b910]
test eax, eax
je 0x4b88fb
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b88fb
mov bl, 0x1b
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b88ef
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b88ef
call fcn.0044c9d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b88ea
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b88ea
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 0x4b88dc
mov al, byte [edi + 0x80]
test al, al
jne 0x4b88dc
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 0x4b88dc
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.00402460
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x63b910]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b881c
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