Function at 0x430ca0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x401876
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f4
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401830
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], esi
mov ecx, 0x8b
xor eax, eax
lea edi, [ebp - 0x258]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a8], esi
mov ecx, 0x4a
lea edi, [ebp - 0x3d8]
rep stosd dword es:[edi], eax
mov ecx, 0x4a
lea edi, [ebp - 0x500]
rep stosd dword es:[edi], eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x258], 0x128
mov dword [ebp - 0x2a8], esi
lea eax, [ebp - 0x2a8]
push eax
push 2
call fcn.00405068
mov edi, eax
mov dword [ebp - 0x2ac], edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call ebx
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x3d8]
push edx
push 0x404ed8
call dword [sym.imp.MSVBVM60.DLL___vbaRecUniToAnsi]
push eax
push edi
call fcn.00404fac
mov dword [ebp - 0x2a8], eax
call ebx
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x258]
push ecx
push 0x404ed8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAnsiToUni]
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
cmp dword [ebp - 0x2a8], esi
je 0x430c09
lea edx, [ebp - 0x234]
push edx
push 0x104
call dword [sym.imp.MSVBVM60.DLL___vbaStrFixstr]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x294], 8
push esi
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 1
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x284]
push edx
push esi
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov esi, eax
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x294]
push edx
lea eax, [ebp - 0x284]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
sub si, 1
jo 0x430c90
movsx ecx, si
push ecx
lea edx, [ebp - 0x234]
push edx
push 0x104
call dword [sym.imp.MSVBVM60.DLL___vbaStrFixstr]
mov edx, eax
lea ecx, [ebp - 0x270]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x274]
call edi
mov eax, dword [ebp - 0x270]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 0x104
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov edx, dword [ebp - 0x274]
push edx
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcLowerCaseBstr]
call esi
mov edx, eax
lea ecx, [ebp - 0x264]
call edi
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x270]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov edx, dword [ebx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push eax
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharBstr]
mov edx, eax
lea ecx, [ebp - 0x270]
call edi
push eax
mov ecx, dword [ebx]
push ecx
call esi
mov edx, eax
lea ecx, [ebp - 0x274]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
neg esi
sbb esi, esi
inc esi
neg esi
lea edx, [ebp - 0x274]
push edx
lea eax, [ebp - 0x270]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
test si, si
je 0x430bb7
mov dword [ebp - 0x24], 0xffffffff
mov cx, word [ebp - 0x2c]
add cx, 1
jo 0x430c90
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x250]
push edx
push 0
push 0
call fcn.00404f64
mov dword [ebp - 0x2a8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0
mov eax, dword [ebp - 0x250]
push eax
call 0x430ca0
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x500]
push edx
push 0x404ed8
call dword [sym.imp.MSVBVM60.DLL___vbaRecUniToAnsi]
push eax
mov eax, dword [ebp - 0x2ac]
push eax
call fcn.00404ff4
mov dword [ebp - 0x2a8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea ecx, [ebp - 0x500]
push ecx
lea edx, [ebp - 0x258]
push edx
push 0x404ed8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAnsiToUni]
xor esi, esi
jmp 0x430a0d
mov eax, dword [ebp - 0x2ac]
push eax
call fcn.004050ac
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x430c79
jmp 0x430c6c
lea ecx, [ebp - 0x264]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
push 0x401876
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401858
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], ebx
call fcn.004050f0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edi, eax
call esi
cmp edi, ebx
jl 0x430da0
call fcn.0040513c
mov edi, eax
call esi
lea ecx, [ebp - 0x28]
push ecx
push 0x28
push edi
call fcn.00405198
mov edi, eax
call esi
xor edx, edx
cmp edi, ebx
sete dl
neg edx
test dx, dx
jne 0x430e08
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
push 0x405da4
push ecx
call edi
push eax
lea edx, [ebp - 0x30]
push 0x404df4
push edx
call edi
push eax
call fcn.004051e8
mov edi, eax
call esi
xor eax, eax
cmp edi, ebx
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x30]
sete al
push ecx
push edx
neg eax
push 2
mov edi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
cmp di, bx
jne 0x430e08
mov ecx, dword [ebp - 0x28]
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
push ebx
push ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 2
call fcn.0040522c
mov edi, eax
call esi
cmp edi, ebx
je 0x430e08
mov edx, dword [ebp + 8]
push edx
push ebx
push 0x1f0fff
call fcn.00404f64
mov edi, eax
call esi
test edi, edi
mov ebx, edi
je 0x430ddb
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00404f20
mov edi, eax
call esi
xor ecx, ecx
push ebx
test edi, edi
setne cl
neg ecx
mov dword [ebp - 0x2c], ecx
call fcn.004050ac
call esi
call fcn.004050f0
mov edi, eax
call esi
test edi, edi
jl 0x430e17
mov eax, dword [ebp - 0x28]
push 0
push 0
lea edx, [ebp - 0x24]
push 0
push edx
push 0
push eax
mov dword [ebp - 0x18], 0
call fcn.0040522c
call esi
xor ebx, ebx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x430e17
push eax
call fcn.004050ac
call esi
push 0x430e33
jmp 0x430e32
ret