Function at 0x40c970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c33c
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x48d814]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
push 0x1000
lea ecx, [ebp - 0xc0]
call fcn.0042c810
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004087c0
cmp dword [ebp - 0x1c], ebx
jne 0x40ca7b
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xdc], bl
push 0x10
push str.invalid_db_name.
lea ecx, [ebp - 0xe0]
call fcn.00402920
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
push ecx
push ebx
mov ecx, edi
call fcn.0040a0e0
mov byte [ebp - 4], 1
mov edi, 0x10
cmp dword [ebp - 0xc8], edi
jb 0x40ca48
mov edx, dword [ebp - 0xdc]
push edx
call fcn.00450138
add esp, 4
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xdc], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], edi
jb 0x40ca70
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00450138
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jmp 0x40cece
sub esp, 0x1c
mov dword [ebp - 0xa8], esp
mov ecx, esp
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], 0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x30]
push edx
call fcn.00402830
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00409150
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
lea esi, [edi + 0xd8]
cmp dword [esi], ebx
je 0x40cadc
lea ecx, [edi + 0xe0]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00407820
add esp, 8
test al, al
je 0x40cd23
push str.SYSDBA
push str.DB_USERNAME
lea eax, [ebp - 0x4c]
push eax
call fcn.00401640
mov ecx, eax
call fcn.00404330
mov byte [ebp - 4], 6
push str.masterkey
push str.DB_PASSWORD
lea ecx, [ebp - 0x84]
push ecx
call fcn.00401640
mov ecx, eax
call fcn.00404330
mov byte [ebp - 4], 7
push str.localhost
push str.DB_SERVERNAME
lea edx, [ebp - 0xa0]
push edx
call fcn.00401640
mov ecx, eax
call fcn.00404330
mov byte [ebp - 4], 8
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0xe0]
call fcn.00408720
push 0x47389e
lea ecx, [ebp - 0x13c]
call fcn.004036e0
mov byte [ebp - 4], 9
push str.UTF8
lea ecx, [ebp - 0x120]
call fcn.004036e0
mov byte [ebp - 4], 0xa
push 0x47389e
lea ecx, [ebp - 0xe0]
call fcn.004036e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.00407c10
mov ebx, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x174]
push ecx
call fcn.00407c10
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.00407c10
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x190]
push edx
call fcn.00407c10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0xe0]
push ecx
push ebx
mov edx, dword [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0xac]
push ecx
push eax
lea edx, [ebp - 0xa8]
push edx
call fcn.004402b0
add esp, 0x40
mov byte [ebp - 4], 0x10
push eax
mov ecx, esi
call fcn.00407130
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa8]
call fcn.00406f20
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x190]
call fcn.00401ff0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x158]
call fcn.00401ff0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x174]
call fcn.00401ff0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x104]
call fcn.00401ff0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe0]
call fcn.00401ff0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x120]
call fcn.00401ff0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x13c]
call fcn.00401ff0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
push 0
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
push esi
call fcn.00407170
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 8
call fcn.00440f40
add esp, 0x18
mov byte [ebp - 4], 0x12
push eax
lea ecx, [edi + 0xdc]
call fcn.004071c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa8]
call fcn.00406f40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00402020
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x84]
call fcn.00402020
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.00402020
lea ebx, [edi + 0xdc]
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push ebx
call fcn.00407200
mov byte [ebp - 4], 0x13
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
push esi
call fcn.00407170
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa4]
push ecx
mov byte [ebp - 4], 5
call fcn.00408970
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0xa4]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.00408ca0
add esp, 0x14
test al, al
jne 0x40cdda
push str.read_parameter_failure
lea ecx, [ebp - 0x4c]
call fcn.004036e0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, edi
call fcn.0040a220
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x4c]
call fcn.00401ff0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.004071a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00402020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401ff0
jmp 0x40ced2
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push 0
lea ecx, [ebp - 0xbc]
call fcn.00407270
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
push eax
lea ecx, [ebp - 0xbc]
call fcn.00407270
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [ebp - 0xa4]
cmp eax, 2
jne 0x40ce2f
push ecx
lea edx, [ebp - 0xc0]
push edx
jmp 0x40ce4b
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
call edx
test eax, eax
jle 0x40ce53
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xc0]
push ecx
call fcn.00408a80
add esp, 8
mov ebx, dword [ebx]
mov edx, dword [ebx]
mov ecx, ebx
mov eax, dword [edx + 0x14]
call eax
lea ecx, [ebp - 0xc0]
call fcn.0042c800
push eax
mov ecx, edi
call fcn.00409b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call fcn.004071a0
mov dword [ebp - 4], 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 8
jb 0x40ce9d
mov edx, dword [ebp - 0x64]
push edx
call fcn.00450138
add esp, 4
mov dword [ebp - 0x50], 7
xor esi, esi
mov dword [ebp - 0x54], esi
xor eax, eax
mov word [ebp - 0x64], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x18], 0x10
jb 0x40cec4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00450138
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.0042c7f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045075f
mov esp, ebp
pop ebp
ret 4