Function at 0x417fad
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x4013e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x40
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401378
push 0
push 0x2d
push 1
push 0x11
push 0x41a1a0
push 1
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov cx, 0x44
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x69
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 1
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x73
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 2
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x63
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 3
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x6f
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 4
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x6e
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 5
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x74
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 6
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x65
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 7
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x6e
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 8
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x74
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 9
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x65
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0xa
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x64
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0xb
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x37
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0xc
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x41
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0xd
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4e
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0xe
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4b
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0xf
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4f
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x10
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4c
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x11
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x54
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x12
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x56
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x13
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4b
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x14
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4c
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x15
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x53
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x16
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x5a
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x17
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x56
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x18
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x46
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x19
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x51
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x1a
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x48
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x1b
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x56
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x1c
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x52
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x1d
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4a
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x1e
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x43
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x1f
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x43
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x20
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x42
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x21
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x45
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x22
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x5a
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x23
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x50
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x24
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x59
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x25
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x58
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x26
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x42
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x27
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x44
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x28
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x50
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x29
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x5a
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x2a
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x55
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x2b
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4a
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x2c
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
mov cx, 0x4d
call sub.MSVBVM60.DLL___vbaUI1I2
mov bl, al
push 0x2d
push dword [0x41a1a0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov byte [eax], bl
cmp dword [0x41a178], 0
jne 0x4184c3
push 0x41a178
push 0x40176c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x34], 0x41a178
jmp 0x4184ca
mov dword [ebp - 0x34], 0x41a178
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x41a18c
mov dword [ebp - 0x24], 0x6011
mov edx, 0x4095a4
lea ecx, [ebp - 0x14]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
push dword [ebp - 0x28]
call dword [eax + 0x20]
fnclex
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x418522
push 0x20
push 0x405630
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x38], eax
jmp 0x418526
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x14]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [0x41a178], 0
jne 0x41854f
push 0x41a178
push 0x40176c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x3c], 0x41a178
jmp 0x418556
mov dword [ebp - 0x3c], 0x41a178
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x80020004
mov dword [ebp - 0x24], 0xa
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x24]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x41a1a0
push 0x41a18c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
push dword [ebp - 0x28]
call dword [eax + 0x48]
fnclex
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4185b4
push 0x48
push 0x405630
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x40], eax
jmp 0x4185b8
and dword [ebp - 0x40], 0
cmp dword [0x41a178], 0
jne 0x4185d9
push 0x41a178
push 0x40176c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x44], 0x41a178
jmp 0x4185e0
mov dword [ebp - 0x44], 0x41a178
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x41a1c4
mov dword [ebp - 0x24], 0x6011
mov edx, 0x4093d4
lea ecx, [ebp - 0x14]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
push dword [ebp - 0x28]
call dword [eax + 0x20]
fnclex
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x418638
push 0x20
push 0x405630
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x48], eax
jmp 0x41863c
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x14]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [0x41a178], 0
jne 0x418665
push 0x41a178
push 0x40176c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x4c], 0x41a178
jmp 0x41866c
mov dword [ebp - 0x4c], 0x41a178
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x80020004
mov dword [ebp - 0x24], 0xa
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x24]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x41a1a0
push 0x41a1c4
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
push dword [ebp - 0x28]
call dword [eax + 0x48]
fnclex
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4186ca
push 0x48
push 0x405630
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x50], eax
jmp 0x4186ce
and dword [ebp - 0x50], 0
push 0x4186df
jmp 0x4186de
ret