Function at 0x534090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x593a2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x5e0]
test al, al
jne 0x53470d
mov ecx, dword [esp + 0x5dc]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x17c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x5d0], ebx
je 0x53410a
mov eax, dword [esi + 0xa8]
mov ecx, dword [esp + 0x5d8]
cmp ecx, eax
jg 0x53410a
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 8]
cmp edi, ebx
jg 0x53412e
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esp + 0x10]
mov dword [esp + 0x5d0], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x53481f
lea ebp, [esi + 0xb4]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CStringArray::SetSize
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x10]
cmp edi, 1
mov byte [esp + 0x5d0], 1
jne 0x53417c
cmp byte [eax], 0x3f
jne 0x53417c
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
mov edx, ecx
push ecx
push edx
lea eax, [esp + 0x24]
push str.select_a._from__select_DISTINCT_SUBSTRING___s__1__CHARINDEX_____s______1___as_code_from___s___a_order_by_a.code
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x5341a2
mov ecx, dword [esi + 0x44]
push ecx
push eax
mov eax, dword [esi + 0x40]
mov edx, ecx
push edx
mov edx, dword [esi + 0x98]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push str.select_DISTINCT_top__i___s__from___s__where___s__like_N_s___order_by___s_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x20
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5d0], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov byte [esp + 0x5d0], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x64]
mov byte [esp + 0x5d0], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x68]
mov byte [esp + 0x5d0], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x194]
mov byte [esp + 0x5d0], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x198]
mov byte [esp + 0x5d0], 7
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x5d0], 8
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x5d0], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x5d0], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x5d0], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x5d0], 0xc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x5d0], 0xd
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x448], ebx
mov dword [esp + 0x44c], ebx
lea ecx, [esp + 0x450]
mov byte [esp + 0x5d0], 0x10
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x454]
mov byte [esp + 0x5d0], 0x11
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x458]
mov byte [esp + 0x5d0], 0x12
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x45c]
mov byte [esp + 0x5d0], 0x13
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x460]
mov byte [esp + 0x5d0], 0x14
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x464]
mov byte [esp + 0x5d0], 0x15
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x5d0], 0x16
lea ecx, [esp + 0x468]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x46c]
mov byte [esp + 0x5d0], 0x17
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x470]
mov byte [esp + 0x5d0], 0x18
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x474]
mov byte [esp + 0x5d0], 0x19
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x478]
mov byte [esp + 0x5d0], 0x1a
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x47c]
mov byte [esp + 0x5d0], 0x1b
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x480]
mov byte [esp + 0x5d0], 0x1c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x484]
mov byte [esp + 0x5d0], 0x1d
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x488]
mov byte [esp + 0x5d0], 0x1e
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x48c]
mov byte [esp + 0x5d0], 0x1f
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x490]
mov byte [esp + 0x5d0], 0x20
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x494]
mov byte [esp + 0x5d0], 0x21
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x498]
mov byte [esp + 0x5d0], 0x22
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x49c]
mov byte [esp + 0x5d0], 0x23
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4a0]
mov byte [esp + 0x5d0], 0x24
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4a4]
mov byte [esp + 0x5d0], 0x25
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4a8]
mov byte [esp + 0x5d0], 0x26
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x5d0], 0x27
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4b0]
mov byte [esp + 0x5d0], 0x28
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4b4]
mov byte [esp + 0x5d0], 0x29
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4b8]
mov byte [esp + 0x5d0], 0x2a
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4bc]
mov byte [esp + 0x5d0], 0x2b
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4c0]
mov byte [esp + 0x5d0], 0x2c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4c4]
mov byte [esp + 0x5d0], 0x2d
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4c8]
mov byte [esp + 0x5d0], 0x2e
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x5d0], 0x2f
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4d0]
mov byte [esp + 0x5d0], 0x30
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4d4]
mov byte [esp + 0x5d0], 0x31
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4d8]
mov byte [esp + 0x5d0], 0x32
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4dc]
mov byte [esp + 0x5d0], 0x33
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4e0]
mov byte [esp + 0x5d0], 0x34
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4e4]
mov byte [esp + 0x5d0], 0x35
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4e8]
mov byte [esp + 0x5d0], 0x36
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4ec]
mov byte [esp + 0x5d0], 0x37
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x4f0]
mov byte [esp + 0x5d0], 0x38
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x5d0], 0x39
mov dword [esp + 0x30], 0x59ae48
call fcn.00458570
mov dword [esp + 0xd4], 0x2710
mov dword [esp + 0xd8], 0xc80
mov dword [esp + 0xdc], 2
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x58c], ebx
mov byte [esp + 0x534], 0
push ecx
mov byte [esp + 0x548], 0
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ebx
mov bl, 0x3a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5d4], bl
call fcn.004016c0
push eax
push 0
push 0x619640
lea ecx, [esp + 0x40]
push ecx
call fcn.00451fc0
add esp, 0x14
test eax, eax
je 0x5346d7
mov edx, dword [esp + 0x54]
mov edi, 1
cmp dword [edx + 4], edi
jl 0x5346c8
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004a74e0
mov ecx, dword [esp + 0x160]
add esp, 8
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x5d0], 0x3c
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x5d0], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x54]
inc edi
cmp edi, dword [edx + 4]
jle 0x53466b
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0044ff40
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x5d0], 1
call fcn.0045b900
lea ecx, [esp + 0x18]
mov byte [esp + 0x5d0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x5d0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0xbc]
test eax, eax
mov dword [esi + 0x1c4], eax
je 0x534811
mov edx, dword [esi + 0x17c]
lea ecx, [esp + 0x1c]
push ecx
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, esi
call fcn.00533910
mov ecx, esi
call fcn.00533a10
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [esi + 0x1c4]
push 6
call ebx
mov edx, dword [esi + 0x1c8]
imul edx, edi
cmp edi, 8
lea ebp, [edx + eax*2]
jle 0x53478b
push 6
call ebx
mov ecx, dword [esi + 0x1c8]
lea ebp, [eax + ecx*4]
shl ebp, 1
lea edi, [esi + 0x148]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x5347d6
mov eax, dword [edi + 8]
mov ebx, dword [edi]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
sub eax, ebx
mov ebx, dword [edi + 4]
add eax, ebp
sub ecx, ebx
mov dword [esp + 0x24], eax
add ecx, edx
push 0
mov dword [esp + 0x2c], ecx
sub ecx, edx
sub eax, ebp
push ecx
push eax
mov dword [esp + 0x2c], edx
push edx
mov edx, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
push ebp
push edx
jmp 0x5347f0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push 0
sub ecx, eax
push ebp
push ecx
push edx
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0xbc]
cmp ecx, eax
je 0x53481a
mov dword [esi + 0x1d0], 0xffffffff
jmp 0x53481a
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, 1
mov ecx, dword [esp + 0x5c8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c4
ret 0xc