Function at 0x53adb8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xf4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401350
push 0
push 0xffffffffffffffff
push 1
push 0x51a33c
push 0x51a334
mov eax, dword [ebp + 0xc]
push dword [eax]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
mov ecx, dword [ebp + 0xc]
call sub.MSVBVM60.DLL___vbaStrMove
push 0
push 0x18
push 1
push 2
lea eax, [ebp - 0x18]
push eax
push 2
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push 0
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x59
push 1
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x57
push 2
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x5a
push 3
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x4c
push 4
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x50
push 5
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x46
push 6
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x52
push 7
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x46
push 8
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x5a
push 9
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x43
push 0xa
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x52
push 0xb
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x4f
push 0xc
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x4d
push 0xd
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x4e
push 0xe
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x53
push 0xf
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x51
push 0x10
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x55
push 0x11
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x47
push 0x12
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x47
push 0x13
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x52
push 0x14
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x45
push 0x15
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x41
push 0x16
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x4c
push 0x17
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x4a
push 0x18
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov word [eax], 0x44
cmp dword [0x56919c], 0
jne 0x53afc2
push 0x56919c
push 0x401a40
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xd4], 0x56919c
jmp 0x53afcc
mov dword [ebp - 0xd4], 0x56919c
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
push dword [ebp - 0xac]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jge 0x53b026
push 0x24
push 0x401e08
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xd8], eax
jmp 0x53b02d
and dword [ebp - 0xd8], 0
push 0
mov eax, dword [ebp - 0xa8]
cdq
idiv dword [0x5690b0]
sub eax, dword [0x569154]
jo 0x53b726
push eax
push 1
push 0x11
push dword [ebp + 0x10]
push 1
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
cmp dword [0x56919c], 0
jne 0x53b083
push 0x56919c
push 0x401a40
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xdc], 0x56919c
jmp 0x53b08d
mov dword [ebp - 0xdc], 0x56919c
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
push dword [ebp - 0xac]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jge 0x53b0e7
push 0x24
push 0x401e08
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xe0], eax
jmp 0x53b0ee
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], eax
mov eax, dword [0x5690b0]
mov dword [ebp - 0xbc], eax
mov eax, dword [0x569154]
mov dword [ebp - 0x1c], eax
jmp 0x53b121
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xbc]
jo 0x53b726
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xbc]
sar eax, 0x1f
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xbc]
sar ecx, 0x1f
xor ecx, dword [ebp - 0xc0]
cmp eax, ecx
jg 0x53b605
cmp dword [0x56919c], 0
jne 0x53b168
push 0x56919c
push 0x401a40
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xe4], 0x56919c
jmp 0x53b172
mov dword [ebp - 0xe4], 0x56919c
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 0x4003
lea eax, [ebp - 0x50]
push eax
push 0x569154
lea eax, [ebp - 0x94]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
push dword [ebp - 0xac]
call dword [eax + 0x34]
fnclex
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jge 0x53b1e8
push 0x34
push 0x401e08
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xe8], eax
jmp 0x53b1ef
and dword [ebp - 0xe8], 0
cmp dword [0x56919c], 0
jne 0x53b213
push 0x56919c
push 0x401a40
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xec], 0x56919c
jmp 0x53b21d
mov dword [ebp - 0xec], 0x56919c
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xcc], eax
and dword [ebp - 0x50], 0
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
push dword [ebp - 0xb4]
call dword [eax + 0x30]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x53b290
push 0x30
push 0x401e08
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf0], eax
jmp 0x53b297
and dword [ebp - 0xf0], 0
mov eax, dword [0x56904c]
add eax, dword [0x569260]
jo 0x53b726
add eax, dword [0x569148]
jo 0x53b726
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL___vbaVarSub
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaVarMove
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeVar
cmp dword [0x56919c], 0
jne 0x53b316
push 0x56919c
push 0x401a40
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xf4], 0x56919c
jmp 0x53b320
mov dword [ebp - 0xf4], 0x56919c
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [0x569154]
jo 0x53b726
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], 3
lea eax, [ebp - 0x50]
push eax
push 0x569154
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
push dword [ebp - 0xac]
call dword [eax + 0x34]
fnclex
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jge 0x53b399
push 0x34
push 0x401e08
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf8], eax
jmp 0x53b3a0
and dword [ebp - 0xf8], 0
cmp dword [0x56919c], 0
jne 0x53b3c4
push 0x56919c
push 0x401a40
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xfc], 0x56919c
jmp 0x53b3ce
mov dword [ebp - 0xfc], 0x56919c
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xd0], eax
and dword [ebp - 0x50], 0
mov edx, dword [ebp - 0xd0]
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
push dword [ebp - 0xb4]
call dword [eax + 0x30]
fnclex
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jge 0x53b441
push 0x30
push 0x401e08
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x100], eax
jmp 0x53b448
and dword [ebp - 0x100], 0
mov eax, dword [0x56904c]
add eax, dword [0x569260]
jo 0x53b726
add eax, dword [0x569148]
jo 0x53b726
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x84]
push eax
call sub.MSVBVM60.DLL___vbaVarSub
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaVarMove
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov eax, dword [0x5691d4]
add eax, dword [0x569154]
jo 0x53b726
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 0x8003
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM60.DLL___vbaVarTstGt
movsx eax, ax
test eax, eax
je 0x53b527
mov eax, dword [0x569054]
add eax, dword [0x569148]
jo 0x53b726
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaVarSub
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [0x5691d4]
add eax, dword [0x569154]
jo 0x53b726
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 0x8003
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM60.DLL___vbaVarTstGt
movsx eax, ax
test eax, eax
je 0x53b59e
mov eax, dword [0x569054]
add eax, dword [0x569148]
jo 0x53b726
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaVarSub
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [0x569260]
add eax, dword [0x569154]
jo 0x53b726
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaVarMul
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL___vbaVarOr
push eax
call sub.MSVBVM60.DLL___vbaUI1Var
mov bl, al
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [0x5690b0]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
jmp 0x53b10f
cmp dword [0x56919c], 0
jne 0x53b629
push 0x56919c
push 0x401a40
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x104], 0x56919c
jmp 0x53b633
mov dword [ebp - 0x104], 0x56919c
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 0x6002
lea eax, [ebp - 0x94]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
push dword [ebp - 0xac]
call dword [eax + 0x3c]
fnclex
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jge 0x53b6a0
push 0x3c
push 0x401e08
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x108], eax
jmp 0x53b6a7
and dword [ebp - 0x108], 0
push 0x53b708
jmp 0x53b6ec
lea eax, [ebp - 0x18]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeVar
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow