Function at 0x50d650
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5baa01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x63ac20]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x10], ecx
je 0x50d6da
cmp byte [eax + 0x40], bl
je 0x50d6da
add eax, 0x250
push eax
call ebp
push ebx
push 0x6272ac
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x6272ac
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x58], ebx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x5c], 1
mov ecx, esp
mov dword [esp + 0x44], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 2
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
or edi, 0xffffffff
mov dword [esp + 0x60], edi
call fcn.00458fc0
push 0x30
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x50], 3
je 0x50d763
mov ecx, eax
call sym.ETermProxy.exe_public:_void___thiscall_CSslClientSocket::constructor_void_
mov esi, eax
jmp 0x50d765
xor esi, esi
mov edx, dword [esi]
push 0x1bb
push str.cs03.eterm.com.cn
mov ecx, esi
mov dword [esp + 0x58], edi
call dword [edx + 0x4c]
cmp eax, 1
jne 0x50d78d
mov eax, dword [esi]
push 0xa
push str.1234567890
mov ecx, esi
call dword [eax + 0x48]
cmp esi, ebx
je 0x50d79a
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x50d7fc
cmp byte [eax + 0x40], bl
je 0x50d7fc
add eax, 0x250
push eax
call ebp
push ebx
push 0x627278
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x627278
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x58], 4
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x5c], 5
mov ecx, esp
mov dword [esp + 0x44], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 6
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov dword [esp + 0x60], edi
call fcn.00458fc0
call fcn.0044c870
cmp byte [eax + 0x218], bl
je 0x50d93e
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x50d8d4
cmp byte [eax + 0x40], bl
je 0x50d8d4
add eax, 0x250
push eax
call ebp
push ebx
push 0x62725c
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac20]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x62725c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov dword [esp + 0x58], 7
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x5c], 8
mov ecx, esp
mov dword [esp + 0x44], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 9
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov dword [esp + 0x60], edi
call fcn.00458fc0
jmp 0x50e5b8
mov ecx, dword [esp + 0x10]
call fcn.0050e5d0
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov dword [esp + 0x50], 0xa
je 0x50d971
push str.XGSP
mov ecx, eax
call fcn.004dcfd0
mov edi, eax
jmp 0x50d973
xor edi, edi
or esi, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x63ac20]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x54], 0xb
call fcn.005935e0
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push ecx
push str.select__from__s_where__delflag_0_and__disable_0_and__group_disable_0_order_by__group_id_
push edx
mov byte [esp + 0x5c], 0xc
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x50], 0xb
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push 3
push 3
push 1
push eax
mov ecx, edi
call fcn.004dd060
cmp eax, ebx
jne 0x50dad4
cmp edi, ebx
je 0x50d9ed
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x50da4f
cmp byte [eax + 0x40], bl
je 0x50da4f
add eax, 0x250
push eax
call ebp
push ebx
push str.ETerm
push 0x606790
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac20]
push str.runtime
push str.tdsms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.ETerm
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x58], 0xd
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x606790
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x5c], 0xe
mov ecx, esp
mov dword [esp + 0x44], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 0xf
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x60], 0xb
call fcn.00458fc0
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], esi
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0x10
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x50], 0x11
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x50e089
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 4]
cmp ecx, dword [eax + 0x228]
jge 0x50e58b
push 0xc40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0x50], 0x12
je 0x50db46
mov ecx, eax
call fcn.004f7fa0
mov ebp, eax
jmp 0x50db48
xor ebp, ebp
push 0x11c
mov dword [esp + 0x38], ebp
mov byte [esp + 0x54], 0x11
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
cmp esi, ebx
mov byte [esp + 0x50], 0x13
je 0x50ddff
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x50], 0x14
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 8]
mov byte [esp + 0x50], 0x15
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x50], 0x16
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x50], 0x17
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x50], 0x18
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x50], 0x19
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x50], 0x1a
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x50], 0x1b
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2c]
mov byte [esp + 0x50], 0x1c
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x44]
mov byte [esp + 0x50], 0x1d
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x48]
mov byte [esp + 0x50], 0x1e
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x4c]
mov byte [esp + 0x50], 0x1f
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x60]
mov byte [esp + 0x50], 0x20
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x64]
mov byte [esp + 0x50], 0x21
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x68]
mov byte [esp + 0x50], 0x22
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x6c]
mov byte [esp + 0x50], 0x23
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x70]
mov byte [esp + 0x50], 0x24
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x74]
mov byte [esp + 0x50], 0x25
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x78]
mov byte [esp + 0x50], 0x26
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x50], 0x27
lea ecx, [esi + 0x8c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xa0]
mov byte [esp + 0x50], 0x28
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xa4]
mov byte [esp + 0x50], 0x29
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xac]
mov byte [esp + 0x50], 0x2a
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xb0]
mov byte [esp + 0x50], 0x2b
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xd4]
mov byte [esp + 0x50], 0x2c
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xe0]
mov byte [esp + 0x50], 0x2d
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xfc]
mov byte [esp + 0x50], 0x2e
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x108]
mov byte [esp + 0x50], 0x2f
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x110]
mov byte [esp + 0x50], 0x30
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x118]
mov byte [esp + 0x50], 0x31
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0xb8], 0xf
mov dword [esi + 0x54], ebx
mov dword [esi + 0xbc], 0x12c
mov byte [esi + 0x58], bl
mov byte [esi + 0x5a], bl
mov byte [esi + 0x5b], bl
mov byte [esi + 0x5c], bl
mov byte [esi + 0x59], bl
mov byte [esi + 0x9c], bl
mov byte [esi + 0x9d], bl
mov byte [esi + 0x9e], bl
mov byte [esi + 0x90], bl
mov byte [esi + 0x91], bl
mov byte [esi + 0x92], bl
mov byte [esi + 0xcc], bl
mov byte [esi + 0xcd], bl
mov byte [esi + 0xce], bl
mov byte [esi + 0xc4], bl
mov dword [esi + 0x98], ebx
mov byte [esi + 0xe4], bl
mov dword [esi + 0xc0], ebx
mov byte [esi + 0xcf], bl
mov byte [esi + 0xd0], bl
mov byte [esi + 0xe5], bl
mov byte [esi + 0xd1], bl
mov byte [esi + 0xd8], bl
mov dword [esi + 0xdc], 1
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov byte [esi + 0xf0], bl
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], 0x1e
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x100], 5
mov byte [esi + 0x104], bl
mov byte [esi + 0x10c], bl
mov byte [esi + 0x14], bl
jmp 0x50de01
xor esi, esi
mov ecx, dword [esp + 0x10]
push ebp
push edi
mov byte [esp + 0x58], 0x11
mov dword [ebp + 0x74], esi
call fcn.0050caa0
cmp al, 1
jne 0x50e060
mov eax, dword [ebp + 0x74]
mov dl, byte [eax + 0x14]
mov ecx, dword [eax + 0x10]
push edx
push ecx
push ebx
lea ecx, [eax + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, ebp
call sym.ETermProxy.exe_public:_void___thiscall_CClientObject::SetServer_char___int__bool_
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x50df0c
push 0x2c
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
cmp edi, ebx
mov byte [esp + 0x50], 0x32
je 0x50de96
lea ecx, [edi + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [edi + 0x18], 0x5d2390
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x20], ebx
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0xc], bl
jmp 0x50de98
xor edi, edi
mov eax, dword [ebp + 0x74]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
mov byte [esp + 0x54], 0x11
mov ecx, dword [eax + 0x54]
lea ebp, [edx + 0x2e8]
mov dword [edi + 8], ecx
mov ecx, ebp
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
inc eax
push eax
call fcn.0054c510
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x24]
push ecx
lea ebp, [esi + 0x20]
mov dword [eax + ecx*4], edi
mov edx, dword [esi + 0xb4]
mov ecx, esp
mov dword [esp + 0x48], esp
push ebp
mov dword [edi], edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb710
add esp, 4
add esi, 0xd4
lea ecx, [edi + 0x14]
mov dword [edi + 4], eax
push esi
call sub.MFC42.DLL_CString::operator_1
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov edi, ecx
mov dword [esp + 0x44], edi
lea ebp, [edi + 1]
cmp ebp, ebx
jne 0x50df42
cmp eax, ebx
je 0x50df37
push eax
mov dword [esp + 0x48], ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
jmp 0x50e047
cmp eax, ebx
jne 0x50df6b
lea eax, [ebp*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esi + 0x1c], eax
push ebp
push eax
call fcn.00575750
mov dword [esi + 0x24], ebp
mov dword [esi + 0x20], ebp
jmp 0x50e047
mov edx, dword [esi + 0x24]
cmp ebp, edx
mov dword [esp + 0x24], edx
jg 0x50dfa0
cmp ecx, ebp
jge 0x50df90
mov edx, ebp
lea eax, [eax + ecx*4]
sub edx, ecx
push edx
push eax
call fcn.00575750
mov dword [esi + 0x20], ebp
jmp 0x50e047
jle 0x50df98
sub ecx, ebp
mov dword [esp + 0x44], ecx
mov dword [esi + 0x20], ebp
jmp 0x50e047
mov eax, dword [esi + 0x28]
cmp eax, ebx
jne 0x50dfca
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x50dfbe
mov eax, 4
jmp 0x50dfca
cmp eax, 0x400
jle 0x50dfca
mov eax, 0x400
mov ecx, dword [esp + 0x24]
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x24], eax
jl 0x50dfdc
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x24]
lea eax, [edx*4]
push eax
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x20]
mov edi, eax
add esp, 4
mov dword [esp + 0x40], eax
mov ecx, dword [edx + 0x20]
mov esi, dword [edx + 0x1c]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x20]
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.00575750
mov eax, dword [esi + 0x1c]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
add esp, 4
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], edx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword [eax + edi*4], ecx
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
inc eax
mov dword [esp + 0x28], eax
jmp 0x50e06d
cmp ebp, ebx
je 0x50e06d
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x50db07
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp edi, ebx
je 0x50e095
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0x50], 0x33
je 0x50e0bc
push str.XGSP
mov ecx, eax
call fcn.004dcfd0
mov esi, eax
jmp 0x50e0be
xor esi, esi
lea ecx, [esp + 0x14]
push str.select__from__group_list__where__delflag_0_and__disable_0_and_av_share5
push ecx
mov dword [esp + 0x40], esi
mov byte [esp + 0x58], 0x11
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, esi
push 3
push 3
push 1
push edx
call fcn.004dd060
cmp eax, ebx
jne 0x50e206
cmp esi, ebx
je 0x50e0ff
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x50e161
cmp byte [eax + 0x40], bl
je 0x50e161
add eax, 0x250
push eax
call ebp
push ebx
push 0x627180
push 0x606790
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac20]
push str.runtime
push str.tdsms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x627180
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x58], 0x34
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x606790
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x5c], 0x35
mov ecx, esp
mov dword [esp + 0x44], esp
push str..dbs.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 0x36
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x6132bc
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x60], 0x11
call fcn.00458fc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 0x37
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
mov byte [esp + 0x50], 0x38
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
jne 0x50e49e
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push str.group_name
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x2c]
push ecx
push str.group_office_code
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x50e488
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
cmp esi, ebx
mov byte [esp + 0x50], 0x39
je 0x50e2b6
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x18], 0x5d2390
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esp + 0x24], esi
jmp 0x50e2ba
mov dword [esp + 0x24], ebx
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x58], 0x38
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb710
mov esi, dword [esp + 0x28]
add esp, 4
mov dword [esi + 4], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov dword [esi + 8], 5
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x2f0]
mov eax, dword [esi + 0x2ec]
mov ebp, edx
mov dword [esp + 0x40], ebp
inc ebp
cmp ebp, ebx
jne 0x50e336
cmp eax, ebx
je 0x50e325
push eax
mov dword [esp + 0x48], edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], ebx
jmp 0x50e45f
cmp eax, ebx
jne 0x50e377
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esi + 0x2ec], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 0x2f4], ebp
mov dword [esi + 0x2f0], ebp
jmp 0x50e45f
mov ecx, dword [esi + 0x2f4]
cmp ebp, ecx
jg 0x50e3ae
cmp edx, ebp
jge 0x50e39b
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esi + 0x2f0], ebp
jmp 0x50e45f
jle 0x50e3a3
sub edx, ebp
mov dword [esp + 0x44], edx
mov dword [esi + 0x2f0], ebp
jmp 0x50e45f
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
jne 0x50e3db
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x50e3cf
mov eax, 4
jmp 0x50e3db
cmp eax, 0x400
jle 0x50e3db
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x28], eax
jl 0x50e3e9
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x28]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x48], eax
mov ecx, dword [edx + 0x2f0]
mov esi, dword [edx + 0x2ec]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov edx, dword [esi + 0x2f0]
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2ec]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [esi + 0x2ec], eax
mov dword [esi + 0x2f0], ebp
mov dword [esi + 0x2f4], ecx
mov edx, dword [esi + 0x2ec]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4], eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::MoveNext_void_
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::IsEOF_void_
test eax, eax
je 0x50e231
cmp esi, ebx
je 0x50e4aa
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [0x63ac20]
cmp eax, ebx
je 0x50e50c
cmp byte [eax + 0x40], bl
je 0x50e50c
add eax, 0x250
push eax
call ebp
push ebx
push 0x62716c
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac20]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x62716c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x58], 0x3a
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x5c], 0x3b
mov ecx, esp
mov dword [esp + 0x44], esp
push str..scc.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x60], 0x3c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357fc]
mov byte [esp + 0x60], 0x38
call fcn.00458fc0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 0x37
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret