Function at 0x494740
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402e50
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 0x4947b7
cmp byte [0x544cc1], 2
jne 0x4947b1
movsx eax, word [0x544cc8]
push eax
call fcn.004ac1a0
jmp 0x4952e4
mov edi, dword [0x546100]
mov eax, dword [0x544b70]
mov edx, dword [0x544f48]
lea ecx, [eax + eax*4]
shl ecx, 0xa
add ecx, eax
cmp edi, 1
lea ebx, [edx + ecx*8]
jl 0x4949e4
cmp edi, 0x1f
jg 0x4949e4
cmp byte [0x544cb8], 0x17
jne 0x4947f7
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00492020
jmp 0x4952e4
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 - 0xdc], eax
add eax, 0xf60
push eax
push edx
push 0x41e2e8
mov dword [ebp - 0xe0], eax
call esi
mov eax, dword [ebp - 0xe0]
push 0x544cb8
push eax
push 0x41e2e8
call esi
mov ecx, dword [ebp - 0xe0]
cmp byte [ecx], 1
jne 0x4948da
mov edx, dword [ebp - 0xdc]
mov al, byte [edx + 0xf64]
cmp al, 0xc
jne 0x494883
cmp byte [ebx + 0x16b4], 4
jbe 0x4948da
lea eax, [ebx + 0x16b0]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0x41e2e8
call esi
push 0x544d48
lea eax, [ebx + 0x16b0]
jmp 0x4948d2
cmp al, 4
jbe 0x4948da
cmp word [ebx + 0x1750], 0
jle 0x4948da
cmp word [ebp - 0x90], 0
lea eax, [ebx + 0x1740]
push eax
jne 0x4948ab
lea ecx, [ebp - 0xa0]
push ecx
jmp 0x4948c0
movsx eax, word [0x54632a]
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x20d0]
push eax
push 0x41e2e8
call esi
push 0x544d48
lea eax, [ebx + 0x1740]
push eax
push 0x41e2e8
call esi
mov ecx, dword [ebp - 0xe0]
cmp byte [ecx], 6
jne 0x494922
cmp byte [ebx + 0x1590], 7
jne 0x494922
lea eax, [ebx + 0x1590]
push eax
mov eax, dword [0x546100]
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x540]
push eax
push 0x41e2e8
call esi
lea eax, [ebx + 0x1590]
push 0x544d48
push eax
push 0x41e2e8
call esi
mov ecx, dword [ebp - 0xe0]
cmp byte [ecx], 7
jne 0x49497f
cmp byte [ebx + 0x1860], 6
jne 0x49497f
cmp word [ebp - 0x90], 0
lea eax, [ebx + 0x1860]
push eax
jne 0x494950
lea edx, [ebp - 0xa0]
push edx
jmp 0x494965
movsx eax, word [0x54632a]
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x20d0]
push ecx
push 0x41e2e8
call esi
lea eax, [ebx + 0x1860]
push 0x544d48
push eax
push 0x41e2e8
call esi
mov edx, dword [ebp - 0xe0]
cmp byte [edx], 2
jne 0x49520e
cmp byte [ebx + 0x16b4], 4
jbe 0x49520e
mov ecx, dword [0x546100]
cmp ecx, 0x31
jle 0x49520e
lea eax, [ebx + 0x16b0]
mov dword [ebp - 0xe4], eax
push eax
lea eax, [ecx + ecx*8]
shl eax, 4
lea ecx, [eax + ebx + 0x540]
push ecx
push 0x41e2e8
call esi
mov edx, dword [ebp - 0xe4]
push 0x544d48
push edx
push 0x41e2e8
call esi
jmp 0x49520e
cmp edi, 0x29
jne 0x494a45
push 0xffffffffffffffff
push 0x544cb8
call fcn.00462a20
test ax, ax
je 0x494a3b
dec dword [0x544d0c]
call fcn.004946d0
cmp byte [0x544cba], 0x1a
jne 0x494a1f
mov ax, word [0x544cc8]
push eax
call fcn.00477b30
jmp 0x495208
mov eax, dword [0x544b28]
push 0x15
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x495208
jmp 0x4951f3
call fcn.004946d0
jmp 0x495208
cmp edi, 0x2a
je 0x4951e0
cmp edi, 0x2b
je 0x4951e0
cmp edi, 0x2c
jne 0x494ac9
mov al, byte [0x544cb9]
push esi
push eax
call fcn.00531580
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.00494600
mov eax, dword [0x544d0c]
dec eax
cmp eax, esi
mov dword [0x544d0c], eax
jle 0x4952e4
mov eax, dword [0x546100]
push 0x544cb8
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e2e8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x4952e4
cmp edi, 0x2d
jne 0x494b41
mov dl, byte [0x544cb9]
push 0xffffffffffffffff
push edx
call fcn.00531580
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.00494600
mov eax, dword [0x544d0c]
dec eax
cmp eax, esi
mov dword [0x544d0c], eax
jle 0x4952e4
mov eax, dword [0x546100]
push 0x544cb8
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x2f70]
push eax
push 0x41e2e8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x4952e4
cmp edi, 0x2e
jne 0x494d43
mov al, byte [0x544cb9]
cmp al, 9
jne 0x494b5d
call fcn.00498620
jmp 0x494d08
cmp al, 0xcd
jne 0x494bff
mov al, byte [ebx + 0x3fd]
test al, al
jbe 0x494bd9
mov eax, dword [0x544b28]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x494b97
mov edx, dword [0x544b28]
push 0x60
push 0x421dc0
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x544d0c]
dec eax
cmp eax, esi
mov dword [0x544d0c], eax
jle 0x494bc9
mov eax, dword [0x546100]
push 0x544cb8
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e2e8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
push esi
push 0x3b9ac9ff
call fcn.0045f760
jmp 0x4952e4
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 0x494d03
cmp al, 0xce
jne 0x494c8d
push esi
call fcn.00477c10
test ax, ax
je 0x494c7f
mov eax, dword [0x544b28]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x494c3a
mov edx, dword [0x544b28]
push 0x60
push 0x421dc0
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x544d0c]
dec eax
cmp eax, esi
mov dword [0x544d0c], eax
jle 0x494c6c
mov eax, dword [0x546100]
push 0x544cb8
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x2f70]
push ecx
push 0x41e2e8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
movzx dx, byte [0x544cbe]
push edx
call fcn.00477c10
jmp 0x4952e4
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
jmp 0x494cee
cmp al, 0xd0
jne 0x494cae
dec dword [0x544d0c]
call fcn.004946d0
movsx edx, word [0x544cc8]
push edx
call fcn.004a2a20
jmp 0x4952e4
cmp al, 0xd1
mov dword [ebp - 0xac], esi
jne 0x494ce2
movsx eax, word [0x544cc8]
push eax
call fcn.004d4a20
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 0x494d03
push eax
call fcn.00493e50
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.00494600
mov eax, dword [0x544d0c]
dec eax
cmp eax, esi
mov dword [0x544d0c], eax
jle 0x4952e4
mov eax, dword [0x546100]
push 0x544cb8
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x2f70]
push eax
push 0x41e2e8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
jmp 0x4952e4
cmp edi, 0x2f
jne 0x494d5c
push 0x544cb8
call fcn.00494470
call fcn.004946d0
jmp 0x4952e4
cmp edi, 0x30
jne 0x494daf
push 0x544cbc
push 0x544cb9
push 0x544cbe
call fcn.004943a0
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.00494600
dec dword [0x544d0c]
call fcn.004946d0
jmp 0x4952e4
cmp edi, 0x31
jne 0x494df3
mov eax, dword [0x546100]
push 0x544cb8
lea eax, [eax + eax*8]
shl eax, 4
lea ecx, [eax + ebx + 0x59a0]
push ecx
push 0x41e2e8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
movzx dx, byte [0x544cb9]
push 6
push edx
call fcn.004be120
push 0xd
call fcn.0042f980
jmp 0x4952e4
cmp edi, 0x32
jl 0x494e98
cmp edi, 0x7c
jg 0x494e98
cmp byte [0x544cc1], 1
jne 0x494e15
mov byte [0x544cc1], 0
push 1
push 0x544cb8
call fcn.0048ff00
mov al, byte [0x544cbb]
test al, al
jne 0x494e41
lea eax, [edi + edi*8]
lea ecx, [ebp - 0xa0]
shl eax, 4
lea ebx, [eax + ebx + 0x540]
push ebx
push ecx
jmp 0x494e79
cmp al, 1
jne 0x494e5c
lea edx, [edi + edi*8]
lea eax, [ebp - 0xa0]
shl edx, 4
lea ebx, [edx + ebx + 0x2f70]
push ebx
push eax
jmp 0x494e79
cmp al, 2
jne 0x495208
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 0x41e2e8
call esi
push 0x544cb8
push ebx
push 0x41e2e8
call esi
jmp 0x49520e
cmp edi, 0x7d
jl 0x494fb4
cmp edi, 0xc7
jg 0x494fb4
mov al, byte [0x544cbb]
test al, al
jne 0x494f1d
mov ecx, dword [0x544f54]
mov esi, dword [0x5460f8]
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 0x41e2e8
call esi
mov ecx, dword [0x544f54]
push 0x544cb8
mov eax, edi
mov ebx, dword [ecx + 0x14]
mov edx, dword [0x5460f8]
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 0x41e2e8
call esi
jmp 0x49520e
cmp al, 1
jne 0x494f65
mov ecx, dword [0x544f58]
mov esi, dword [0x5460f8]
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 0x41e2e8
call esi
mov ecx, dword [0x544f58]
push 0x544cb8
mov eax, edi
jmp 0x494ef8
cmp al, 2
jne 0x495208
mov ecx, dword [0x544f5c]
mov esi, dword [0x5460f8]
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 0x41e2e8
call esi
mov ecx, dword [0x544f5c]
push 0x544cb8
mov eax, edi
jmp 0x494ef8
cmp edi, 0xc8
jne 0x494ff0
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.00494600
push 0x544cb8
call fcn.00492d50
jmp 0x4952e4
cmp edi, 0xc9
jl 0x49508a
cmp edi, 0xe1
jg 0x49508a
cmp byte [0x544cc1], 3
jne 0x495023
mov edx, dword [0x546100]
add edx, 0xffffff1f
push edx
call fcn.004ac240
mov eax, dword [0x54616c]
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 0x41e2e8
call esi
mov edx, dword [0x54616c]
push 0x544cb8
add edx, ebx
push edx
push 0x41e2e8
call esi
mov ecx, dword [0x54616c]
lea eax, [edi + edi*8]
shl eax, 4
lea eax, [eax + ecx - 0x7107]
cmp byte [eax], 0
jne 0x495079
mov byte [eax], 1
cmp byte [eax], 3
jne 0x49520e
mov byte [eax], 2
jmp 0x49520e
cmp edi, 0xe2
jl 0x4950b4
cmp edi, 0xff
jg 0x4950b4
cmp word [0x544cc8], 2
jne 0x495208
push 2
call fcn.004ac1a0
jmp 0x495208
cmp edi, 0x100
jl 0x495208
cmp edi, 0x14a
jg 0x495208
call fcn.004b82b0
mov dword [0x544d14], eax
mov al, byte [0x544cbb]
test al, al
jne 0x495123
mov ecx, dword [0x545488]
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 0x41e2e8
call esi
mov ecx, dword [0x545488]
push 0x544cb8
mov eax, edi
jmp 0x4951ab
cmp al, 1
jne 0x495168
mov ecx, dword [0x54548c]
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 0x41e2e8
call esi
mov ecx, dword [0x54548c]
push 0x544cb8
mov eax, edi
jmp 0x4951ab
cmp al, 2
jne 0x4951d1
mov ecx, dword [0x545490]
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 0x41e2e8
call esi
mov ecx, dword [0x545490]
push 0x544cb8
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 0x41e2e8
call esi
mov dword [ebp - 0x44], 0
jmp 0x49520e
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
mov dword [ebp - 0x44], 0
jmp 0x49520e
mov eax, dword [0x544b28]
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp eax, esi
fnclex
jge 0x495208
mov edx, dword [0x544b28]
push 0x60
push 0x421dc0
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 0x4952dd
mov ax, word [ebp - 0x90]
test ax, ax
je 0x4952dd
cmp word [0x544cc8], ax
jne 0x495287
cmp byte [0x544cb8], 0x12
jbe 0x4952a6
mov al, byte [0x544cc1]
test al, al
je 0x49527c
cmp al, 1
je 0x49527c
cmp al, 2
jne 0x495257
cmp byte [ebp - 0x97], 2
jne 0x4952a6
jmp 0x495264
cmp al, 3
jne 0x4952a6
cmp byte [ebp - 0x97], 1
jbe 0x4952a6
mov eax, dword [ebp - 0x4c]
mov ecx, dword [0x544d0c]
mov edx, dword [ebp + 0xc]
add ecx, eax
push ecx
push edx
push edi
call fcn.004938a0
jmp 0x4952e4
cmp byte [ebp - 0x97], 2
jae 0x4952a6
jmp 0x495264
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x546100]
push eax
push ecx
call fcn.00493a10
movsx ebx, ax
test ebx, ebx
jle 0x4952ac
add ebx, dword [0x544d0c]
jmp 0x4952ac
mov ebx, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
push edx
push 0x544cb8
push 0x41e2e8
call esi
mov esi, dword [ebp + 0xc]
mov eax, dword [0x546100]
push edi
push esi
push eax
call fcn.00494740
test ebx, ebx
jle 0x4952e4
push ebx
push esi
push edi
call fcn.004938a0
jmp 0x4952e4
push 0
call fcn.00490030
push 0x4952fc
lea ecx, [ebp - 0xa0]
push ecx
push 0x41e2e8
call dword [sym.imp.MSVBVM60.DLL___vbaRecDestruct]
ret