Function at 0x418530
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401fb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401618
mov ecx, dword [0x43e020]
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x2c], eax
push ecx
push 0x40dd18
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x50], edi
mov dword [0x43e03c], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x418688
push edi
push 0x3f
push 1
lea edx, [ebp - 0x24]
push 0x11
push edx
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
mov eax, dword [ebp - 0x24]
add esp, 0x1c
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ecx, eax
call esi
mov ecx, dword [ebp - 0x24]
mov ebx, 1
push ecx
push ebx
mov dword [ebp - 0x60], eax
call dword [sym.imp.MSVBVM60.DLL___vbaLbound]
mov ecx, eax
call esi
mov edi, eax
cmp di, word [ebp - 0x60]
jg 0x418632
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x418606
cmp word [eax], 1
jne 0x418606
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movsx esi, di
sub esi, edx
cmp esi, ecx
jb 0x41860e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
jmp 0x41860e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
mov ecx, 0xfe
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0xc]
mov dx, bx
add dx, di
jo 0x418772
mov byte [ecx + esi], al
mov edi, edx
jmp 0x4185dc
push 0
lea ecx, [ebp - 0x50]
push 0x40
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x24]
push ecx
push edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], 0x6011
call dword [sym.imp.MSVBVM60.DLL_rtcStrConvVar2]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
mov ecx, 0x43e020
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [0x43e014], esi
mov dword [0x43e010], 0x24
mov dword [0x43e024], 0x103
mov edx, dword [ecx]
push 0xfffffffffffffffa
push esi
mov dword [0x43e01c], edx
call fcn.0040dd6c
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edi, eax
call esi
call fcn.0040ddc8
mov ebx, eax
call esi
cmp word [ebp + 0xc], 0xffff
push ebx
push edi
jne 0x4186d8
push 0x418bc0
jmp 0x4186dd
push 0x418780
push 5
call fcn.0040de18
mov edi, eax
call esi
push 0x43e010
mov dword [0x43e038], edi
call dword [sym.imp.comdlg32.DLL_ChooseColorA]
xor ecx, ecx
cmp eax, ecx
je 0x418729
mov eax, dword [0x43e01c]
push 0x43e020
mov word [ebp - 0x28], cx
mov dword [ebp - 0x2c], eax
call fcn.0041b9a0
mov edx, eax
mov ecx, 0x43e034
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0x418759
jmp 0x41874c
mov word [ebp - 0x28], 0xffff
mov dword [ebp - 0x2c], ecx
push 0x418759
jmp 0x41874c
lea ecx, [ebp - 0x24]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
push 0x401fb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401630
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
cmp eax, 5
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
jne 0x418b68
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push ecx
push edx
call fcn.0040dea8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp dword [0x43e6a8], ebx
jne 0x418805
push 0x43e6a8
push 0x40ec70
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x43e6a8]
lea ecx, [ebp - 0x4c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x18]
cmp eax, ebx
fnclex
jge 0x41882e
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x18
push 0x40ec60
push esi
push eax
call edi
jmp 0x418834
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x80]
cmp eax, ebx
fnclex
jge 0x41885a
push 0x80
push 0x40ec80
push esi
push eax
call edi
cmp dword [0x43e6a8], ebx
jne 0x418872
push 0x43e6a8
push 0x40ec70
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x43e6a8]
lea eax, [ebp - 0x48]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x18]
cmp eax, ebx
fnclex
jge 0x418893
push 0x18
push 0x40ec60
push esi
push eax
call edi
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x98]
cmp eax, ebx
fnclex
jge 0x4188b9
push 0x98
push 0x40ec80
push esi
push eax
call edi
fld dword [ebp - 0x50]
cmp dword [section..data], 0
jne 0x4188ca
fdiv dword [ebp - 0x54]
jmp 0x4188d2
push dword [ebp - 0x54]
call sub.MSVBVM60.DLL__adj_fdiv_m32
mov ecx, dword [ebp - 0x24]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
cmp dword [section..data], 0
jne 0x4188ec
fdiv dword [0x4012a8]
jmp 0x4188f7
push dword [0x4012a8]
call sub.MSVBVM60.DLL__adj_fdiv_m32
fnstsw ax
test al, 0xd
jne 0x418bae
mov eax, dword [ebp - 0x1c]
sub eax, ecx
jo 0x418bb3
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
cmp dword [section..data], 0
jne 0x41892f
fdiv qword [0x401628]
jmp 0x418940
push dword [0x40162c]
push dword [0x401628]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fsubp st(1)
fnstsw ax
test al, 0xd
jne 0x418bae
call ebx
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x48]
push ecx
push edx
push 2
mov dword [ebp - 0x3c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x43e6a8]
add esp, 0xc
test eax, eax
jne 0x41897d
push 0x43e6a8
push 0x40ec70
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x43e6a8]
lea ecx, [ebp - 0x4c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x18]
test eax, eax
fnclex
jge 0x41899e
push 0x18
push 0x40ec60
push esi
push eax
call edi
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x88]
test eax, eax
fnclex
jge 0x4189c4
push 0x88
push 0x40ec80
push esi
push eax
call edi
mov eax, dword [0x43e6a8]
test eax, eax
jne 0x4189dd
push 0x43e6a8
push 0x40ec70
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x43e6a8]
lea eax, [ebp - 0x48]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x18]
test eax, eax
fnclex
jge 0x4189fe
push 0x18
push 0x40ec60
push esi
push eax
call edi
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x418a1e
push 0x50
push 0x40ec80
push esi
push eax
call edi
fld dword [ebp - 0x50]
cmp dword [section..data], 0
jne 0x418a2f
fdiv dword [ebp - 0x54]
jmp 0x418a37
push dword [ebp - 0x54]
call sub.MSVBVM60.DLL__adj_fdiv_m32
mov ecx, dword [ebp - 0x20]
cmp dword [section..data], 0
jne 0x418a4b
fdiv dword [0x4012a8]
jmp 0x418a56
push dword [0x4012a8]
call sub.MSVBVM60.DLL__adj_fdiv_m32
fnstsw ax
test al, 0xd
jne 0x418bae
mov eax, dword [ebp - 0x18]
sub eax, ecx
jo 0x418bb3
mov dword [ebp - 0x88], eax
fild dword [ebp - 0x88]
fstp qword [ebp - 0x90]
fld qword [ebp - 0x90]
cmp dword [section..data], 0
jne 0x418a94
fdiv qword [0x401628]
jmp 0x418aa5
push dword [0x40162c]
push dword [0x401628]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fsubp st(1)
fnstsw ax
test al, 0xd
jne 0x418bae
call ebx
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x48]
push ecx
push edx
push 2
mov ebx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x43e6a8]
add esp, 0xc
test eax, eax
jne 0x418ae1
push 0x43e6a8
push 0x40ec70
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x43e6a8]
lea ecx, [ebp - 0x48]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x18]
test eax, eax
fnclex
jge 0x418b02
push 0x18
push 0x40ec60
push esi
push eax
call edi
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x50]
test eax, eax
fnclex
jge 0x418b22
push 0x50
push 0x40ec80
push esi
push eax
call edi
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x40]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 0xc]
push 0x15
push 0
push 0
push ebx
push ecx
push 0
push edx
call fcn.0040de60
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [0x43e038]
push eax
call dword [sym.imp.user32.DLL_UnhookWindowsHookEx]
xor ebx, ebx
mov dword [ebp - 0x38], ebx
push 0x418b98
wait
jmp 0x418b97
ret
jmp fcn.00401fbc
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x28
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
cmp eax, 5
mov dword [esp + 0x14], ecx
jne 0x418d85
mov eax, dword [0x43e03c]
push ebx
push ebp
push esi
lea edx, [esp + 0x14]
push edi
push edx
push eax
call fcn.0040dea8
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call esi
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.0040dea8
call esi
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
sub edx, ebp
mov eax, dword [esp + 0x30]
jo 0x418d92
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x28]
fild dword [esp + 0x3c]
sub eax, ebx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
jo 0x418d92
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
cmp dword [section..data], 0
jne 0x418c68
fdiv qword [0x401628]
jmp 0x418c79
push dword [0x40162c]
push dword [0x401628]
call sub.MSVBVM60.DLL__adj_fdiv_m64
mov dword [esp + 0x3c], eax
fild dword [esp + 0x18]
fstp qword [esp + 0x10]
fadd qword [esp + 0x10]
fild dword [esp + 0x3c]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
cmp dword [section..data], 0
jne 0x418ca6
fdiv qword [0x401628]
jmp 0x418cb7
push dword [0x40162c]
push dword [0x401628]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fsubp st(1)
fnstsw ax
test al, 0xd
jne 0x418d8d
call ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub ecx, edx
mov edx, dword [esp + 0x34]
jo 0x418d92
mov dword [esp + 0x3c], ecx
mov ebp, eax
fild dword [esp + 0x3c]
sub edx, dword [esp + 0x2c]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
cmp dword [section..data], 0
jne 0x418d00
fdiv qword [0x401628]
jmp 0x418d11
push dword [0x40162c]
push dword [0x401628]
call sub.MSVBVM60.DLL__adj_fdiv_m64
jo 0x418d92
mov dword [esp + 0x3c], edx
fild dword [esp + 0x1c]
fstp qword [esp + 0x10]
fadd qword [esp + 0x10]
fild dword [esp + 0x3c]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
cmp dword [section..data], 0
jne 0x418d40
fdiv qword [0x401628]
jmp 0x418d51
push dword [0x40162c]
push dword [0x401628]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fsubp st(1)
fnstsw ax
test al, 0xd
jne 0x418d8d
call ebx
push 0x15
push 0
push 0
push eax
push ebp
push 0
push edi
call fcn.0040de60
call esi
mov eax, dword [0x43e038]
push eax
call dword [sym.imp.user32.DLL_UnhookWindowsHookEx]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0xc
xor eax, eax
add esp, 0x28
ret 0xc
jmp fcn.00401fbc
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
xor al, al
ret