Function at 0x496ef0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405556
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402e90
mov ecx, 0x24
xor eax, eax
lea edi, [ebp - 0xa0]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa4], esi
cmp edi, esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], esi
jne 0x496f67
cmp byte [0x54ecd5], 2
jne 0x496f61
movsx eax, word [0x54ecdc]
push eax
call fcn.004aec70
jmp 0x497a9d
mov edi, dword [0x55037c]
mov eax, dword [0x54eb74]
mov edx, dword [0x54ef68]
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
cmp edi, 1
lea ebx, [edx + ecx*8]
jl 0x497194
cmp edi, 0x1f
jg 0x497194
cmp byte [0x54eccc], 0x17
jne 0x496fa7
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00494720
jmp 0x497a9d
lea ecx, [edi + edi*8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
shl ecx, 4
lea edx, [ebp - 0xa0]
lea eax, [ecx + ebx]
mov dword [ebp - 0xd8], eax
add eax, 0xf60
push eax
push edx
push 0x41e484
mov dword [ebp - 0xdc], eax
call esi
mov eax, dword [ebp - 0xdc]
push 0x54eccc
push eax
push 0x41e484
call esi
mov ecx, dword [ebp - 0xdc]
cmp byte [ecx], 1
jne 0x49708a
mov edx, dword [ebp - 0xd8]
mov al, byte [edx + 0xf64]
cmp al, 0xc
jne 0x497033
cmp byte [ebx + 0x16b4], 4
jbe 0x49708a
lea eax, [ebx + 0x16b0]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0x41e484
call esi
push 0x54ed5c
lea eax, [ebx + 0x16b0]
jmp 0x497082
cmp al, 4
jbe 0x49708a
cmp word [ebx + 0x1750], 0
jle 0x49708a
cmp word [ebp - 0x90], 0
lea eax, [ebx + 0x1740]
push eax
jne 0x49705b
lea ecx, [ebp - 0xa0]
push ecx
jmp 0x497070
movsx eax, word [0x5505a6]
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x20d0]
push eax
push 0x41e484
call esi
push 0x54ed5c
lea eax, [ebx + 0x1740]
push eax
push 0x41e484
call esi
mov ecx, dword [ebp - 0xdc]
cmp byte [ecx], 6
jne 0x4970d2
cmp byte [ebx + 0x1590], 7
jne 0x4970d2
lea eax, [ebx + 0x1590]
push eax
mov eax, dword [0x55037c]
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x540]
push eax
push 0x41e484
call esi
lea eax, [ebx + 0x1590]
push 0x54ed5c
push eax
push 0x41e484
call esi
mov ecx, dword [ebp - 0xdc]
cmp byte [ecx], 7
jne 0x49712f
cmp byte [ebx + 0x1860], 6
jne 0x49712f
cmp word [ebp - 0x90], 0
lea eax, [ebx + 0x1860]
push eax
jne 0x497100
lea edx, [ebp - 0xa0]
push edx
jmp 0x497115
movsx eax, word [0x5505a6]
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x20d0]
push ecx
push 0x41e484
call esi
lea eax, [ebx + 0x1860]
push 0x54ed5c
push eax
push 0x41e484
call esi
mov edx, dword [ebp - 0xdc]
cmp byte [edx], 2
jne 0x4979c7
cmp byte [ebx + 0x16b4], 4
jbe 0x4979c7
mov ecx, dword [0x55037c]
cmp ecx, 0x31
jle 0x4979c7
lea eax, [ebx + 0x16b0]
mov dword [ebp - 0xe0], eax
push eax
lea eax, [ecx + ecx*8]
shl eax, 4
lea ecx, [eax + ebx + 0x540]
push ecx
push 0x41e484
call esi
mov edx, dword [ebp - 0xe0]
push 0x54ed5c
push edx
push 0x41e484
call esi
jmp 0x4979c7
cmp edi, 0x29
jne 0x4971f5
push 0xffffffffffffffff
push 0x54eccc
call fcn.004644f0
test ax, ax
je 0x4971eb
dec dword [0x54ed20]
call fcn.00496e80
cmp byte [0x54ecce], 0x1a
jne 0x4971cf
mov ax, word [0x54ecdc]
push eax
call fcn.00479a50
jmp 0x4979c1
mov eax, dword [0x54eb2c]
push 0x15
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x4979c1
jmp 0x4979ac
call fcn.00496e80
jmp 0x4979c1
cmp edi, 0x2a
je 0x497999
cmp edi, 0x2b
je 0x497999
cmp edi, 0x2c
jne 0x497279
mov al, byte [0x54eccd]
push esi
push eax
call fcn.00539df0
push pe_nt_image_headers32
lea ecx, [ebp - 0xac]
push 1
lea edx, [ebp - 0xa8]
push ecx
push edx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], eax
call fcn.00496db0
mov eax, dword [0x54ed20]
dec eax
cmp eax, esi
mov dword [0x54ed20], eax
jle 0x497a9d
mov eax, dword [0x55037c]
push 0x54eccc
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e484
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x497a9d
cmp edi, 0x2d
jne 0x4972f1
mov dl, byte [0x54eccd]
push 0xffffffffffffffff
push edx
call fcn.00539df0
mov dword [ebp - 0xa8], eax
push pe_nt_image_headers32
lea eax, [ebp - 0xac]
push 1
lea ecx, [ebp - 0xa8]
push eax
push ecx
mov dword [ebp - 0xac], 0xffffffff
call fcn.00496db0
mov eax, dword [0x54ed20]
dec eax
cmp eax, esi
mov dword [0x54ed20], eax
jle 0x497a9d
mov eax, dword [0x55037c]
push 0x54eccc
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x2f70]
push eax
push 0x41e484
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x497a9d
cmp edi, 0x2e
jne 0x4974f4
mov al, byte [0x54eccd]
cmp al, 9
jne 0x49730d
call fcn.0049adf0
jmp 0x4974b9
cmp al, 0xcd
jne 0x4973b0
mov al, byte [ebx + 0x3fd]
test al, al
jbe 0x49738a
mov eax, dword [0x54eb2c]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x497347
mov edx, dword [0x54eb2c]
push 0x60
push 0x421fa4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x54ed20]
dec eax
cmp eax, esi
mov dword [0x54ed20], eax
jle 0x497379
mov eax, dword [0x55037c]
push 0x54eccc
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e484
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
push 0xffffffffffffffff
push 0x3b9ac9ff
call fcn.00461250
jmp 0x497a9d
push pe_nt_image_headers32
lea edx, [ebp - 0xac]
push 1
lea eax, [ebp - 0xa8]
push edx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
push eax
jmp 0x4974b4
cmp al, 0xce
jne 0x49743e
push esi
call fcn.00479b30
test ax, ax
je 0x497430
mov eax, dword [0x54eb2c]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x4973eb
mov edx, dword [0x54eb2c]
push 0x60
push 0x421fa4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x54ed20]
dec eax
cmp eax, esi
mov dword [0x54ed20], eax
jle 0x49741d
mov eax, dword [0x55037c]
push 0x54eccc
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e484
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
movzx dx, byte [0x54ecd2]
push edx
call fcn.00479b30
jmp 0x497a9d
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
jmp 0x49749f
cmp al, 0xd0
jne 0x49745f
dec dword [0x54ed20]
call fcn.00496e80
movsx edx, word [0x54ecdc]
push edx
call fcn.004a5410
jmp 0x497a9d
cmp al, 0xd1
mov dword [ebp - 0xac], esi
jne 0x497493
movsx eax, word [0x54ecdc]
push eax
call fcn.004d8460
push pe_nt_image_headers32
lea ecx, [ebp - 0xac]
push 1
lea edx, [ebp - 0xa8]
push ecx
mov dword [ebp - 0xa8], eax
push edx
jmp 0x4974b4
push eax
call fcn.004965a0
mov dword [ebp - 0xa8], eax
push pe_nt_image_headers32
lea eax, [ebp - 0xac]
push 1
lea ecx, [ebp - 0xa8]
push eax
push ecx
call fcn.00496db0
mov eax, dword [0x54ed20]
dec eax
cmp eax, esi
mov dword [0x54ed20], eax
jle 0x497a9d
mov eax, dword [0x55037c]
push 0x54eccc
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x2f70]
push eax
push 0x41e484
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x497a9d
cmp edi, 0x2f
jne 0x49750d
push 0x54eccc
call fcn.00496c20
call fcn.00496e80
jmp 0x497a9d
cmp edi, 0x30
jne 0x497569
mov al, byte [0x54ecd2]
push esi
cmp al, 0xfe
push 0x54eccc
jne 0x497530
call fcn.00496af0
call fcn.00496e80
jmp 0x497a9d
call fcn.00496af0
push pe_nt_image_headers32
lea ecx, [ebp - 0xac]
push 1
lea edx, [ebp - 0xa8]
push ecx
push edx
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0xa8], eax
call fcn.00496db0
call fcn.00496e80
jmp 0x497a9d
cmp edi, 0x31
jne 0x4975ad
mov eax, dword [0x55037c]
push 0x54eccc
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x59a0]
push ecx
push 0x41e484
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
movzx dx, byte [0x54eccd]
push 6
push edx
call fcn.004c1b20
push 0xd
call fcn.004308e0
jmp 0x497a9d
cmp edi, 0x32
jl 0x497651
cmp edi, 0x7c
jg 0x497651
cmp byte [0x54ecd5], 1
jne 0x4975cf
mov byte [0x54ecd5], 0
push esi
push 0x54eccc
call fcn.004923e0
mov al, byte [0x54eccf]
test al, al
jne 0x4975fa
lea eax, [edi + edi*8]
lea ecx, [ebp - 0xa0]
shl eax, 4
lea ebx, [eax + ebx + 0x540]
push ebx
push ecx
jmp 0x497632
cmp al, 1
jne 0x497615
lea edx, [edi + edi*8]
lea eax, [ebp - 0xa0]
shl edx, 4
lea ebx, [edx + ebx + 0x2f70]
push ebx
push eax
jmp 0x497632
cmp al, 2
jne 0x4979c1
lea ecx, [edi + edi*8]
lea edx, [ebp - 0xa0]
shl ecx, 4
lea ebx, [ecx + ebx + 0x59a0]
push ebx
push edx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
push 0x41e484
call esi
push 0x54eccc
push ebx
push 0x41e484
call esi
jmp 0x4979c7
cmp edi, 0x7d
jl 0x49776d
cmp edi, 0xc7
jg 0x49776d
mov al, byte [0x54eccf]
test al, al
jne 0x4976d6
mov ecx, dword [0x54ef74]
mov esi, dword [0x550374]
mov eax, edi
mov ebx, dword [ecx + 0x14]
sub eax, ebx
mov ebx, dword [ecx + 0xc]
sub eax, esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
lea ecx, [ebp - 0xa0]
lea eax, [eax + eax*8]
shl eax, 4
add eax, ebx
push eax
push ecx
push 0x41e484
call esi
mov ecx, dword [0x54ef74]
push 0x54eccc
mov eax, edi
mov ebx, dword [ecx + 0x14]
mov edx, dword [0x550374]
sub eax, ebx
mov ebx, dword [ecx + 0xc]
sub eax, edx
lea edx, [eax + eax*8]
shl edx, 4
add edx, ebx
push edx
push 0x41e484
call esi
jmp 0x4979c7
cmp al, 1
jne 0x49771e
mov ecx, dword [0x54ef78]
mov esi, dword [0x550374]
mov eax, edi
mov ebx, dword [ecx + 0x14]
sub eax, ebx
mov ebx, dword [ecx + 0xc]
sub eax, esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
lea ecx, [ebp - 0xa0]
lea eax, [eax + eax*8]
shl eax, 4
add eax, ebx
push eax
push ecx
push 0x41e484
call esi
mov ecx, dword [0x54ef78]
push 0x54eccc
mov eax, edi
jmp 0x4976b1
cmp al, 2
jne 0x4979c1
mov ecx, dword [0x54ef7c]
mov esi, dword [0x550374]
mov eax, edi
mov ebx, dword [ecx + 0x14]
sub eax, ebx
mov ebx, dword [ecx + 0xc]
sub eax, esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
lea ecx, [ebp - 0xa0]
lea eax, [eax + eax*8]
shl eax, 4
add eax, ebx
push eax
push ecx
push 0x41e484
call esi
mov ecx, dword [0x54ef7c]
push 0x54eccc
mov eax, edi
jmp 0x4976b1
cmp edi, 0xc8
jne 0x4977a9
push edi
lea eax, [ebp - 0xac]
push esi
lea ecx, [ebp - 0xa8]
push eax
push ecx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], 0xffffffff
call fcn.00496db0
push 0x54eccc
call fcn.00495450
jmp 0x497a9d
cmp edi, 0xc9
jl 0x497843
cmp edi, 0xe1
jg 0x497843
cmp byte [0x54ecd5], 3
jne 0x4977dc
mov edx, dword [0x55037c]
add edx, 0xffffff1f
push edx
call fcn.004aed10
mov eax, dword [0x5503e8]
lea ebx, [edi + edi*8 - 0x711]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
lea ecx, [ebp - 0xa0]
shl ebx, 4
add eax, ebx
push eax
push ecx
push 0x41e484
call esi
mov edx, dword [0x5503e8]
push 0x54eccc
add edx, ebx
push edx
push 0x41e484
call esi
mov ecx, dword [0x5503e8]
lea eax, [edi + edi*8]
shl eax, 4
lea eax, [eax + ecx - 0x7107]
cmp byte [eax], 0
jne 0x497832
mov byte [eax], 1
cmp byte [eax], 3
jne 0x4979c7
mov byte [eax], 2
jmp 0x4979c7
cmp edi, 0xe2
jl 0x49786d
cmp edi, 0xff
jg 0x49786d
cmp word [0x54ecdc], 2
jne 0x4979c1
push 2
call fcn.004aec70
jmp 0x4979c1
cmp edi, 0x100
jl 0x4979c1
cmp edi, 0x14a
jg 0x4979c1
call fcn.004bb7c0
mov dword [0x54ed28], eax
mov al, byte [0x54eccf]
test al, al
jne 0x4978dc
mov ecx, dword [0x54f4a8]
mov eax, edi
mov esi, dword [ecx + 0x14]
mov ebx, dword [ecx + 0xc]
sub eax, esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
sub eax, 0xff
lea edx, [eax + eax*8]
lea eax, [ebp - 0xa0]
shl edx, 4
add edx, ebx
push edx
push eax
push 0x41e484
call esi
mov ecx, dword [0x54f4a8]
push 0x54eccc
mov eax, edi
jmp 0x497964
cmp al, 1
jne 0x497921
mov ecx, dword [0x54f4ac]
mov eax, edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
mov ebx, dword [ecx + 0x14]
sub eax, ebx
mov ebx, dword [ecx + 0xc]
sub eax, 0xff
lea ecx, [ebp - 0xa0]
lea eax, [eax + eax*8]
shl eax, 4
add eax, ebx
push eax
push ecx
push 0x41e484
call esi
mov ecx, dword [0x54f4ac]
push 0x54eccc
mov eax, edi
jmp 0x497964
cmp al, 2
jne 0x49798a
mov ecx, dword [0x54f4b0]
mov eax, edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
mov ebx, dword [ecx + 0x14]
sub eax, ebx
mov ebx, dword [ecx + 0xc]
sub eax, 0xff
lea ecx, [ebp - 0xa0]
lea eax, [eax + eax*8]
shl eax, 4
add eax, ebx
push eax
push ecx
push 0x41e484
call esi
mov ecx, dword [0x54f4b0]
push 0x54eccc
mov eax, edi
mov ebx, dword [ecx + 0x14]
sub eax, ebx
mov ebx, dword [ecx + 0xc]
sub eax, 0xff
lea edx, [eax + eax*8]
shl edx, 4
add edx, ebx
push edx
push 0x41e484
call esi
mov dword [ebp - 0x44], 0
jmp 0x4979c7
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
mov dword [ebp - 0x44], 0
jmp 0x4979c7
mov eax, dword [0x54eb2c]
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x4979c1
mov edx, dword [0x54eb2c]
push 0x60
push 0x421fa4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x497a96
mov ax, word [ebp - 0x90]
test ax, ax
je 0x497a96
cmp word [0x54ecdc], ax
jne 0x497a40
cmp byte [0x54eccc], 0x12
jbe 0x497a5f
mov al, byte [0x54ecd5]
test al, al
je 0x497a35
cmp al, 1
je 0x497a35
cmp al, 2
jne 0x497a10
cmp byte [ebp - 0x97], 2
jne 0x497a5f
jmp 0x497a1d
cmp al, 3
jne 0x497a5f
cmp byte [ebp - 0x97], 1
jbe 0x497a5f
mov eax, dword [ebp - 0x4c]
mov ecx, dword [0x54ed20]
mov edx, dword [ebp + 0xc]
add ecx, eax
push ecx
push edx
push edi
call fcn.00495fa0
jmp 0x497a9d
cmp byte [ebp - 0x97], 2
jae 0x497a5f
jmp 0x497a1d
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x55037c]
push eax
push ecx
call fcn.00496110
movsx ebx, ax
test ebx, ebx
jle 0x497a65
add ebx, dword [0x54ed20]
jmp 0x497a65
mov ebx, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
push edx
push 0x54eccc
push 0x41e484
call esi
mov esi, dword [ebp + 0xc]
mov eax, dword [0x55037c]
push edi
push esi
push eax
call fcn.00496ef0
test ebx, ebx
jle 0x497a9d
push ebx
push esi
push edi
call fcn.00495fa0
jmp 0x497a9d
push 0
call fcn.004925c0
push 0x497ab5
lea ecx, [ebp - 0xa0]
push ecx
push 0x41e484
call dword [sym.imp.MSVBVM60.DLL___vbaRecDestruct]
ret