Function at 0x46ec30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dfdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x630
mov eax, dword [0x64b2e4]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp eax, 3
mov dword [ebp - 0x10], esp
jne 0x46f364
mov al, byte [edi + 0x4f2]
test al, al
jne 0x46f364
lea eax, [edi + 0x480]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::CString_4
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], 0x3c
cmp ebx, 1
jle 0x46eca9
mov ecx, dword [edi + 0x470]
lea edx, [ebp - 0x20]
push ecx
push str.QP__s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov esi, dword [ebp - 0x20]
push 0xc
mov dword [ebp - 0x44], 0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
mov byte [ebp - 4], 0x3d
je 0x46ecd2
push esi
mov ecx, eax
call fcn.00427ce0
jmp 0x46ecd4
xor eax, eax
test eax, eax
mov byte [ebp - 4], 0x3c
mov dword [ebp - 0x18], eax
jne 0x46ece9
push 0x8007000e
call fcn.00571280
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 3
jge 0x46f14f
push 0x3e8
push ecx
lea eax, [edi + 0x418]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 0x3f
call fcn.0043e9a0
call fcn.0046a770
add esp, 8
test eax, eax
jne 0x46ed4b
lea ecx, [ebp - 0x18]
call fcn.004034a0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x28], 0
mov ecx, dword [edi + 0x28]
mov esi, ebx
shl esi, 5
mov byte [ebp - 4], 0x40
lea eax, [ecx + esi]
mov cl, byte [ecx + esi + 0x12]
cmp cl, 0x49
je 0x46ee41
cmp byte [eax + 0xb], 0x49
je 0x46ee41
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x84]
push edx
mov word [ebp - 0x84], 0
call sub.MFC42.DLL_COleVariant::operator_2
lea eax, [ebp - 0x94]
mov bl, 0x45
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x84]
lea edx, [ebp - 0x94]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x46edc0
push eax
call fcn.00571280
mov ecx, dword [edi + 0x28]
xor edx, edx
lea eax, [ebp - 0x94]
mov dl, byte [ecx + esi + 0x10]
push eax
push edx
push 1
push 0xca
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
call fcn.0046ff90
mov ecx, 0x64b2c4
mov byte [ebp - 4], 0x47
call fcn.00427c50
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x46
push ecx
mov ecx, eax
call fcn.00427ec0
mov edx, dword [eax]
lea ecx, [ebp - 0x28]
push edx
call fcn.0046b1c0
lea ecx, [ebp - 0x50]
call fcn.0044c470
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], bl
call esi
test eax, eax
jge 0x46ee2f
push eax
call fcn.00571280
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x40
push ecx
call esi
jmp 0x46ef43
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 0x41
cmp byte [eax + esi + 0xb], 0x43
je 0x46ee72
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46ee72
mov ecx, eax
jmp 0x46ee78
mov eax, dword [edi + 0x68]
mov ecx, dword [eax + ebx*4]
push ecx
lea edx, [ebp - 0x30]
push 0x601b04
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x74]
mov word [ebp - 0x74], 0
push eax
call sub.MFC42.DLL_COleVariant::operator_9
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x42
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x64]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x46eec2
push eax
call fcn.00571280
mov edx, dword [edi + 0x3c]
lea ecx, [ebp - 0x64]
push ecx
push 4
push 1
push 3
lea ecx, [edx + ebx*4]
mov byte [ebp - 4], 0x43
call fcn.004016c0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00403400
mov ecx, 0x64b2c4
mov byte [ebp - 4], 0x44
call fcn.00427c50
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x43
push ecx
mov ecx, eax
call fcn.00427ec0
mov edx, dword [eax]
lea ecx, [ebp - 0x28]
push edx
call fcn.0046b1c0
lea ecx, [ebp - 0x48]
call fcn.0044c470
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x42
call esi
test eax, eax
jge 0x46ef31
push eax
call fcn.00571280
lea ecx, [ebp - 0x74]
push ecx
call esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x40
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x64b2c4]
test eax, eax
jne 0x46ef56
push 0x80004003
call fcn.00571280
mov ecx, dword [0x64b2c4]
lea edx, [ebp - 0x4c]
push edx
call fcn.00427fa0
mov esi, eax
mov eax, dword [esi]
mov byte [ebp - 4], 0x48
test eax, eax
jne 0x46ef7b
push 0x80004003
call fcn.00571280
mov esi, dword [esi]
mov ecx, dword [ebp - 0x28]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x28]
test eax, eax
jge 0x46ef97
push 0x5ffef8
push esi
push eax
call fcn.0057128e
lea ecx, [ebp - 0x4c]
call fcn.0044c470
mov edx, dword [ebp - 0x18]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov dword [ecx], edx
call fcn.00427cc0
mov ecx, 0x64b2c4
mov byte [ebp - 4], 0x49
call fcn.00427c50
mov ecx, eax
mov byte [ebp - 4], 0x40
call fcn.00427dc0
mov eax, dword [0x64b2c4]
test eax, eax
jne 0x46efdb
push 0x80004003
call fcn.00571280
mov esi, dword [0x64b2c4]
push 4
push esi
mov eax, dword [esi]
call dword [eax + 0x50]
test eax, eax
jge 0x46eff9
push 0x5fc6a0
push esi
push eax
call fcn.0057128e
mov eax, dword [0x64b2c4]
test eax, eax
jne 0x46f00c
push 0x80004003
call fcn.00571280
push 4
push 0
lea ecx, [ebp - 0x14]
push 0
push ecx
mov ecx, dword [0x64b2c4]
call fcn.00427e60
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x4a
test eax, eax
jne 0x46f039
push 0x80004003
call fcn.00571280
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea ecx, [ebp - 0x36]
push ecx
push eax
mov esi, eax
call dword [edx + 0x34]
test eax, eax
jge 0x46f055
push 0x5ffec8
push esi
push eax
call fcn.0057128e
cmp word [ebp - 0x36], 0
jne 0x46f110
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x46f074
push 0x80004003
call fcn.00571280
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov esi, eax
call dword [edx + 0x50]
test eax, eax
jge 0x46f090
push 0x5ffec8
push esi
push eax
call fcn.0057128e
cmp word [ebp - 0x38], 0
jne 0x46f110
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x46f0a8
push 0x80004003
call fcn.00571280
mov ecx, dword [ebp - 0x14]
push 0x6a2e88
push 0x6a2e88
lea edx, [ebp - 0xa4]
push 1
push edx
call fcn.0044c6a0
lea eax, [ebp - 0xa4]
xor ebx, ebx
mov bl, byte [edi + 0x512]
push eax
push edi
push 0
mov byte [ebp - 4], 0x4b
mov byte [edi + 0x512], 0
call fcn.00460a90
add esp, 0xc
lea ecx, [ebp - 0xa4]
mov byte [edi + 0x512], bl
mov dword [ebp - 0x44], 1
push ecx
mov byte [ebp - 4], 0x4a
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x46f110
push eax
call fcn.00571280
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x46f124
push 0x80004003
call fcn.00571280
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
mov esi, eax
call dword [edx + 0x80]
test eax, eax
jge 0x46f13f
push 0x5ffec8
push esi
push eax
call fcn.0057128e
lea ecx, [ebp - 0x14]
call fcn.0044c470
lea ecx, [ebp - 0x28]
call fcn.0044c470
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x46f17f
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x46f178
test esi, esi
je 0x46f178
mov ecx, esi
call fcn.0044c600
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0044e460
add esp, 4
test eax, eax
je 0x46f387
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_3
xor esi, esi
lea edx, [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], esi
push ebx
push edi
push edx
call fcn.00492d80
add esp, 0x14
mov ecx, dword [edi + 0x3c]
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0x470]
mov edx, dword [ecx + ebx*4]
lea ecx, [ebp + 8]
push edx
push eax
push str.select__from___s__where___s____s
push ecx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x634]
call sub.MFC42.DLL_CString::CString_3
mov ebx, 2
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x608]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x604]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x49c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 0x17
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x1a
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x1b
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x1e
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x1f
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x20
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0x21
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x22
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x23
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x24
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 0x25
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x26
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x27
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0x28
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x29
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0x2a
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x2b
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x2c
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x2d
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x2e
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x2f
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0x30
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x31
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x32
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x33
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x34
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x35
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0x36
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x37
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x38
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x63c]
mov byte [ebp - 4], 0x39
mov dword [ebp - 0x63c], 0x59ae48
call fcn.00458570
mov dword [ebp - 0x598], 0x2710
mov dword [ebp - 0x594], 0xc80
mov dword [ebp - 0x590], ebx
mov dword [ebp - 0x588], esi
mov dword [ebp - 0xe0], esi
mov byte [ebp - 0x138], 0
mov edx, dword [edi + 0x418]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
mov dword [ecx], edx
call fcn.0054ae50
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x3a
call fcn.004016c0
push eax
push esi
lea eax, [ebp - 0x63c]
push 0x619640
push eax
call fcn.00451fc0
add esp, 0x14
cmp eax, esi
je 0x46f803
mov ecx, dword [ebp - 0x618]
mov ebx, dword [ecx + 4]
cmp ebx, esi
je 0x46f7c2
push edi
call fcn.00470fc0
add esp, 4
lea edx, [ebp - 0x63c]
push 1
push edx
call sym.menu.exe_public_virtual:_void___stdcall_DB::read_long_int_
lea eax, [ebp - 0x63c]
push eax
push edi
call fcn.004a7850
add esp, 8
lea ecx, [ebp - 0x63c]
push esi
push ecx
call fcn.0044ff40
add esp, 8
lea ecx, [ebp - 0x63c]
mov byte [ebp - 4], 0
call fcn.0045b900
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x63c]
mov byte [ebp - 4], 0
call fcn.0045b900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret