Function at 0x43de30
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x4012f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401270
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x30]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call edi
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ecx, dword [ebp - 0x30]
push ecx
push 0x419c20
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call ebx
mov dword [ebp - 0x44], eax
mov esi, 8
mov dword [ebp - 0x4c], esi
mov edx, dword [ebp - 0x30]
push edx
push 0x419c3c
call ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x30]
push eax
push 0x419c70
call ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], esi
push 0x37
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcDir]
mov edx, eax
lea ecx, [ebp - 0x3c]
call edi
push eax
push 0x4197e4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
neg esi
sbb esi, esi
neg esi
neg esi
push 0x27
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcDir]
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
push eax
push 0x4197e4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
neg eax
neg eax
and esi, eax
push 1
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcDir]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
push eax
push 0x4197e4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
neg eax
neg eax
and esi, eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x4c]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x20
test si, si
je 0x43e013
mov ecx, dword [ebp - 0x30]
push ecx
push 0x419bfc
call ebx
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
push eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.00419634
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor eax, eax
cmp esi, 3
sete al
neg eax
mov esi, eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
test si, si
je 0x43e013
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x7c], 0xb
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x43e089
jmp 0x43e07f
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x7c], 0xb
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
push 0x419c94
call fcn.0043e370
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x43e089
jmp 0x43e07f
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret