Function at 0x410860
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], 0x401910
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 + 0xc]
cmp word [eax], 0xffff
jne 0x4109f9
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 8]
cmp word [ecx], 0xffff
jne 0x41093d
mov dword [ebp - 4], 5
push 0x4069fc
push 0x404064
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x404064
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x406be4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
jmp 0x410952
mov dword [ebp - 4], 7
mov edx, 0x406a64
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 9
mov dword [ebp - 0x54], 0x80020004
mov dword [ebp - 0x5c], 0xa
mov dword [ebp - 0x44], 0x80020004
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x34], 0x80020004
mov dword [ebp - 0x3c], 0xa
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xfc], 0x4008
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x24
lea edx, [ebp - 0xfc]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
xor ecx, ecx
cmp eax, 7
sete cl
neg ecx
mov word [ebp - 0x134], cx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
movsx edx, word [ebp - 0x134]
test edx, edx
je 0x4109f9
mov dword [ebp - 4], 0xa
mov word [0x416020], 0xffff
jmp 0x411063
mov dword [ebp - 4], 0xe
call fcn.0040f730
mov dword [ebp - 4], 0xf
push 0
call fcn.00411a60
mov dword [ebp - 4], 0x10
call fcn.0040bc40
movsx eax, ax
test eax, eax
jne 0x410cfa
mov dword [ebp - 4], 0x11
mov word [ebp - 0x130], 0
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x41602c
push 0x416030
push 0x416034
call fcn.00408c70
movsx eax, ax
test eax, eax
jne 0x410af0
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x64], 0x80020004
mov dword [ebp - 0x6c], 0xa
mov dword [ebp - 0x54], 0x80020004
mov dword [ebp - 0x5c], 0xa
mov dword [ebp - 0x44], 0x80020004
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0xf4], 0x406a98
mov dword [ebp - 0xfc], 8
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x4c]
push eax
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x410cf5
mov dword [ebp - 4], 0x14
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x410b11
mov dword [ebp - 4], 0x15
call fcn.00410650
jmp 0x410cd7
mov dword [ebp - 4], 0x17
mov dword [ebp - 0xf4], 0x406394
mov dword [ebp - 0xfc], 8
push 0x22
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 0x22
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x104], 0x404670
mov dword [ebp - 0x10c], 8
push 0x22
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
call fcn.00409aa0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 8
push 0x22
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x114], 0x4063b4
mov dword [ebp - 0x11c], 8
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x7c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xdc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
push 0x404680
push 0x40638c
mov eax, dword [0x41602c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x406324
push 0x4046a8
call fcn.0040a8e0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0xc
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x34
mov dword [ebp - 4], 0x19
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0xffff
jne 0x410cf5
mov dword [ebp - 4], 0x1a
push 6
call fcn.0040b850
jmp 0x411063
mov dword [ebp - 4], 0x1e
mov word [ebp - 0x130], 0
lea edx, [ebp - 0x130]
push edx
mov eax, dword [0x416038]
push eax
call fcn.004125b0
movsx ecx, ax
test ecx, ecx
jne 0x410d96
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0xb
xor edx, edx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x406b24
mov edx, dword [0x416038]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x77359400
lea ecx, [ebp - 0x2c]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.00412ab0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x21
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0xb
xor edx, edx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x406b54
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0x77359400
lea eax, [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00412ab0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x22
mov ecx, dword [ebp + 8]
cmp word [ecx], 0xffff
jne 0x410e7f
mov dword [ebp - 4], 0x23
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0xb
xor edx, edx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x4067c0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0x77359400
lea eax, [ebp - 0x2c]
push eax
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00412ab0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x24
call fcn.00410650
jmp 0x411045
mov dword [ebp - 4], 0x26
mov dword [ebp - 0xf4], 0x406394
mov dword [ebp - 0xfc], 8
push 0x22
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 0x22
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x104], 0x404670
mov dword [ebp - 0x10c], 8
push 0x22
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
call fcn.00409aa0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 8
push 0x22
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x114], 0x4063b4
mov dword [ebp - 0x11c], 8
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x7c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xdc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
push 0x404680
push 0x40638c
mov eax, dword [0x41602c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x406324
push 0x4046a8
call fcn.0040a8e0
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0xc
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x34
mov dword [ebp - 4], 0x28
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0xffff
jne 0x411063
mov dword [ebp - 4], 0x29
push 6
call fcn.0040b850
push 0x4110d8
jmp 0x4110ce
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret