Function at 0x4112e0
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x401ed6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x128
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401a38
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x411400
mov dword [ebp - 4], 4
mov dword [ebp - 0x60], 0x80020004
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x50], 0x80020004
mov dword [ebp - 0x58], 0xa
mov dword [ebp - 0x40], 0x80020004
mov dword [ebp - 0x48], 0xa
mov dword [ebp - 0xf0], 0x406dc0
mov dword [ebp - 0xf8], 8
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 0x24
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
xor edx, edx
cmp eax, 7
sete dl
neg edx
mov word [ebp - 0x134], dx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x38]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
movsx ecx, word [ebp - 0x134]
test ecx, ecx
je 0x411400
mov dword [ebp - 4], 5
mov word [0x416020], 0xffff
jmp 0x4119d3
mov dword [ebp - 4], 9
call fcn.0040f730
mov dword [ebp - 4], 0xa
push 0
call fcn.00411a60
mov dword [ebp - 4], 0xb
call fcn.0040bc40
movsx edx, ax
test edx, edx
jne 0x4116ed
mov dword [ebp - 4], 0xc
mov word [ebp - 0x130], 0xffff
mov word [ebp - 0x12c], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x12c]
push ecx
push 0x41602c
push 0x416030
push 0x416034
call fcn.00408c70
movsx edx, ax
test edx, edx
jne 0x411503
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x60], 0x80020004
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x50], 0x80020004
mov dword [ebp - 0x58], 0xa
mov dword [ebp - 0x40], 0x80020004
mov dword [ebp - 0x48], 0xa
mov dword [ebp - 0xf0], 0x406a98
mov dword [ebp - 0xf8], 8
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x4116e8
mov dword [ebp - 4], 0xf
mov dword [ebp - 0xf0], 0x406394
mov dword [ebp - 0xf8], 8
push 0x22
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 0x22
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x100], 0x404670
mov dword [ebp - 0x108], 8
push 0x22
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
call fcn.00409aa0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 8
push 0x22
lea edx, [ebp - 0xc8]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x110], 0x4063b4
mov dword [ebp - 0x118], 8
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0xe8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push 0x404680
push 0x40638c
mov edx, dword [0x41602c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x406324
push 0x4046a8
call fcn.0040a8e0
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0xc
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x34
mov dword [ebp - 4], 0x10
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x4116e8
mov dword [ebp - 4], 0x11
push 6
call fcn.0040b850
jmp 0x4119d3
mov dword [ebp - 4], 0x15
mov word [ebp - 0x12c], 0
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [0x416038]
push edx
call fcn.004125b0
movsx eax, ax
test eax, eax
jne 0x41178a
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0xb
xor edx, edx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x406b24
mov ecx, dword [0x416038]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x38]
push edx
push 0
push 0x77359400
lea eax, [ebp - 0x28]
push eax
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00412ab0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x24]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0xb
xor edx, edx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x406b9c
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0x77359400
lea edx, [ebp - 0x28]
push edx
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.00412ab0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x19
mov dword [ebp - 0xf0], 0x406394
mov dword [ebp - 0xf8], 8
push 0x22
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 0x22
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x100], 0x404670
mov dword [ebp - 0x108], 8
push 0x22
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
call fcn.00409aa0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 8
push 0x22
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x110], 0x4063b4
mov dword [ebp - 0x118], 8
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x78]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push 0x404680
push 0x40638c
mov edx, dword [0x41602c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x406324
push 0x4046a8
call fcn.0040a8e0
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x38]
push edx
push 0xc
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x34
mov dword [ebp - 4], 0x1a
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x4119d3
mov dword [ebp - 4], 0x1b
push 6
call fcn.0040b850
push 0x411a3f
jmp 0x411a3e
ret