Function at 0x404e80
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x441372
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x86
mov dword [esp + 0x18], esi
call fcn.0043fc32
lea ecx, [esi + 0x60]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CDatabase::CDatabase
lea ecx, [esi + 0xcc]
mov byte [esp + 0x2c], 1
call fcn.0043fabe
lea ecx, [esi + 0xd0]
mov byte [esp + 0x2c], 2
call fcn.0043fabe
push 0
lea ecx, [esi + 0xf0]
mov byte [esp + 0x30], 3
call fcn.004012a0
push 0
lea ecx, [esi + 0x62c]
mov byte [esp + 0x30], 4
call fcn.0043b380
lea ecx, [esi + 0x7b4]
mov byte [esp + 0x2c], 5
call fcn.0043b6f0
lea edi, [esi + 0x840]
mov byte [esp + 0x2c], 6
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x446b38
lea ecx, [esi + 0x880]
mov byte [esp + 0x2c], 7
call fcn.0043b6f0
lea ecx, [esi + 0x90c]
mov byte [esp + 0x2c], 8
call fcn.0043b6f0
lea ecx, [esi + 0x998]
mov byte [esp + 0x2c], 9
call fcn.0043b6f0
lea ecx, [esi + 0xa24]
mov byte [esp + 0x2c], 0xa
call fcn.0043b6f0
lea ecx, [esi + 0xab0]
mov byte [esp + 0x2c], 0xb
call fcn.0043b6f0
lea ecx, [esi + 0xb3c]
mov byte [esp + 0x2c], 0xc
call fcn.0043b6f0
lea ecx, [esi + 0xbc8]
mov byte [esp + 0x2c], 0xd
call fcn.0043b6f0
lea ecx, [esi + 0xc54]
mov byte [esp + 0x2c], 0xe
call fcn.0043b6f0
lea ecx, [esi + 0xce0]
mov byte [esp + 0x2c], 0xf
call fcn.0043b6f0
mov byte [esp + 0x2c], 0x10
lea ecx, [esi + 0xd6c]
call fcn.0043b6f0
lea ecx, [esi + 0xdf8]
mov byte [esp + 0x2c], 0x11
call fcn.0043b6f0
lea ecx, [esi + 0xe84]
mov byte [esp + 0x2c], 0x12
call fcn.0043b6f0
lea ecx, [esi + 0xf10]
mov byte [esp + 0x2c], 0x13
call fcn.0043b6f0
lea ecx, [esi + 0xf9c]
mov byte [esp + 0x2c], 0x14
call fcn.0043b6f0
lea ecx, [esi + 0x1028]
mov byte [esp + 0x2c], 0x15
call fcn.0043b6f0
lea ecx, [esi + 0x10b4]
mov byte [esp + 0x2c], 0x16
call fcn.0043b6f0
lea ecx, [esi + 0x1140]
mov byte [esp + 0x2c], 0x17
call fcn.0043b6f0
lea ecx, [esi + 0x11cc]
mov byte [esp + 0x2c], 0x18
call fcn.0043b6f0
lea ecx, [esi + 0x1258]
mov byte [esp + 0x2c], 0x19
call fcn.0043b6f0
lea ecx, [esi + 0x12e4]
mov byte [esp + 0x2c], 0x1a
call fcn.0043b6f0
lea ecx, [esi + 0x1370]
mov byte [esp + 0x2c], 0x1b
call fcn.0043b6f0
lea ecx, [esi + 0x13fc]
mov byte [esp + 0x2c], 0x1c
call fcn.0043b6f0
lea ecx, [esi + 0x1488]
mov byte [esp + 0x2c], 0x1d
call fcn.0043b6f0
lea ecx, [esi + 0x1514]
mov byte [esp + 0x2c], 0x1e
call fcn.0043b6f0
lea ecx, [esi + 0x15a0]
mov byte [esp + 0x2c], 0x1f
call fcn.0043b6f0
lea ecx, [esi + 0x162c]
mov byte [esp + 0x2c], 0x20
call fcn.0043b6f0
lea ecx, [esi + 0x16b8]
mov byte [esp + 0x2c], 0x21
call fcn.0043b6f0
lea ecx, [esi + 0x1744]
mov byte [esp + 0x2c], 0x22
call fcn.0043b6f0
lea ecx, [esi + 0x17d0]
mov byte [esp + 0x2c], 0x23
call fcn.0043b6f0
lea ecx, [esi + 0x185c]
mov byte [esp + 0x2c], 0x24
call fcn.0043b6f0
lea ecx, [esi + 0x18e8]
mov byte [esp + 0x2c], 0x25
call fcn.0043b6f0
lea edi, [esi + 0x1974]
mov byte [esp + 0x2c], 0x26
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x447350
lea edi, [esi + 0x19b4]
mov byte [esp + 0x2c], 0x27
mov ecx, edi
call fcn.0043fabe
lea ebp, [esi + 0x19b8]
mov byte [esp + 0x2c], 0x28
mov ecx, ebp
call fcn.0043fabe
lea ebx, [esi + 0x19bc]
mov byte [esp + 0x2c], 0x29
mov ecx, ebx
call fcn.0043fabe
lea ecx, [esi + 0x19c0]
mov byte [esp + 0x2c], 0x2a
call fcn.0043fabe
lea ecx, [esi + 0x19c4]
mov byte [esp + 0x2c], 0x2b
call fcn.0043fabe
lea ecx, [esi + 0x19c8]
mov byte [esp + 0x2c], 0x2c
call fcn.0043fabe
lea ecx, [esi + 0x19cc]
mov byte [esp + 0x2c], 0x2d
call fcn.0043fabe
lea ecx, [esi + 0x19d0]
mov byte [esp + 0x2c], 0x2e
call fcn.0043fabe
lea ecx, [esi + 0x19d4]
mov byte [esp + 0x2c], 0x2f
call fcn.0043fabe
lea ecx, [esi + 0x19d8]
mov byte [esp + 0x2c], 0x30
call fcn.0043fabe
lea ecx, [esi + 0x19dc]
mov byte [esp + 0x2c], 0x31
call fcn.0043fabe
lea ecx, [esi + 0x19e0]
mov byte [esp + 0x2c], 0x32
call fcn.0043fabe
lea ecx, [esi + 0x19e4]
mov byte [esp + 0x2c], 0x33
call fcn.0043fabe
push 0x45cfd8
mov ecx, edi
mov byte [esp + 0x30], 0x34
mov dword [esi], 0x447278
call fcn.0043fc26
push 0x45cfd8
mov ecx, ebp
call fcn.0043fc26
push 0x45cfd8
mov ecx, ebx
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19c0]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19c4]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19c8]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19cc]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19d0]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19d4]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19d8]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19dc]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19e0]
call fcn.0043fc26
push 0x45cfd8
lea ecx, [esi + 0x19e4]
call fcn.0043fc26
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x4052fa
mov edx, dword [esi + 0x60]
lea ecx, [esi + 0x60]
push 1
push str.ODBC_
push 0
push 0
push 0x44f2c4
call dword [edx + 0x14]
push 0x134
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x2c], 0x35
je 0x405321
lea edx, [esi + 0x60]
mov ecx, eax
push edx
call fcn.0042ff60
jmp 0x405323
xor eax, eax
mov dword [esi + 0xc0], eax
mov eax, dword [0x34bdb10]
xor ebx, ebx
cmp eax, 1
mov byte [esp + 0x2c], 0x34
mov edi, 0xa0
mov ebp, 0x400
mov dword [esp + 0x20], 0x258
jne 0x405355
mov eax, 0x21c
mov dword [esp + 0x20], eax
push 0x80
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x2c], 0x36
je 0x40539a
mov ecx, dword [0x44fa34]
mov edx, dword [0x44fa38]
push ecx
push edx
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov ecx, eax
call fcn.00402b80
jmp 0x40539c
xor eax, eax
mov dword [esi + 0xc8], eax
mov eax, dword [0x44fa38]
imul eax, dword [0x44fa34]
mov byte [esp + 0x2c], 0x34
lea eax, [eax + eax*2]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esi + 0xc4], eax
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4