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

Disassembly:
push 0xffffffffffffffff
push 0x5ad8db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov edx, dword [0x635400]
push ebx
push ebp
push esi
mov eax, dword [edx + 0xc]
push edi
test eax, eax
mov dword [esp + 0x24], ecx
je 0x4b7a58
mov eax, dword [eax + 4]
test eax, eax
je 0x4b7a58
mov cl, byte [eax + 0x23f]
test cl, cl
je 0x4b7a58
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4b7a58
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4b7a58
mov cl, byte [eax + 0x127]
test cl, cl
je 0x4b7a58
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 0x4b6a0b
test edx, edx
je 0x4b68b1
mov al, byte [edx + 0x40]
test al, al
je 0x4b68b1
add edx, 0x250
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x6186ac
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b6905
push 0x6186ac
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 [0x62fc58]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b7a58
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7a58
mov ebx, 1
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b69fa
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b69fa
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b69f5
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b69f5
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 0x4b69e4
mov al, byte [edi + 0x80]
test al, al
jne 0x4b69e4
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 0x4b69e4
push 0x6186ac
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.004024b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6924
jmp 0x4b7a58
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x614054
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b6be9
mov eax, dword [0x635400]
test eax, eax
je 0x4b6a8f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6a8f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x618698
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b6ae3
push 0x618698
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 [0x62fc58]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b7a58
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7a58
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b6bd8
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b6bd8
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6bd3
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6bd3
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 0x4b6bc2
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6bc2
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 0x4b6bc2
push 0x618698
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.004024b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6b02
jmp 0x4b7a58
push str.WORKING_Q
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b6dc1
mov eax, dword [0x635400]
test eax, eax
je 0x4b6c67
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6c67
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x618674
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b6cbb
push 0x618674
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 [0x62fc58]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b7a58
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7a58
mov ebx, 7
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b6db0
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b6db0
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6dab
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6dab
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 0x4b6d9a
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6d9a
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 0x4b6d9a
push 0x618674
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.004024b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6cda
jmp 0x4b7a58
push 0x616994
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b6f99
mov eax, dword [0x635400]
test eax, eax
je 0x4b6e3f
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b6e3f
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x618660
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b6e93
push 0x618660
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 [0x62fc58]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b7a58
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7a58
mov ebx, 0xa
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b6f88
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b6f88
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b6f83
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b6f83
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 0x4b6f72
mov al, byte [edi + 0x80]
test al, al
jne 0x4b6f72
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 0x4b6f72
push 0x618660
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.004024b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b6eb2
jmp 0x4b7a58
push str.PhRJZH_
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b7173
mov eax, dword [0x635400]
test eax, eax
je 0x4b7017
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7017
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x618640
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b706b
push 0x618640
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 [0x62fc58]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b7a58
mov ecx, dword [eax + 0x50]
xor ebx, ebx
test ecx, ecx
jle 0x4b7a58
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x4b7162
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b7162
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b715d
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b715d
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 0x4b714c
mov al, byte [edi + 0x80]
test al, al
jne 0x4b714c
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 0x4b714c
push 0x618640
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.004024b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebx
cmp ebx, ecx
jl 0x4b708b
jmp 0x4b7a58
push str.NEED_EOT
push ebp
call edi
add esp, 8
test eax, eax
je 0x4b734d
mov eax, dword [0x635400]
test eax, eax
je 0x4b71f1
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b71f1
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
push 0x618620
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 [0x635400]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb7d0
mov eax, dword [0x635400]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c560
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x4b7245
push 0x618620
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 [0x62fc58]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b7a58
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7a58
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b733c
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b733c
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7337
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7337
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 0x4b7326
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7326
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 0x4b7326
push 0x618620
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.004024b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b7265
jmp 0x4b7a58
cmp ebx, 0x32
jle 0x4b7357
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 0x4b7402
mov cl, byte [edi + ebp]
push ecx
call fcn.004ecf20
add esp, 4
test al, al
je 0x4b73ea
mov dl, byte [edi + ebp + 1]
push edx
call fcn.004ecf20
add esp, 4
test al, al
je 0x4b73ea
mov al, byte [edi + ebp + 2]
push eax
call fcn.004ecf20
add esp, 4
test al, al
je 0x4b73ea
mov cl, byte [edi + ebp + 3]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x4b73ea
mov dl, byte [edi + ebp + 4]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x4b73ea
mov al, byte [edi + ebp + 5]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x4b73ea
mov cl, byte [edi + ebp + 6]
push ecx
call fcn.004ecfa0
add esp, 4
test al, al
jne 0x4b73f1
inc edi
cmp edi, ebx
jl 0x4b7374
jmp 0x4b7402
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 0x4b75d3
mov eax, dword [0x635400]
test eax, eax
je 0x4b7479
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b7479
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x78]
push 0x618600
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b74cd
push 0x618600
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 [0x62fc58]
mov dword [esp + 0x48], 0xffffffff
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b7a58
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7a58
mov ebx, 0x13
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b75c2
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b75c2
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b75bd
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b75bd
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 0x4b75ac
mov al, byte [edi + 0x80]
test al, al
jne 0x4b75ac
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 0x4b75ac
push 0x618600
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.004024b0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b74ec
jmp 0x4b7a58
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 0x4b76a6
mov al, byte [ebp + 4]
cmp al, 0x30
jl 0x4b76a6
cmp al, 0x39
jg 0x4b76a6
mov al, byte [ebp + 5]
cmp al, 0x30
jl 0x4b76a6
cmp al, 0x39
jg 0x4b76a6
mov al, byte [ebp + 6]
cmp al, 0x30
jl 0x4b76a6
cmp al, 0x39
jg 0x4b76a6
mov al, byte [ebp + 7]
cmp al, 0x30
jl 0x4b76a6
cmp al, 0x39
jg 0x4b76a6
cmp byte [ebp + 8], 0x20
jne 0x4b76a6
mov al, byte [ebp + 9]
cmp al, 0x30
jl 0x4b76a6
cmp al, 0x39
jg 0x4b76a6
mov al, byte [ebp + 0xa]
cmp al, 0x30
jl 0x4b76a6
cmp al, 0x39
jg 0x4b76a6
mov al, byte [ebp + 0xb]
cmp al, 0x30
jl 0x4b76a6
cmp al, 0x39
jg 0x4b76a6
mov al, byte [ebp + 0xc]
cmp al, 0x30
jl 0x4b76a6
cmp al, 0x39
jg 0x4b76a6
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 0x4b76a6
mov al, byte [ebx + ebp]
cmp al, 0x20
je 0x4b76a6
cmp al, 0xd
je 0x4b76a6
push eax
lea ecx, [esp + 0x14]
call fcn.005928d0
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 0x4b7680
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b775c
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 0x4b7707
push str.XGSP
mov ecx, eax
call fcn.004dc060
mov edi, eax
jmp 0x4b7709
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.004dc0f0
cmp eax, ebx
jne 0x4b7743
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
jle 0x4b7743
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 0x4b774e
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.00559b90
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 [0x635400]
mov ecx, dword [eax + 0x1d4]
call fcn.004a4b70
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 0x61851c
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x635400]
add esp, 0x18
test eax, eax
je 0x4b78e2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4b78e2
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 [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4b7930
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 [0x62fc58]
mov byte [esp + 0x48], 0x19
call fcn.00401140
mov eax, dword [0x62fc60]
test eax, eax
je 0x4b7a2b
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4b7a2b
mov bl, 0x1b
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x4b7a1f
mov cl, byte [edi + 0x88]
test cl, cl
je 0x4b7a1f
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4b7a1a
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b7a1a
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 0x4b7a0c
mov al, byte [edi + 0x80]
test al, al
jne 0x4b7a0c
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 0x4b7a0c
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.004024b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4b794c
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