Function at 0x50ff60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x412026
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], 0x4028e0
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 dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 4
mov word [0x5e02f2], 0
mov dword [ebp - 4], 5
mov word [0x5e0248], 0
mov dword [ebp - 4], 6
mov word [0x5e02f8], 0
mov dword [ebp - 4], 7
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
mov dword [ebp - 0xe4], 0x43f454
mov dword [ebp - 0xec], 0x8008
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0x110], ax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx edx, word [ebp - 0x110]
test edx, edx
je 0x5100a2
mov dword [ebp - 4], 8
mov word [0x5e0266], 0x3c
jmp 0x5100b2
mov dword [ebp - 4], 0xa
mov word [0x5e0266], 1
mov dword [ebp - 4], 0xc
mov ax, word [0x5e0266]
mov word [ebp - 0x114], ax
movsx ecx, word [ebp - 0x114]
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x130], 0x64
ja case.0x5100ee.13
mov eax, dword [ebp - 0x130]
xor edx, edx
mov dl, byte [eax + 0x511a60]
jmp dword [edx*4 + 0x511a28]
mov dword [ebp - 4], 0xe
cmp word [0x5e024a], 0
jle 0x5101ca
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x51012c
jmp 0x51107c
mov dword [ebp - 4], 0x10
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x510149
jmp 0x511339
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x510166
jmp 0x511108
mov dword [ebp - 4], 0x12
call fcn.005d6270
mov word [ebp - 0xe4], ax
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x13
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0x800b
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x5101ca
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x17
mov word [0x5e02f2], 0xffff
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x5101f7
jmp 0x511339
mov dword [ebp - 4], 0x19
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x510214
jmp 0x511108
mov dword [ebp - 4], 0x1a
movsx eax, word [0x5e065e]
test eax, eax
jne 0x510284
mov dword [ebp - 4], 0x1b
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x510243
jmp 0x510d70
mov dword [ebp - 4], 0x1c
cmp word [0x5e024a], 0
jle 0x510271
mov dword [ebp - 4], 0x1d
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x510271
jmp 0x510b16
mov dword [ebp - 4], 0x1f
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x22
mov word [0x5e02f2], 0xffff
mov dword [ebp - 4], 0x23
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x5102b6
jmp 0x511339
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x5102d3
jmp 0x511108
mov dword [ebp - 4], 0x25
cmp word [0x5e024a], 0
jle 0x510348
mov dword [ebp - 4], 0x26
call fcn.005d6270
mov word [ebp - 0xe4], ax
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x27
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0x800b
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x510348
jmp case.0x5100ee.13
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x2c
mov word [0x5e02f2], 0xffff
mov dword [ebp - 4], 0x2d
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x51037a
jmp 0x511108
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x2f
mov word [0x5e02f2], 0xffff
mov dword [ebp - 4], 0x30
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x5103ac
jmp 0x510d70
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x32
mov word [0x5e02f2], 0xffff
mov dword [ebp - 4], 0x33
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x5103de
jmp 0x510b16
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x35
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x510400
jmp 0x51107c
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x37
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x510422
jmp 0x510662
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x39
mov word [0x5e02f2], 0xffff
mov dword [ebp - 4], 0x3a
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x510454
jmp 0x5108bc
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x3c
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov dword [ebp - 4], 0x3d
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0x800b
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x5104af
mov dword [ebp - 4], 0x3e
mov word [0x5e0248], 0x2648
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x41
call fcn.005d6270
mov word [ebp - 0xe4], ax
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x43
cmp word [0x5e02ca], 3
jne 0x510558
mov dword [ebp - 4], 0x44
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0x800b
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x510556
mov dword [ebp - 4], 0x45
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp 0x5105c7
mov dword [ebp - 4], 0x48
mov dword [ebp - 0xe4], 0x43f4ec
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xbc]
push edx
call fcn.0053fb00
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x49
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x4c
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0x800b
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x510629
mov dword [ebp - 4], 0x4d
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x50
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne case.0x5100ee.13
jmp 0x51107c
mov dword [ebp - 4], 0x53
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov word [ebp - 0x54], ax
jmp 0x511973
mov dword [ebp - 4], 0x56
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0xe4], 0x43f534
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.005198c0
mov word [ebp - 0x104], ax
mov dword [ebp - 0x10c], 2
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xbc]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x57
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0x8002
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x51073a
mov dword [ebp - 4], 0x58
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x5a
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xec], 0x8002
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x510772
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x5d
push 1
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseBstr]
mov edx, eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x43f550
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x110], ax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xa8]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx eax, word [ebp - 0x110]
test eax, eax
je 0x5107f5
mov dword [ebp - 4], 0x5e
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x60
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xbc], 2
lea edx, [ebp - 0xbc]
push edx
call fcn.0050f970
xor ecx, ecx
cmp ax, 0xffff
setne cl
neg ecx
mov word [ebp - 0x110], cx
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx edx, word [ebp - 0x110]
test edx, edx
je 0x510859
mov dword [ebp - 4], 0x61
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x63
mov word [0x5e0248], 0x64
mov dword [ebp - 4], 0x64
mov word [0x5e02d2], 1
mov dword [ebp - 4], 0x65
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x69
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0xe4], 0x43f568
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.005198c0
mov word [ebp - 0x104], ax
mov dword [ebp - 0x10c], 2
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xbc]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x6a
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0x8002
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x510994
mov dword [ebp - 4], 0x6b
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x6d
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xec], 0x8002
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x5109cc
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x70
push 1
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseBstr]
mov edx, eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x43f550
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x110], ax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xa8]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx eax, word [ebp - 0x110]
test eax, eax
je 0x510a4f
mov dword [ebp - 4], 0x71
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x73
mov word [0x5e0248], 0x5b
mov dword [ebp - 4], 0x74
mov word [0x5e02d2], 1
mov dword [ebp - 4], 0x75
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xbc], 2
lea edx, [ebp - 0xbc]
push edx
call fcn.0050f970
xor ecx, ecx
cmp ax, 0xffff
setne cl
neg ecx
mov word [ebp - 0x110], cx
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx edx, word [ebp - 0x110]
test edx, edx
je 0x510ad3
mov dword [ebp - 4], 0x76
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x78
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x7c
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0xe4], 0x43f584
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.005198c0
mov word [ebp - 0x104], ax
mov dword [ebp - 0x10c], 2
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xbc]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x7d
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0x8002
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x510bee
mov dword [ebp - 4], 0x7e
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x80
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xec], 0x8002
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x510c26
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x83
push 1
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseBstr]
mov edx, eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x43f550
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x110], ax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xa8]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx eax, word [ebp - 0x110]
test eax, eax
je 0x510ca9
mov dword [ebp - 4], 0x84
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x86
mov word [0x5e0248], 0x5a
mov dword [ebp - 4], 0x87
mov word [0x5e02d2], 1
mov dword [ebp - 4], 0x88
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xbc], 2
lea edx, [ebp - 0xbc]
push edx
call fcn.0050f970
xor ecx, ecx
cmp ax, 0xffff
setne cl
neg ecx
mov word [ebp - 0x110], cx
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx edx, word [ebp - 0x110]
test edx, edx
je 0x510d2d
mov dword [ebp - 4], 0x89
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x8b
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x8f
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0xe4], 0x43f5a0
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.005198c0
mov word [ebp - 0x104], ax
mov dword [ebp - 0x10c], 2
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xbc]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x90
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0x8002
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x510e48
mov dword [ebp - 4], 0x91
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x93
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xec], 0x8002
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x510e80
jmp case.0x5100ee.13
mov dword [ebp - 4], 0x96
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
mov dword [ebp - 0xe4], 0x43f5bc
mov dword [ebp - 0xec], 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xfc], 0x8002
push 1
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0x110], ax
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xbc]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx ecx, word [ebp - 0x110]
test ecx, ecx
je 0x510f2c
mov dword [ebp - 4], 0x97
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x99
mov word [0x5e0248], 0x50
mov dword [ebp - 4], 0x9a
mov word [0x5e02d2], 4
mov dword [ebp - 4], 0x9b
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 4
jae 0x510f72
mov dword [ebp - 0x134], 0
jmp 0x510f7e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x134], eax
push 0x43f5d4
mov eax, dword [ebp - 0x110]
mov ecx, dword [0x5e02e4]
lea edx, [ecx + eax*4]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov dword [ebp - 4], 0x9c
mov dword [ebp - 0x110], 1
cmp dword [ebp - 0x110], 4
jae 0x510fc1
mov dword [ebp - 0x138], 0
jmp 0x510fcd
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x138], eax
push 0x43f5e0
mov eax, dword [ebp - 0x110]
mov ecx, dword [0x5e02e4]
lea edx, [ecx + eax*4]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov dword [ebp - 4], 0x9d
mov dword [ebp - 0x110], 2
cmp dword [ebp - 0x110], 4
jae 0x511010
mov dword [ebp - 0x13c], 0
jmp 0x51101c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x13c], eax
push 0x43f5ec
mov eax, dword [ebp - 0x110]
mov ecx, dword [0x5e02e4]
lea edx, [ecx + eax*4]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov dword [ebp - 4], 0x9e
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0xa2
call fcn.0050f560
mov word [ebp - 0xe4], ax
mov dword [ebp - 0xec], 2
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0xa3
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0x800b
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x5110e0
jmp case.0x5100ee.13
mov dword [ebp - 4], 0xa6
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0xa7
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0xa9
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0xe4], 0x43f5f8
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xbc]
push edx
call fcn.005198c0
mov word [ebp - 0x104], ax
mov dword [ebp - 0x10c], 2
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xaa
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0x8002
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x5111e0
mov dword [ebp - 4], 0xab
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0xad
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xec], 0x8002
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x511218
jmp case.0x5100ee.13
mov dword [ebp - 4], 0xb0
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseBstr]
mov edx, eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x43f3f4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x110], ax
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xa8]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx ecx, word [ebp - 0x110]
test ecx, ecx
je 0x51129b
mov dword [ebp - 4], 0xb1
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0xb3
call fcn.00513dd0
mov dword [ebp - 4], 0xb4
cmp word [0x5e02ca], 3
je 0x5112c2
cmp word [0x5e02f2], 0xffff
jne 0x5112d6
mov dword [ebp - 4], 0xb5
push 0x32
call fcn.0043d8b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xb7
mov word [0x5e0248], 0x14
mov dword [ebp - 4], 0xb8
mov word [0x5e02d2], 1
mov dword [ebp - 4], 0xb9
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0xbd
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0xe4], 0x43f614
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.005198c0
mov word [ebp - 0x104], ax
mov dword [ebp - 0x10c], 2
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xbc]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xbe
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0x8002
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x511411
mov dword [ebp - 4], 0xbf
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0xc1
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xec], 0x8002
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x511449
jmp case.0x5100ee.13
mov dword [ebp - 4], 0xc4
xor ecx, ecx
cmp word [0x5e02ca], 3
sete cl
neg ecx
mov word [ebp - 0xf4], cx
mov dword [ebp - 0xfc], 0xb
mov dword [ebp - 0xe4], 0x43d2bc
mov dword [ebp - 0xec], 0x8008
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0xbc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0x110], ax
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0x110]
test ecx, ecx
je 0x5115ea
mov dword [ebp - 4], 0xc5
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0xe4], 0x43f614
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.005198c0
mov word [ebp - 0x104], ax
mov dword [ebp - 0x10c], 2
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xbc]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xc6
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0x8002
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x5115b2
mov dword [ebp - 4], 0xc7
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0xc9
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xec], 0x8002
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x5115ea
jmp case.0x5100ee.13
mov dword [ebp - 4], 0xcd
push 1
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseBstr]
mov edx, eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x43f3f4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
neg eax
sbb eax, eax
neg eax
neg eax
mov word [ebp - 0x110], ax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xa8]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx eax, word [ebp - 0x110]
test eax, eax
je 0x51178a
mov dword [ebp - 4], 0xce
mov word [0x5e0248], 1
mov dword [ebp - 4], 0xcf
mov word [0x5e02d2], 1
mov dword [ebp - 4], 0xd0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xbc], 2
lea ecx, [ebp - 0xbc]
push ecx
call fcn.0050f970
xor edx, edx
cmp ax, 0xffff
setne dl
neg edx
mov word [ebp - 0x110], dx
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx eax, word [ebp - 0x110]
test eax, eax
je 0x511756
mov dword [ebp - 4], 0xd1
mov word [0x5e02f8], 1
mov dword [ebp - 4], 0xd2
mov dword [ebp - 0xb4], 0x15
mov dword [ebp - 0xbc], 2
lea ecx, [ebp - 0xbc]
push ecx
call fcn.0050f970
xor edx, edx
cmp ax, 0xffff
setne dl
neg edx
mov word [ebp - 0x110], dx
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx eax, word [ebp - 0x110]
test eax, eax
je 0x511756
mov dword [ebp - 4], 0xd3
mov word [0x5e02f8], 0
mov dword [ebp - 4], 0xd4
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0xd7
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0xd9
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
mov dword [ebp - 0xe4], 0x43f630
mov dword [ebp - 0xec], 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xfc], 0x8002
push 1
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
lea ecx, [ebp - 0xfc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov word [ebp - 0x110], ax
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xbc]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx ecx, word [ebp - 0x110]
test ecx, ecx
je 0x51195f
mov dword [ebp - 4], 0xda
mov word [0x5e0248], 0xa
mov dword [ebp - 4], 0xdb
mov word [0x5e02d2], 4
mov dword [ebp - 4], 0xdc
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 4
jae 0x51186c
mov dword [ebp - 0x140], 0
jmp 0x511878
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x140], eax
push 0x43f5d4
mov edx, dword [ebp - 0x110]
mov eax, dword [0x5e02e4]
lea ecx, [eax + edx*4]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov dword [ebp - 4], 0xdd
mov dword [ebp - 0x110], 1
cmp dword [ebp - 0x110], 4
jae 0x5118ba
mov dword [ebp - 0x144], 0
jmp 0x5118c6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x144], eax
push 0x43f64c
mov edx, dword [ebp - 0x110]
mov eax, dword [0x5e02e4]
lea ecx, [eax + edx*4]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov dword [ebp - 4], 0xde
mov dword [ebp - 0x110], 2
cmp dword [ebp - 0x110], 4
jae 0x511908
mov dword [ebp - 0x148], 0
jmp 0x511914
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x148], eax
push 0x43f658
mov edx, dword [ebp - 0x110]
mov eax, dword [0x5e02e4]
lea ecx, [eax + edx*4]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
mov dword [ebp - 4], 0xdf
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp case.0x5100ee.13
mov dword [ebp - 4], 0xe2
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
push 0x511a13
jmp 0x5119b4
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x94]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubFree]
ret