Function at 0x41e1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45eda0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
mov eax, dword [0x491104]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc]
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.00406730
xor ebp, ebp
mov dword [esp + 0x3c], ebp
lea ecx, [esp + 0x2c]
push ecx
call fcn.00410a40
mov byte [esp + 0x40], 1
push eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004060a0
add esp, 0x10
mov bl, 3
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x2c]
call fcn.00406ed0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push str.calling
push edx
mov dword [esp + 0x2c], ebp
call fcn.00406220
add esp, 0xc
mov byte [esp + 0x3c], 4
add esi, 4
mov ecx, esi
call fcn.00411f40
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x2c]
call fcn.00406ed0
push edi
lea eax, [esp + 0x30]
push 0x4692fc
push eax
call fcn.00406220
add esp, 0xc
mov byte [esp + 0x3c], 5
mov ecx, esi
call fcn.00411f40
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x2c]
call fcn.00406ed0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x30]
push str.workingdir
push edx
call fcn.00406220
add esp, 0xc
mov byte [esp + 0x3c], 6
mov ecx, esi
call fcn.00411f40
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x2c]
call fcn.00406ed0
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.0040ceb0
add esp, 0x10
test al, al
jne 0x41e40c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x1c]
mov ebp, eax
call fcn.00406fc0
mov byte [esp + 0x3c], 7
lea ecx, [esp + 0x18]
call fcn.00406fc0
mov byte [esp + 0x3c], 8
lea ecx, [esp + 0x44]
call fcn.00406fc0
mov byte [esp + 0x3c], 9
push ebp
lea edx, [esp + 0x48]
push 0x4698c8
push edx
call fcn.004066b0
push ebp
lea eax, [esp + 0x2c]
push str.DBConfigurator_failed_to_start._windows_reports_error_:__d
push eax
call fcn.004066b0
add esp, 0x18
push str.DBConfigurator
lea ecx, [esp + 0x30]
call fcn.00406e00
mov byte [esp + 0x3c], 0xa
push str.setup_launch_failure
lea ecx, [esp + 0x2c]
call fcn.00406e00
mov byte [esp + 0x3c], 0xb
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.004161d0
add esp, 0x1c
mov byte [esp + 0x3c], 0xc
push eax
lea ecx, [esp + 0x1c]
call fcn.00406800
mov byte [esp + 0x3c], 0xb
lea ecx, [esp + 0x30]
call fcn.00406ed0
mov byte [esp + 0x3c], 0xa
lea ecx, [esp + 0x28]
call fcn.00406ed0
mov byte [esp + 0x3c], 9
lea ecx, [esp + 0x2c]
call fcn.00406ed0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.00411f10
mov byte [esp + 0x3c], 8
lea ecx, [esp + 0x44]
call fcn.00406ed0
mov byte [esp + 0x3c], 7
lea ecx, [esp + 0x18]
call fcn.00406ed0
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x1c]
call fcn.00406ed0
mov byte [esp + 0x3c], 0
lea ecx, [esp + 0x14]
call fcn.00406ed0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00406ed0
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
lea ecx, [esp + 0x24]
call fcn.00406fc0
mov byte [esp + 0x3c], 0xd
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push 0x4698c8
push edx
call fcn.004066b0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
push str.exitcode:
push ecx
call fcn.00406220
add esp, 0x18
mov byte [esp + 0x3c], 0xe
mov ecx, esi
call fcn.00411f40
mov byte [esp + 0x3c], 0xd
lea ecx, [esp + 0x30]
call fcn.00406ed0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
cmp eax, ebp
mov dword [edx], eax
sete byte [esp + 0x44]
mov byte [esp + 0x3c], bl
lea ecx, [esp + 0x24]
call fcn.00406ed0
mov byte [esp + 0x3c], 0
lea ecx, [esp + 0x14]
call fcn.00406ed0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00406ed0
mov al, byte [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4