Function at 0x4965b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4054c6
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], 0x402e80
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 0x496627
cmp byte [0x549cd5], 2
jne 0x496621
movsx eax, word [0x549cdc]
push eax
call fcn.004ae350
jmp 0x49715d
mov edi, dword [0x54b36c]
mov eax, dword [0x549b74]
mov edx, dword [0x549f68]
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
cmp edi, 1
lea ebx, [edx + ecx*8]
jl 0x496854
cmp edi, 0x1f
jg 0x496854
cmp byte [0x549ccc], 0x17
jne 0x496667
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00493e30
jmp 0x49715d
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 0x41e3b4
mov dword [ebp - 0xdc], eax
call esi
mov eax, dword [ebp - 0xdc]
push 0x549ccc
push eax
push 0x41e3b4
call esi
mov ecx, dword [ebp - 0xdc]
cmp byte [ecx], 1
jne 0x49674a
mov edx, dword [ebp - 0xd8]
mov al, byte [edx + 0xf64]
cmp al, 0xc
jne 0x4966f3
cmp byte [ebx + 0x16b4], 4
jbe 0x49674a
lea eax, [ebx + 0x16b0]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0x41e3b4
call esi
push 0x549d5c
lea eax, [ebx + 0x16b0]
jmp 0x496742
cmp al, 4
jbe 0x49674a
cmp word [ebx + 0x1750], 0
jle 0x49674a
cmp word [ebp - 0x90], 0
lea eax, [ebx + 0x1740]
push eax
jne 0x49671b
lea ecx, [ebp - 0xa0]
push ecx
jmp 0x496730
movsx eax, word [0x54b596]
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x20d0]
push eax
push 0x41e3b4
call esi
push 0x549d5c
lea eax, [ebx + 0x1740]
push eax
push 0x41e3b4
call esi
mov ecx, dword [ebp - 0xdc]
cmp byte [ecx], 6
jne 0x496792
cmp byte [ebx + 0x1590], 7
jne 0x496792
lea eax, [ebx + 0x1590]
push eax
mov eax, dword [0x54b36c]
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x540]
push eax
push 0x41e3b4
call esi
lea eax, [ebx + 0x1590]
push 0x549d5c
push eax
push 0x41e3b4
call esi
mov ecx, dword [ebp - 0xdc]
cmp byte [ecx], 7
jne 0x4967ef
cmp byte [ebx + 0x1860], 6
jne 0x4967ef
cmp word [ebp - 0x90], 0
lea eax, [ebx + 0x1860]
push eax
jne 0x4967c0
lea edx, [ebp - 0xa0]
push edx
jmp 0x4967d5
movsx eax, word [0x54b596]
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x20d0]
push ecx
push 0x41e3b4
call esi
lea eax, [ebx + 0x1860]
push 0x549d5c
push eax
push 0x41e3b4
call esi
mov edx, dword [ebp - 0xdc]
cmp byte [edx], 2
jne 0x497087
cmp byte [ebx + 0x16b4], 4
jbe 0x497087
mov ecx, dword [0x54b36c]
cmp ecx, 0x31
jle 0x497087
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 0x41e3b4
call esi
mov edx, dword [ebp - 0xe0]
push 0x549d5c
push edx
push 0x41e3b4
call esi
jmp 0x497087
cmp edi, 0x29
jne 0x4968b5
push 0xffffffffffffffff
push 0x549ccc
call fcn.00463c10
test ax, ax
je 0x4968ab
dec dword [0x549d20]
call fcn.00496540
cmp byte [0x549cce], 0x1a
jne 0x49688f
mov ax, word [0x549cdc]
push eax
call fcn.00479170
jmp 0x497081
mov eax, dword [0x549b2c]
push 0x15
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x497081
jmp 0x49706c
call fcn.00496540
jmp 0x497081
cmp edi, 0x2a
je 0x497059
cmp edi, 0x2b
je 0x497059
cmp edi, 0x2c
jne 0x496939
mov al, byte [0x549ccd]
push esi
push eax
call fcn.00535520
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.00496470
mov eax, dword [0x549d20]
dec eax
cmp eax, esi
mov dword [0x549d20], eax
jle 0x49715d
mov eax, dword [0x54b36c]
push 0x549ccc
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e3b4
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x49715d
cmp edi, 0x2d
jne 0x4969b1
mov dl, byte [0x549ccd]
push 0xffffffffffffffff
push edx
call fcn.00535520
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.00496470
mov eax, dword [0x549d20]
dec eax
cmp eax, esi
mov dword [0x549d20], eax
jle 0x49715d
mov eax, dword [0x54b36c]
push 0x549ccc
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x2f70]
push eax
push 0x41e3b4
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x49715d
cmp edi, 0x2e
jne 0x496bb3
mov al, byte [0x549ccd]
cmp al, 9
jne 0x4969cd
call fcn.0049a4b0
jmp 0x496b78
cmp al, 0xcd
jne 0x496a6f
mov al, byte [ebx + 0x3fd]
test al, al
jbe 0x496a49
mov eax, dword [0x549b2c]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x496a07
mov edx, dword [0x549b2c]
push 0x60
push 0x421ec4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x549d20]
dec eax
cmp eax, esi
mov dword [0x549d20], eax
jle 0x496a39
mov eax, dword [0x54b36c]
push 0x549ccc
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e3b4
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
push esi
push 0x3b9ac9ff
call fcn.00460970
jmp 0x49715d
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 0x496b73
cmp al, 0xce
jne 0x496afd
push esi
call fcn.00479250
test ax, ax
je 0x496aef
mov eax, dword [0x549b2c]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x496aaa
mov edx, dword [0x549b2c]
push 0x60
push 0x421ec4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x549d20]
dec eax
cmp eax, esi
mov dword [0x549d20], eax
jle 0x496adc
mov eax, dword [0x54b36c]
push 0x549ccc
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e3b4
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
movzx dx, byte [0x549cd2]
push edx
call fcn.00479250
jmp 0x49715d
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
jmp 0x496b5e
cmp al, 0xd0
jne 0x496b1e
dec dword [0x549d20]
call fcn.00496540
movsx edx, word [0x549cdc]
push edx
call fcn.004a4af0
jmp 0x49715d
cmp al, 0xd1
mov dword [ebp - 0xac], esi
jne 0x496b52
movsx eax, word [0x549cdc]
push eax
call fcn.004d70a0
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 0x496b73
push eax
call fcn.00495c60
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.00496470
mov eax, dword [0x549d20]
dec eax
cmp eax, esi
mov dword [0x549d20], eax
jle 0x49715d
mov eax, dword [0x54b36c]
push 0x549ccc
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x2f70]
push eax
push 0x41e3b4
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x49715d
cmp edi, 0x2f
jne 0x496bcc
push 0x549ccc
call fcn.004962e0
call fcn.00496540
jmp 0x49715d
cmp edi, 0x30
jne 0x496c28
mov al, byte [0x549cd2]
push esi
cmp al, 0xfe
push 0x549ccc
jne 0x496bef
call fcn.004961b0
call fcn.00496540
jmp 0x49715d
call fcn.004961b0
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.00496470
call fcn.00496540
jmp 0x49715d
cmp edi, 0x31
jne 0x496c6c
mov eax, dword [0x54b36c]
push 0x549ccc
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x59a0]
push ecx
push 0x41e3b4
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
movzx dx, byte [0x549ccd]
push 6
push edx
call fcn.004c08d0
push 0xd
call fcn.004306f0
jmp 0x49715d
cmp edi, 0x32
jl 0x496d11
cmp edi, 0x7c
jg 0x496d11
cmp byte [0x549cd5], 1
jne 0x496c8e
mov byte [0x549cd5], 0
push 1
push 0x549ccc
call fcn.00491b00
mov al, byte [0x549ccf]
test al, al
jne 0x496cba
lea eax, [edi + edi*8]
lea ecx, [ebp - 0xa0]
shl eax, 4
lea ebx, [eax + ebx + 0x540]
push ebx
push ecx
jmp 0x496cf2
cmp al, 1
jne 0x496cd5
lea edx, [edi + edi*8]
lea eax, [ebp - 0xa0]
shl edx, 4
lea ebx, [edx + ebx + 0x2f70]
push ebx
push eax
jmp 0x496cf2
cmp al, 2
jne 0x497081
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 0x41e3b4
call esi
push 0x549ccc
push ebx
push 0x41e3b4
call esi
jmp 0x497087
cmp edi, 0x7d
jl 0x496e2d
cmp edi, 0xc7
jg 0x496e2d
mov al, byte [0x549ccf]
test al, al
jne 0x496d96
mov ecx, dword [0x549f74]
mov esi, dword [0x54b364]
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 0x41e3b4
call esi
mov ecx, dword [0x549f74]
push 0x549ccc
mov eax, edi
mov ebx, dword [ecx + 0x14]
mov edx, dword [0x54b364]
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 0x41e3b4
call esi
jmp 0x497087
cmp al, 1
jne 0x496dde
mov ecx, dword [0x549f78]
mov esi, dword [0x54b364]
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 0x41e3b4
call esi
mov ecx, dword [0x549f78]
push 0x549ccc
mov eax, edi
jmp 0x496d71
cmp al, 2
jne 0x497081
mov ecx, dword [0x549f7c]
mov esi, dword [0x54b364]
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 0x41e3b4
call esi
mov ecx, dword [0x549f7c]
push 0x549ccc
mov eax, edi
jmp 0x496d71
cmp edi, 0xc8
jne 0x496e69
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.00496470
push 0x549ccc
call fcn.00494b60
jmp 0x49715d
cmp edi, 0xc9
jl 0x496f03
cmp edi, 0xe1
jg 0x496f03
cmp byte [0x549cd5], 3
jne 0x496e9c
mov edx, dword [0x54b36c]
add edx, 0xffffff1f
push edx
call fcn.004ae3f0
mov eax, dword [0x54b3d8]
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 0x41e3b4
call esi
mov edx, dword [0x54b3d8]
push 0x549ccc
add edx, ebx
push edx
push 0x41e3b4
call esi
mov ecx, dword [0x54b3d8]
lea eax, [edi + edi*8]
shl eax, 4
lea eax, [eax + ecx - 0x7107]
cmp byte [eax], 0
jne 0x496ef2
mov byte [eax], 1
cmp byte [eax], 3
jne 0x497087
mov byte [eax], 2
jmp 0x497087
cmp edi, 0xe2
jl 0x496f2d
cmp edi, 0xff
jg 0x496f2d
cmp word [0x549cdc], 2
jne 0x497081
push 2
call fcn.004ae350
jmp 0x497081
cmp edi, 0x100
jl 0x497081
cmp edi, 0x14a
jg 0x497081
call fcn.004ba570
mov dword [0x549d28], eax
mov al, byte [0x549ccf]
test al, al
jne 0x496f9c
mov ecx, dword [0x54a4a8]
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 0x41e3b4
call esi
mov ecx, dword [0x54a4a8]
push 0x549ccc
mov eax, edi
jmp 0x497024
cmp al, 1
jne 0x496fe1
mov ecx, dword [0x54a4ac]
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 0x41e3b4
call esi
mov ecx, dword [0x54a4ac]
push 0x549ccc
mov eax, edi
jmp 0x497024
cmp al, 2
jne 0x49704a
mov ecx, dword [0x54a4b0]
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 0x41e3b4
call esi
mov ecx, dword [0x54a4b0]
push 0x549ccc
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 0x41e3b4
call esi
mov dword [ebp - 0x44], 0
jmp 0x497087
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
mov dword [ebp - 0x44], 0
jmp 0x497087
mov eax, dword [0x549b2c]
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x497081
mov edx, dword [0x549b2c]
push 0x60
push 0x421ec4
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 0x497156
mov ax, word [ebp - 0x90]
test ax, ax
je 0x497156
cmp word [0x549cdc], ax
jne 0x497100
cmp byte [0x549ccc], 0x12
jbe 0x49711f
mov al, byte [0x549cd5]
test al, al
je 0x4970f5
cmp al, 1
je 0x4970f5
cmp al, 2
jne 0x4970d0
cmp byte [ebp - 0x97], 2
jne 0x49711f
jmp 0x4970dd
cmp al, 3
jne 0x49711f
cmp byte [ebp - 0x97], 1
jbe 0x49711f
mov eax, dword [ebp - 0x4c]
mov ecx, dword [0x549d20]
mov edx, dword [ebp + 0xc]
add ecx, eax
push ecx
push edx
push edi
call fcn.004956b0
jmp 0x49715d
cmp byte [ebp - 0x97], 2
jae 0x49711f
jmp 0x4970dd
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x54b36c]
push eax
push ecx
call fcn.00495820
movsx ebx, ax
test ebx, ebx
jle 0x497125
add ebx, dword [0x549d20]
jmp 0x497125
mov ebx, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
push edx
push 0x549ccc
push 0x41e3b4
call esi
mov esi, dword [ebp + 0xc]
mov eax, dword [0x54b36c]
push edi
push esi
push eax
call fcn.004965b0
test ebx, ebx
jle 0x49715d
push ebx
push esi
push edi
call fcn.004956b0
jmp 0x49715d
push 0
call fcn.00491c30
push 0x497175
lea ecx, [ebp - 0xa0]
push ecx
push 0x41e3b4
call dword [sym.imp.MSVBVM60.DLL___vbaRecDestruct]
ret